Re: Q: problem with status.cgi
Scott VR <[email protected]> Sat, 21 Sep 2013 12:30:29 -0500
| Newsgroups | gmane.network.nagios.user |
|---|---|
| Message-ID | <CAK-oDO8rAGsLX9QdeW=EJbzOFveWmd_cc38vvoyARhi8Hy_+GA@mail.gmail.com> |
--===============2573094458824220253== Content-Type: multipart/alternative; boundary=001a11c3a8ccbbf63e04e6e824e8 --001a11c3a8ccbbf63e04e6e824e8 Content-Type: text/plain; charset=ISO-8859-1 Is it the type=detail that makes the difference? What happens if you add &type=detail to one of the URLs you list as producing blank tables? On Sep 19, 2013 1:27 PM, "John Nyhuis" <[email protected]> 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 > [email protected] > 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 > --001a11c3a8ccbbf63e04e6e824e8 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable <p dir=3D"ltr">Is it the type=3Ddetail that makes the difference? What happ= ens if you add &type=3Ddetail to one of the URLs you list as producing = blank tables?</p> <div class=3D"gmail_quote">On Sep 19, 2013 1:27 PM, "John Nyhuis"= <<a href=3D"mailto:[email protected]">[email protected]</a>> wrote:<br typ= e=3D"attribution"><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .= 8ex;border-left:1px #ccc solid;padding-left:1ex"> Hi All,<br> <br> Problem:<br> In nagios, links under Service Status Totals and Host Status Totals, when c= licked on, result in a blank table for warning / unknown / critical.<br> <br> Example: These links produce blank tables:<br> <a href=3D"http://notsure/nagios/cgi-bin/status.cgi?host=3Dall&services= tatustypes=3D16&hoststatustypes=3D3" target=3D"_blank">http://notsure/n= agios/cgi-bin/status.cgi?host=3Dall&servicestatustypes=3D16&hoststa= tustypes=3D3</a><br> <a href=3D"http://notsure/nagios/cgi-bin/status.cgi?host=3Dall&services= tatustypes=3D8&hoststatustypes=3D3" target=3D"_blank">http://notsure/na= gios/cgi-bin/status.cgi?host=3Dall&servicestatustypes=3D8&hoststatu= stypes=3D3</a><br> <a href=3D"http://notsure/nagios/cgi-bin/status.cgi?host=3Dall&services= tatustypes=3D4&hoststatustypes=3D3" target=3D"_blank">http://notsure/na= gios/cgi-bin/status.cgi?host=3Dall&servicestatustypes=3D4&hoststatu= stypes=3D3</a><br> <br> These links produce populated tables:<br> <a href=3D"http://notsure/nagios/cgi-bin/status.cgi?host=3Dall&type=3Dd= etail&servicestatustypes=3D16&hoststatustypes=3D12" target=3D"_blan= k">http://notsure/nagios/cgi-bin/status.cgi?host=3Dall&type=3Ddetail&am= p;servicestatustypes=3D16&hoststatustypes=3D12</a><br> <a href=3D"http://notsure/nagios/cgi-bin/status.cgi?host=3Dall&type=3Dd= etail&servicestatustypes=3D8&hoststatustypes=3D3&serviceprops= =3D42" target=3D"_blank">http://notsure/nagios/cgi-bin/status.cgi?host=3Dal= l&type=3Ddetail&servicestatustypes=3D8&hoststatustypes=3D3&= serviceprops=3D42</a><br> <a href=3D"http://notsure/nagios/cgi-bin/status.cgi?host=3Dall&type=3Dd= etail&servicestatustypes=3D4&hoststatustypes=3D3&serviceprops= =3D42" target=3D"_blank">http://notsure/nagios/cgi-bin/status.cgi?host=3Dal= l&type=3Ddetail&servicestatustypes=3D4&hoststatustypes=3D3&= serviceprops=3D42</a><br> <br> 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.<br> <br> I am running nagios 3.5.0 on RHEL 6.4<br> nagios-3.5.0-1.el6.x86_64<br> nagios-common-3.5.0-1.el6.x86_64<br> <br> There are no errors in the nagios or apache logs, it simply does not displa= y the results.<br> Anyone have any ideas on how to fix this?<br> <br> --<br> <br> <br> Thanks,<br> John Nyhuis<br> IT Manager, Stam Lab<br> 2211 Elliott Avenue<br> 6th Floor, 6S139<br> Seattle, WA 98121<br> O: (206)-267-1097 ext 220<br> F: (206)-441-3033<br> <br> ---------------------------------------------------------------------------= ---<br> LIMITED TIME SALE - Full Year of Microsoft Training For Just $49.99!<br> 1,500+ hours of tutorials including VisualStudio 2012, Windows 8, SharePoin= t<br> 2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack inclu= des<br> Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.<br> <a href=3D"http://pubads.g.doubleclick.net/gampad/clk?id=3D58041151&iu= =3D/4140/ostg.clktrk" target=3D"_blank">http://pubads.g.doubleclick.net/gam= pad/clk?id=3D58041151&iu=3D/4140/ostg.clktrk</a><br> _______________________________________________<br> Nagios-users mailing list<br> <a href=3D"mailto:[email protected]">[email protected]= urceforge.net</a><br> <a href=3D"https://lists.sourceforge.net/lists/listinfo/nagios-users" targe= t=3D"_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><= br> ::: Please include Nagios version, plugin version (-v) and OS when reportin= g any issue.<br> ::: Messages without supporting info will risk being sent to /dev/null<br> </blockquote></div> --001a11c3a8ccbbf63e04e6e824e8-- --===============2573094458824220253== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline ------------------------------------------------------------------------------ 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 --===============2573094458824220253== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Nagios-users mailing list [email protected] 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 --===============2573094458824220253==--