<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi,<br>
My guess is that he hasnt made the appropriate changes in the Apache
configuration. So it doesnt know where to look for the .cgi files.<br>
AFAIk he will have to put in a <Alias> directive that points to
his /usr/local/nagios/sbin.<br>
This part is *very well documented* in the Nagios documentation.<br>
<br>
<div class="moz-signature">Regards,<br>
Shiv<br>
</div>
<br>
<br>
Marc Powell said the following:
<blockquote
cite="mid:A7B0A9F02975A74A845FE85D0B95B8FA039295EB@misex01.ena.com"
type="cite">
<pre wrap="">
</pre>
<blockquote type="cite">
<pre wrap="">-----Original Message-----
From: <a class="moz-txt-link-abbreviated" href="mailto:nagios-users-bounces@lists.sourceforge.net">nagios-users-bounces@lists.sourceforge.net</a> [<a class="moz-txt-link-freetext" href="mailto:nagios-users">mailto:nagios-users</a>-
<a class="moz-txt-link-abbreviated" href="mailto:bounces@lists.sourceforge.net">bounces@lists.sourceforge.net</a>] On Behalf Of Gagandeep Singh
Sent: Saturday, July 14, 2007 4:03 PM
To: <a class="moz-txt-link-abbreviated" href="mailto:Nagios-users@lists.sourceforge.net">Nagios-users@lists.sourceforge.net</a>
Subject: Re: [Nagios-users] not able
</pre>
</blockquote>
<pre wrap=""><!---->toaccesshttp://localhost/nagios/cgi-
</pre>
<blockquote type="cite">
<pre wrap="">bin/
i see all the cgi's in the /usr/local/nagios/sbin. They are all in
</pre>
</blockquote>
<pre wrap=""><!---->green
</pre>
<blockquote type="cite">
<pre wrap="">color. So you are saying there should be another directory that hold
</pre>
</blockquote>
<pre wrap=""><!---->the
</pre>
<blockquote type="cite">
<pre wrap="">cgi's?
</pre>
</blockquote>
<pre wrap=""><!---->
No, I'm not saying that at all. They should all be in
/usr/local/nagios/sbin.
So, in /usr/local/nagios/sbin, you see a file named trends.cgi?
statusmap.cgi, statuswrl.cgi, histogram.cgi? Your web server is saying
that you do not. You said earlier --
"In the error_log it says "[error] [client 127.0.0.1] script not found
or unable to stat: /usr/local/nagios/sbin/trends.cgi, referer:
<a class="moz-txt-link-freetext" href="http://localhost/nagios/side.html">http://localhost/nagios/side.html</a>." Same kind of log message for the
other links (status map, 3-d-status map, alert histogram)."
The above says that /usr/local/nagios/sbin/trends.cgi does not exist. If
it does, are the permissions on the file such that your web server can
read and execute it? 'make install' should have set them properly. If
the file exists and the permissions appear to be correct, re-check that
you don't have SELinux enabled or at least misconfigured.
If the file does not exist, read the FAQ.
--
Marc
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
<a class="moz-txt-link-freetext" href="http://sourceforge.net/powerbar/db2/">http://sourceforge.net/powerbar/db2/</a>
_______________________________________________
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>
</body>
</html>