<html>
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered)">
<title>Re: [Nagios-users] I see garbage after Nagios starts</title>
<style>
<!--
/* Font Definitions */
@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";}
a:link, span.MsoHyperlink
{color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{color:blue;
text-decoration:underline;}
p
{margin-right:0in;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman";}
span.EmailStyle19
{font-family:Arial;
color:navy;}
@page Section1
{size:8.5in 11.0in;
margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
{page:Section1;}
-->
</style>
</head>
<body lang=EN-US link=blue vlink=blue>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Taking a stab in the dark, I’m going
to bet that your web server does not know what to do with CGI’s so it’s
just displaying them as if they were text files. Assuming you use apache, verify
that you have the following directives in your httpd.conf:</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>LoadModule
cgi_module modules/mod_cgi.so</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>AddModule mod_cgi.c</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>AddHandler cgi-script .cgi</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><Directory /usr/local/nagios/sbin></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>
AllowOverride AuthConfig</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>
Options ExecCGI</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>
Satisfy All</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'></Directory></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>They’ll probably not all be in the same
place. If you had to add or modify any of them you’ll need to restart
apache. In fact, you should restart apache just in case regardless…</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>--</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>Marc</span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'> </span></font></p>
<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> Johnston Michael
J Contr AFRL/DES [mailto:michael.johnston@kirtland.af.mil] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, November 11, 2003 12:24 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Marc Powell; Johnston Michael
J Contr AFRL/DES; nagios-users@lists.sourceforge.net</span></font></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'> </span></font></p>
<div>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:blue'>Hi Marc and thanks for the response.
When I open a browser the middle display where all the information about your
servers is supposed to show ups made up of illegible characters in no
systematic order. It's as if you're looking at something encrypted.</span></font></p>
</div>
<blockquote style='margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>
<p class=MsoNormal style='margin-bottom:12.0pt'><font size=2 face=Tahoma><span
style='font-size:10.0pt;font-family:Tahoma'>-----Original Message-----<br>
<b><span style='font-weight:bold'>From:</span></b> Marc Powell
[mailto:mpowell@ena.com]<br>
<b><span style='font-weight:bold'>Sent:</span></b> Monday, November 10, 2003 5:50 PM<br>
<b><span style='font-weight:bold'>To:</span></b>
michael.johnston@kirtland.af.mil; nagios-users@lists.sourceforge.net<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [Nagios-users] I see
garbage after Nagios starts</span></font></p>
<p><font size=2 face="Times New Roman"><span style='font-size:10.0pt'><!-- Converted from text/plain format -->Can
you be a little more specific about it looking like trash? Maybe include a link
to a screenshot?<br>
<br>
<br>
--<br>
Marc<br>
<br>
-----Original Message-----<br>
From: Johnston Michael J Contr AFRL/DES
<michael.johnston@kirtland.af.mil><br>
To: nagios-users@lists.sourceforge.net <nagios-users@lists.sourceforge.net><br>
Sent: Mon Nov 10 18:35:01 2003<br>
Subject: [Nagios-users] I see garbage after Nagios starts<br>
<br>
<br>
I was wondering if anyone else has had the problem I'm having and if so, I<br>
hope it's easy to fix. I'm running Redhat 9.1. I have followed the<br>
instruction on installing Nagios 1.1 and everything has gone exactly as<br>
expected. The only thing that I didn't not do is the authentication part<br>
because I want anyone within my network to view. Nagios starts fine and I<br>
see in in the process when I do ps -A, but when I bring up the web page,<br>
it's just junk. The sidebar with all the view options looks fine, but the<br>
middle pane is just trash. When I run the /usr/local/nagios/bin/nagios -v<br>
/usr/local/nagios/etc/nagios.cfg command I get no errors. Below is what I<br>
get when I run that command. Am I doing something really wrong? Is<br>
skipping the authentication part what's holding me up? Any help would be<br>
great. Thanks!<br>
<br>
Mike<br>
<br>
<br>
Nagios 1.1<br>
Copyright (c) 1999-2003 Ethan Galstad (nagios@nagios.org)<br>
Last Modified: 06-02-2003<br>
License: GPL<br>
<br>
Reading configuration data...<br>
<br>
Running pre-flight check on configuration data...<br>
<br>
Checking services...<br>
Checked 38 services.<br>
Checking hosts...<br>
Checked 15 hosts.<br>
Checking host groups...<br>
Checked 6 host groups.<br>
Checking contacts...<br>
Checked 2 contacts.<br>
Checking contact groups...<br>
Checked 6 contact groups.<br>
Checking service escalations...<br>
Checked 2 service escalations.<br>
Checking host group escalations...<br>
Checked 2 host group escalations.<br>
Checking service dependencies...<br>
Checked 0 service dependencies.<br>
Checking host escalations...<br>
Checked 0 host escalations.<br>
Checking host dependencies...<br>
Checked 0 host dependencies.<br>
Checking commands...<br>
Checked 22 commands.<br>
Checking time periods...<br>
Checked 4 time periods.<br>
Checking for circular paths between hosts...<br>
Checking for circular service execution dependencies...<br>
Checking global event handlers...<br>
Checking obsessive compulsive service processor command...<br>
Checking misc settings...<br>
<br>
Total Warnings: 0<br>
Total Errors: 0<br>
<br>
<br>
-------------------------------------------------------<br>
This SF.Net email sponsored by: ApacheCon 2003,<br>
16-19 November in Las Vegas. Learn firsthand the latest<br>
developments in Apache, PHP, Perl, XML, Java, MySQL,<br>
WebDAV, and more! <a href="http://www.apachecon.com/">http://www.apachecon.com/</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
Nagios-users@lists.sourceforge.net<br>
<a href="https://lists.sourceforge.net/lists/listinfo/nagios-users">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</span></font></p>
</blockquote>
</div>
</div>
</body>
</html>