Re: Q: problem with status.cgi

davor grgicevic <[email protected]> Thu, 19 Sep 2013 22:42:17 +0200
Newsgroups gmane.network.nagios.user
Message-ID <CAN=_NHUdEgeViDEg-Zk9R1=oYh-hQ6JNbhqsGA1YLOi9MOU34A@mail.gmail.com>
--===============5205501183187287113==
Content-Type: multipart/alternative; boundary=001a11c38122f9c8c704e6c296f6

--001a11c38122f9c8c704e6c296f6
Content-Type: text/plain; charset=UTF-8

did you install gd  & gd-devel

davor


On Thu, Sep 19, 2013 at 8:19 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
>



-- 
Davor Grgicevic

--001a11c38122f9c8c704e6c296f6
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>did you install gd=C2=A0 &amp; gd-devel<br><br></div>=
davor<br></div><div class=3D"gmail_extra"><br><br><div class=3D"gmail_quote=
">On Thu, Sep 19, 2013 at 8:19 PM, John Nyhuis <span dir=3D"ltr">&lt;<a hre=
f=3D"mailto:[email protected]" target=3D"_blank">[email protected]</a>&gt;</span>=
 wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1p=
x #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&amp;services=
tatustypes=3D16&amp;hoststatustypes=3D3" target=3D"_blank">http://notsure/n=
agios/cgi-bin/status.cgi?host=3Dall&amp;servicestatustypes=3D16&amp;hoststa=
tustypes=3D3</a><br>

<a href=3D"http://notsure/nagios/cgi-bin/status.cgi?host=3Dall&amp;services=
tatustypes=3D8&amp;hoststatustypes=3D3" target=3D"_blank">http://notsure/na=
gios/cgi-bin/status.cgi?host=3Dall&amp;servicestatustypes=3D8&amp;hoststatu=
stypes=3D3</a><br>

<a href=3D"http://notsure/nagios/cgi-bin/status.cgi?host=3Dall&amp;services=
tatustypes=3D4&amp;hoststatustypes=3D3" target=3D"_blank">http://notsure/na=
gios/cgi-bin/status.cgi?host=3Dall&amp;servicestatustypes=3D4&amp;hoststatu=
stypes=3D3</a><br>

<br>
These links produce populated tables:<br>
<a href=3D"http://notsure/nagios/cgi-bin/status.cgi?host=3Dall&amp;type=3Dd=
etail&amp;servicestatustypes=3D16&amp;hoststatustypes=3D12" target=3D"_blan=
k">http://notsure/nagios/cgi-bin/status.cgi?host=3Dall&amp;type=3Ddetail&am=
p;servicestatustypes=3D16&amp;hoststatustypes=3D12</a><br>

<a href=3D"http://notsure/nagios/cgi-bin/status.cgi?host=3Dall&amp;type=3Dd=
etail&amp;servicestatustypes=3D8&amp;hoststatustypes=3D3&amp;serviceprops=
=3D42" target=3D"_blank">http://notsure/nagios/cgi-bin/status.cgi?host=3Dal=
l&amp;type=3Ddetail&amp;servicestatustypes=3D8&amp;hoststatustypes=3D3&amp;=
serviceprops=3D42</a><br>

<a href=3D"http://notsure/nagios/cgi-bin/status.cgi?host=3Dall&amp;type=3Dd=
etail&amp;servicestatustypes=3D4&amp;hoststatustypes=3D3&amp;serviceprops=
=3D42" target=3D"_blank">http://notsure/nagios/cgi-bin/status.cgi?host=3Dal=
l&amp;type=3Ddetail&amp;servicestatustypes=3D4&amp;hoststatustypes=3D3&amp;=
serviceprops=3D42</a><br>

<br>
Unfortunately, status.cgi is a binary, so I can&#39;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&amp;iu=
=3D/4140/ostg.clktrk" target=3D"_blank">http://pubads.g.doubleclick.net/gam=
pad/clk?id=3D58041151&amp;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><br><br clear=3D"all"><br>-- <br>Davor Grgicevic
</div>

--001a11c38122f9c8c704e6c296f6--


--===============5205501183187287113==
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/20/13. 
http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk
--===============5205501183187287113==
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
--===============5205501183187287113==--