check_http nagios plugin

Brian Kolaci <[email protected]> Mon, 8 May 2017 16:33:37 -0400
Newsgroups gmane.network.nagios.devel,gmane.network.monitoring.plugins.devel
Message-ID <[email protected]>
--Apple-Mail=_FBF82125-F426-448B-8D55-6D06D55BE28D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi,

I just updated nagios from 3.3 on solaris to 3.5.1 on centos 6 linux.
I=E2=80=99m 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=E2=80=A6
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 =E2=80=94help option is:

check_http v2.1.4 (nagios-plugins 2.1.4)
Copyright (c) 1999 Ethan Galstad <[email protected]>
Copyright (c) 1999-2014 Nagios Plugin Development Team
	<[email protected]>

Thanks!

Brian


--Apple-Mail=_FBF82125-F426-448B-8D55-6D06D55BE28D
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Hi,<div class=3D""><br class=3D""></div><div class=3D"">I =
just updated nagios from 3.3 on solaris to 3.5.1 on centos 6 =
linux.</div><div class=3D"">I=E2=80=99m noticing a crash in this version =
of check_http when called as follows:</div><div class=3D""><br =
class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D"">/usr/lib/nagios/plugins/check_http -I 10.10.1.123 -p 5555 -N =
-a user:password</div><div class=3D""><div style=3D"margin: 0px; =
font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">Segmentation fault</span></div></div><div class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D""><br =
class=3D""></span></div><div class=3D"">The page is rather large and =
takes a long time to download.</div><div class=3D"">When I remove the -N =
option, it then times out. &nbsp;If I go with a web page, it does take =
minutes to load the page.</div><div class=3D"">Its a monitoring page for =
the ASSP mail scanning service.</div><div class=3D""><br =
class=3D""></div><div class=3D"">But it used to work=E2=80=A6</div><div =
class=3D"">I installed this from EPEL. &nbsp;So perhaps I need a newer =
version of the code. &nbsp;If you can direct me where to get it, I can =
try downloading/compiling/install.</div><div class=3D""><br =
class=3D""></div><div class=3D"">the header coming back from the =E2=80=94=
help option is:</div><div class=3D""><br class=3D""></div><div =
class=3D""><div style=3D"margin: 0px; font-size: 11px; line-height: =
normal; font-family: Menlo; background-color: rgb(255, 255, 255);" =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">check_http v2.1.4 (nagios-plugins 2.1.4)</span></div><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">Copyright=
 (c) 1999 Ethan Galstad &lt;<a href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt;</span></div><div style=3D"margin: =
0px; font-size: 11px; line-height: normal; font-family: Menlo; =
background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D"">Copyright=
 (c) 1999-2014 Nagios Plugin Development Team</span></div><div =
style=3D"margin: 0px; font-size: 11px; line-height: normal; font-family: =
Menlo; background-color: rgb(255, 255, 255);" class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D""><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>&lt;<a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt;</span></div></div><div =
class=3D""><span style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D""><br class=3D""></span></div><div class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">Thanks!</span></div><div class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D""><br =
class=3D""></span></div><div class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" =
class=3D"">Brian</span></div><div class=3D""><span =
style=3D"font-variant-ligatures: no-common-ligatures" class=3D""><br =
class=3D""></span></div></body></html>=

--Apple-Mail=_FBF82125-F426-448B-8D55-6D06D55BE28D--