Re: check_http nagios plugin
Brian Kolaci <[email protected]> Mon, 8 May 2017 20:25:40 -0400
| Newsgroups | gmane.network.nagios.devel |
|---|---|
| Message-ID | <A78610EE-8761-4045-AEF1-028E3642F28A__21957.9768753194$1494316719$gmane$org@galaxy.net> |
--Apple-Mail=_CBFF6508-9224-4A4E-B1C5-4E51A6432DC9 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 I found the git repositories. I compiled the latest and it still = didn=E2=80=99t 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 <[email protected]> wrote: >=20 > Hi, >=20 > 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: >=20 >=20 > /usr/lib/nagios/plugins/check_http -I 10.10.1.123 -p 5555 -N -a = user:password > Segmentation fault >=20 > 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. >=20 > 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. >=20 > the header coming back from the =E2=80=94help option is: >=20 > check_http v2.1.4 (nagios-plugins 2.1.4) > Copyright (c) 1999 Ethan Galstad <[email protected] = <mailto:[email protected]>> > Copyright (c) 1999-2014 Nagios Plugin Development Team > <[email protected] <mailto:[email protected]>> >=20 > Thanks! >=20 > Brian >=20 --Apple-Mail=_CBFF6508-9224-4A4E-B1C5-4E51A6432DC9 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""><div class=3D"">I found the git repositories. I = compiled the latest and it still didn=E2=80=99t work. Actually = timed out all the time.</div><div class=3D"">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.</div><div class=3D""><br= class=3D""></div><br class=3D""><div><blockquote type=3D"cite" = class=3D""><div class=3D"">On May 8, 2017, at 4:33 PM, Brian Kolaci = <<a href=3D"mailto:[email protected]" class=3D"">[email protected]</a>> = wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><meta = http-equiv=3D"Content-Type" content=3D"text/html charset=3Dutf-8" = class=3D""><div 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. 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. 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.</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 <<a href=3D"mailto:[email protected]" = class=3D"">[email protected]</a>></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><<a = href=3D"mailto:[email protected]" = class=3D"">[email protected]</a>></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></div></div></blockquote></div><br = class=3D""></body></html>= --Apple-Mail=_CBFF6508-9224-4A4E-B1C5-4E51A6432DC9--