<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40"><head><meta http-equiv=Content-Type content="text/html; charset=utf-8"><meta name=Generator content="Microsoft Word 14 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--></head><body lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Am I correct in assuming that this is an issue internal to status.cgi?  Perhaps this is a bug?<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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"<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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"<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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"<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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"<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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"<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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"<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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"<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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"<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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"<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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"<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>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"<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>John Nyhuis<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>IT Manager, Stam Lab<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2211 Elliott Avenue<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>6th Floor, 6S139<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Seattle, WA 98121<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>O: (206)-267-1097 ext 220<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>F: (206)-441-3033<o:p></o:p></span></p></div><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><div><div style='border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in'><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> John N. [mailto:jnyhuis@uw.edu] <br><b>Sent:</b> Friday, September 20, 2013 10:29 AM<br><b>To:</b> 'Nagios Users List'<br><b>Subject:</b> Re: [Nagios-users] Q: problem with status.cgi<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p> </o:p></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Both are installed.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>gd-2.0.35-11.el6.x86_64<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>gd-devel-2.0.35-11.el6.x86_64<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Thanks,<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>John Nyhuis<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>IT Manager, Stam Lab<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>2211 Elliott Avenue<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>6th Floor, 6S139<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>Seattle, WA 98121<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>O: (206)-267-1097 ext 220<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'>F: (206)-441-3033<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><o:p> </o:p></span></p><p class=MsoNormal><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> davor grgicevic [<a href="mailto:dgrgicevic@gmail.com">mailto:dgrgicevic@gmail.com</a>] <br><b>Sent:</b> Thursday, September 19, 2013 1:42 PM<br><b>To:</b> Nagios Users List<br><b>Subject:</b> Re: [Nagios-users] Q: problem with status.cgi<o:p></o:p></span></p><p class=MsoNormal><o:p> </o:p></p><div><div><p class=MsoNormal style='margin-bottom:12.0pt'>did you install gd  & gd-devel<o:p></o:p></p></div><p class=MsoNormal>davor<o:p></o:p></p></div><div><p class=MsoNormal style='margin-bottom:12.0pt'><o:p> </o:p></p><div><p class=MsoNormal>On Thu, Sep 19, 2013 at 8:19 PM, John Nyhuis <<a href="mailto:jnyhuis@uw.edu" target="_blank">jnyhuis@uw.edu</a>> wrote:<o:p></o:p></p><p class=MsoNormal>Hi All,<br><br>Problem:<br>In nagios, links under Service Status Totals and Host Status Totals, when clicked on, result in a blank table for warning / unknown / critical.<br><br>Example: These links produce blank tables:<br><a href="http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3" target="_blank">http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3</a><br><a href="http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=3" target="_blank">http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=3</a><br><a href="http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3" target="_blank">http://notsure/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3</a><br><br>These links produce populated tables:<br><a href="http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=16&hoststatustypes=12" target="_blank">http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=16&hoststatustypes=12</a><br><a href="http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=8&hoststatustypes=3&serviceprops=42" target="_blank">http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=8&hoststatustypes=3&serviceprops=42</a><br><a href="http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=4&hoststatustypes=3&serviceprops=42" target="_blank">http://notsure/nagios/cgi-bin/status.cgi?host=all&type=detail&servicestatustypes=4&hoststatustypes=3&serviceprops=42</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 display 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, SharePoint<br>2013, SQL 2012, MVC 4, more. BEST VALUE: New Multi-Library Power Pack includes<br>Mobile, Cloud, Java, and UX Design. Lowest price ever! Ends 9/20/13.<br><a href="http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk" target="_blank">http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk</a><br>_______________________________________________<br>Nagios-users mailing list<br><a href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br><a href="https://lists.sourceforge.net/lists/listinfo/nagios-users" target="_blank">https://lists.sourceforge.net/lists/listinfo/nagios-users</a><br>::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.<br>::: Messages without supporting info will risk being sent to /dev/null<o:p></o:p></p></div><p class=MsoNormal><br><br clear=all><br>-- <br>Davor Grgicevic <o:p></o:p></p></div></div></body></html>