Q: problem with status.cgi
Scott Wilkerson
swilkerson at nagios.com
Sat Sep 21 14:32:15 CEST 2013
This looks like apache is delivering data, the number after the 200 is
how many bytes were delivered to the browser.
Scott Wilkerson
Information Technology Manager
___
Email: swilkerson at nagios.com
Web: www.nagios.com
On 9/20/2013 12:54 PM, John N. wrote:
>
> Tailing the apache access logs shows that apache successfully delivers
> content from Nagios to the browser (status 200). The content just
> happens to be empty when it should contain data.
>
> Am I correct in assuming that this is an issue internal to
> status.cgi? Perhaps this is a bug?
>
> 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:12 -0700] "GET
> /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3
> HTTP/1.1" 200 *18011 *"-" "Mozilla/5.0 (Windows NT 5.1; rv:20.0)
> Gecko/20100101 Firefox/20.0"
>
> 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:13 -0700] "GET
> /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3
> HTTP/1.1" 200 *9100
> *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3"
> "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0"
>
> 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:42 -0700] "GET
> /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3
> HTTP/1.1" 200 *18011
> *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3"
> "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0"
>
> 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:45 -0700] "GET
> /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=3
> HTTP/1.1" 200 *12097
> *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3"
> "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0"
>
> 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:47 -0700] "GET
> /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3
> HTTP/1.1" 200 *9100
> *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=3"
> "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0"
>
> 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:48 -0700] "GET
> /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3
> HTTP/1.1" 200 *9100
> *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3"
> "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0"
>
> 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:49 -0700] "GET
> /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4
> HTTP/1.1" 200 *15127
> *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3"
> "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0"
>
> 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:52 -0700] "GET
> /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4
> HTTP/1.1" 200 *15127
> *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4"
> "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0"
>
> 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:54 -0700] "GET
> /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4
> HTTP/1.1" 200 *15127
> *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4"
> "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0"
>
> 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:56 -0700] "GET
> /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=4
> HTTP/1.1" 200 *9072
> *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4"
> "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0"
>
> 172.16.0.86 - jnyhuis [20/Sep/2013:10:50:58 -0700] "GET
> /nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=4
> HTTP/1.1" 200 *9072
> *"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=4"
> "Mozilla/5.0 (Windows NT 5.1; rv:20.0) Gecko/20100101 Firefox/20.0"
>
> Thanks,
>
> John Nyhuis
>
> IT Manager, Stam Lab
>
> 2211 Elliott Avenue
>
> 6th Floor, 6S139
>
> Seattle, WA 98121
>
> O: (206)-267-1097 ext 220
>
> F: (206)-441-3033
>
> *From:*John N. [mailto:jnyhuis at uw.edu]
> *Sent:* Friday, September 20, 2013 10:29 AM
> *To:* 'Nagios Users List'
> *Subject:* Re: [Nagios-users] Q: problem with status.cgi
>
> Both are installed.
>
> gd-2.0.35-11.el6.x86_64
>
> gd-devel-2.0.35-11.el6.x86_64
>
> Thanks,
>
> John Nyhuis
>
> IT Manager, Stam Lab
>
> 2211 Elliott Avenue
>
> 6th Floor, 6S139
>
> Seattle, WA 98121
>
> O: (206)-267-1097 ext 220
>
> F: (206)-441-3033
>
> *From:*davor grgicevic [mailto:dgrgicevic at gmail.com]
> *Sent:* Thursday, September 19, 2013 1:42 PM
> *To:* Nagios Users List
> *Subject:* Re: [Nagios-users] Q: problem with status.cgi
>
> did you install gd & gd-devel
>
> davor
>
> On Thu, Sep 19, 2013 at 8:19 PM, John Nyhuis <jnyhuis at uw.edu
> <mailto:jnyhuis at uw.edu>> wrote:
>
> Hi All,
>
> Problem:
> In nagios, links under Service Status Totals and Host Status Totals,
> when clicked on, result in a blank table for warning / unknown / critical.
>
> Example: These links produce blank tables:
> http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3
> http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=3
> http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3
>
> These links produce populated tables:
> http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=16&hoststatustypes=12
> http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=8&hoststatustypes=3&serviceprops=42
> http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=4&hoststatustypes=3&serviceprops=42
>
> Unfortunately, status.cgi is a binary, so I can't edit it to change
> the former to the latter in the code to make this work.
>
> I am running nagios 3.5.0 on RHEL 6.4
> nagios-3.5.0-1.el6.x86_64
> nagios-common-3.5.0-1.el6.x86_64
>
> There are no errors in the nagios or apache logs, it simply does not
> display the results.
> Anyone have any ideas on how to fix this?
>
> --
>
>
> Thanks,
> John Nyhuis
> IT Manager, Stam Lab
> 2211 Elliott Avenue
> 6th Floor, 6S139
> Seattle, WA 98121
> O: (206)-267-1097 ext 220
> F: (206)-441-3033
>
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8,
> SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack
> includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> <mailto:Nagios-users at lists.sourceforge.net>
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when
> reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
>
>
>
>
> --
> Davor Grgicevic
>
>
>
> ------------------------------------------------------------------------------
> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.
> http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
>
>
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users
> ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
> ::: Messages without supporting info will risk being sent to /dev/null
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20130921/b184f26e/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!
1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoint
2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes
Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/22/13.
http://pubads.g.doubleclick.net/gampad/clk?id=64545871&iu=/4140/ostg.clktrk
-------------- next part --------------
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list