From bk at galaxy.net Mon May 8 22:33:37 2017 From: bk at galaxy.net (Brian Kolaci) Date: Mon, 8 May 2017 16:33:37 -0400 Subject: check_http nagios plugin Message-ID: <1CAAE1E3-0E5D-4444-903B-05661F80106D@galaxy.net> Hi, I just updated nagios from 3.3 on solaris to 3.5.1 on centos 6 linux. I?m noticing a crash in this version of check_http when called as follows: /usr/lib/nagios/plugins/check_http -I 10.10.1.123 -p 5555 -N -a user:password Segmentation fault The page is rather large and takes a long time to download. When I remove the -N option, it then times out. If I go with a web page, it does take minutes to load the page. Its a monitoring page for the ASSP mail scanning service. But it used to work? I installed this from EPEL. So perhaps I need a newer version of the code. If you can direct me where to get it, I can try downloading/compiling/install. the header coming back from the ?help option is: check_http v2.1.4 (nagios-plugins 2.1.4) Copyright (c) 1999 Ethan Galstad Copyright (c) 1999-2014 Nagios Plugin Development Team Thanks! Brian -------------- next part -------------- An HTML attachment was scrubbed... URL: From bk at galaxy.net Tue May 9 02:25:40 2017 From: bk at galaxy.net (Brian Kolaci) Date: Mon, 8 May 2017 20:25:40 -0400 Subject: check_http nagios plugin In-Reply-To: <1CAAE1E3-0E5D-4444-903B-05661F80106D@galaxy.net> References: <1CAAE1E3-0E5D-4444-903B-05661F80106D@galaxy.net> Message-ID: I found the git repositories. I compiled the latest and it still didn?t work. Actually timed out all the time. I was able to locate the 2.1 version in git, recompile that and it works again. So there appears to be an issue with only the 2.2 version. > On May 8, 2017, at 4:33 PM, Brian Kolaci wrote: > > Hi, > > I just updated nagios from 3.3 on solaris to 3.5.1 on centos 6 linux. > I?m noticing a crash in this version of check_http when called as follows: > > > /usr/lib/nagios/plugins/check_http -I 10.10.1.123 -p 5555 -N -a user:password > Segmentation fault > > The page is rather large and takes a long time to download. > When I remove the -N option, it then times out. If I go with a web page, it does take minutes to load the page. > Its a monitoring page for the ASSP mail scanning service. > > But it used to work? > I installed this from EPEL. So perhaps I need a newer version of the code. If you can direct me where to get it, I can try downloading/compiling/install. > > the header coming back from the ?help option is: > > check_http v2.1.4 (nagios-plugins 2.1.4) > Copyright (c) 1999 Ethan Galstad > > Copyright (c) 1999-2014 Nagios Plugin Development Team > > > > Thanks! > > Brian > -------------- next part -------------- An HTML attachment was scrubbed... URL: