<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#FFFFFF">
<div class="moz-cite-prefix">This looks like apache is delivering
data, the number after the 200 is how many bytes were delivered to
the browser.<br>
<pre class="moz-signature" cols="72">Scott Wilkerson
Information Technology Manager
___
Email: <a class="moz-txt-link-abbreviated" href="mailto:swilkerson@nagios.com">swilkerson@nagios.com</a>
Web: <a class="moz-txt-link-abbreviated" href="http://www.nagios.com">www.nagios.com</a>
</pre>
On 9/20/2013 12:54 PM, John N. wrote:<br>
</div>
<blockquote cite="mid:00dd01ceb62a$868b97a0$93a2c6e0$@uw.edu"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<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]-->
<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 <b>18011 </b>"-" "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 <b>9100 </b><a class="moz-txt-link-rfc2396E" href="http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3">"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3"</a>
"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 <b>18011 </b><a class="moz-txt-link-rfc2396E" href="http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3">"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3"</a>
"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 <b>12097 </b><a class="moz-txt-link-rfc2396E" href="http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3">"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=4&hoststatustypes=3"</a>
"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 <b>9100 </b><a class="moz-txt-link-rfc2396E" href="http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=3">"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=3"</a>
"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 <b>9100 </b><a class="moz-txt-link-rfc2396E" href="http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3">"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3"</a>
"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 <b>15127 </b><a class="moz-txt-link-rfc2396E" href="http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3">"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=3"</a>
"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 <b>15127 </b><a class="moz-txt-link-rfc2396E" href="http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4">"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4"</a>
"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 <b>15127 </b><a class="moz-txt-link-rfc2396E" href="http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4">"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4"</a>
"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 <b>9072 </b><a class="moz-txt-link-rfc2396E" href="http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4">"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=16&hoststatustypes=4"</a>
"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 <b>9072 </b><a class="moz-txt-link-rfc2396E" href="http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=4">"http://localhost:8080/nagios/cgi-bin/status.cgi?host=all&servicestatustypes=8&hoststatustypes=4"</a>
"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. [<a class="moz-txt-link-freetext" href="mailto:jnyhuis@uw.edu">mailto:jnyhuis@uw.edu</a>] <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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a><br>
<a moz-do-not-send="true"
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">------------------------------------------------------------------------------
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.
<a class="moz-txt-link-freetext" href="http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk">http://pubads.g.doubleclick.net/gampad/clk?id=58041151&iu=/4140/ostg.clktrk</a></pre>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Nagios-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
<a class="moz-txt-link-freetext" href="https://lists.sourceforge.net/lists/listinfo/nagios-users">https://lists.sourceforge.net/lists/listinfo/nagios-users</a>
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null</pre>
</blockquote>
<br>
</body>
</html>