<!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 text="#000000" bgcolor="#ffffff">
Hi<br>
<br>
<br>
For example: nagios.conf can be any other
whatyoulikename.conf .<br>
<br>
<br>
In some setups it can be at /etc/apache2/sites-available/ , then it
must be linked (softlink) at /etc/apache2/sites-enabled/ , this is
not usual with nagios but is another posible setup.<br>
<br>
<br>
But.....<br>
<br>
Did you run " <code>make install-webconf " when you instaled nagios
???</code> it makes this automatically.<br>
<br>
<br>
<br>
Greets<br>
<br>
<br>
<br>
El 22/06/2011 11:21, nag ios escribió:
<blockquote
cite="mid:BANLkTinHRs7KuKQZ=i6c_GALO3J7nDnR=Q@mail.gmail.com"
type="cite"><font color="#ff0000">In which configuration file
(file name) the following has to be typed....???</font><br>
<br>
<div class="gmail_quote">On Mon, Jun 20, 2011 at 3:09 AM, Carlos
de Santa-Ana Garcia <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:carlos@dsag.jazztel.es">carlos@dsag.jazztel.es</a>></span>
wrote:<br>
<blockquote style="border-left: 1px solid rgb(204, 204, 204);
margin: 0px 0px 0px 0.8ex; padding-left: 1ex;"
class="gmail_quote">
<div bgcolor="#ffffff" text="#000000">Hi<br>
<br>
-- Nagios is running, it have a PID,.<br>
<br>
-- You cant access the web because its not installed or
configured:<br>
<br>
Look for nagios.conf at /etc/apache2/conf.d <br>
<br>
It must look like this if you installed nagios in<font
color="#ff6600"> /usr/local/nagios</font>:<br>
<br>
<br>
----------------------------------------------------------------------------<br>
<br>
# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER<br>
# Last Modified: 11-26-2005<br>
#<br>
# This file contains examples of entries that need<br>
# to be incorporated into your Apache web server<br>
# configuration file. Customize the paths, etc. as<br>
# needed to fit your system.<br>
<br>
ScriptAlias /nagios/cgi-bin "<font color="#ff6600">/usr/local/nagios/</font>sbin"<br>
<br>
<Directory "<font color="#ff6600">/usr/local/nagios/</font>sbin"><br>
# SSLRequireSSL<br>
Options ExecCGI<br>
AllowOverride None<br>
Order allow,deny<br>
Allow from all<br>
# Order deny,allow<br>
# Deny from all<br>
# Allow from 127.0.0.1<br>
AuthName "Nagios Access"<br>
AuthType Basic<br>
AuthUserFile <font color="#ff6600">/usr/local/nagios/</font>etc/htpasswd.users<br>
Require valid-user<br>
</Directory><br>
<br>
Alias /nagios "<font color="#ff6600">/usr/local/nagios/</font>share"<br>
<br>
<Directory "<font color="#ff6600">/usr/local/nagios/</font>share"><br>
# SSLRequireSSL<br>
Options None<br>
AllowOverride None<br>
Order allow,deny<br>
Allow from all<br>
# Order deny,allow<br>
# Deny from all<br>
# Allow from 127.0.0.1<br>
AuthName "Nagios Access"<br>
AuthType Basic<br>
AuthUserFile <font color="#ff6600">/usr/local/nagios/</font>etc/htpasswd.users<br>
Require valid-user<br>
</Directory><br>
<br>
----------------------------------------------------------------------------------------------------------------------------------<br>
<br>
<br>
Greeets.<br>
<br>
<br>
<br>
El 19/06/2011 10:46, nag ios escribió:
<div>
<div class="h5">
<blockquote type="cite">I have installed the plugins and
tried but in the browser when typed <br>
<br>
<span style="color: rgb(51, 204, 0);"><a
moz-do-not-send="true"
href="http://localhost/nagios/" target="_blank">http://localhost/nagios/</a></span><br>
<br>
it didnt work , getting the error in browser as <br>
<br>
<h1 style="color: rgb(255, 0, 0);">Not Found</h1>
<span style="color: rgb(255, 0, 0);"></span>
<p style="color: rgb(255, 0, 0);">The requested URL
/nagios was not found on this server.</p>
<span style="color: rgb(255, 0, 0);"></span>
<hr style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);"></span>
<address style="color: rgb(255, 0, 0);">Apache/2.2.17
(Ubuntu) Server at localhost Port 80</address>
<br>
<br>
<div class="gmail_quote">On Sun, Jun 19, 2011 at 1:55
PM, Kumar, Ashish <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:xml.devel@gmail.com"
target="_blank">xml.devel@gmail.com</a>></span>
wrote:<br>
<blockquote style="border-left: 1px solid rgb(204,
204, 204); margin: 0pt 0pt 0pt 0.8ex;
padding-left: 1ex;" class="gmail_quote"><br>
<div class="gmail_quote">On 19 June 2011 13:43,
nag ios <span dir="ltr"><<a
moz-do-not-send="true"
href="mailto:nagiostool@gmail.com"
target="_blank">nagiostool@gmail.com</a>></span>
wrote:<br>
<blockquote style="border-left: 1px solid
rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex;
padding-left: 1ex;" class="gmail_quote">When i
ran this command<br>
<span style="background-color: rgb(255, 255,
153);">sudo /usr/local/nagios/bin/nagios
/usr/local/nagios/etc/nagios.cfg -d &</span><br>
<br>
I got the following output is anything
wrong?????<br>
<br>
<span style="color: rgb(255, 0, 0);">[1] 6369</span><br
style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">krishna@krishna:/usr/local/nagios/etc$
</span><br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">Nagios
Core 3.2.3</span><br style="color: rgb(255,
0, 0);">
<span style="color: rgb(255, 0, 0);">Copyright
(c) 2009-2010 Nagios Core Development Team
and Community Contributors</span><br
style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">Copyright
(c) 1999-2009 Ethan Galstad</span><br
style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">Last
Modified: 10-03-2010</span><br style="color:
rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">License:
GPL</span><br style="color: rgb(255, 0, 0);">
<br style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">Website:
<a moz-do-not-send="true"
href="http://www.nagios.org/"
target="_blank">http://www.nagios.org</a></span><br
style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">Nagios
3.2.3 starting... (PID=6370)</span><br
style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">Local
time is Sun Jun 19 13:35:15 IST 2011</span><br
style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">sh:
/usr/local/nagios/libexec/check_ping: not
found</span><br style="color: rgb(255, 0,
0);">
<span style="color: rgb(255, 0, 0);">Warning:
Return code of 127 for check of host
'localhost' was out of bounds. Make sure the
plugin you're trying to run actually exists.</span><br
style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);">sh:
/usr/local/nagios/libexec/check_load: not
found</span><br style="color: rgb(255, 0,
0);">
<span style="color: rgb(255, 0, 0);">Warning:
Return code of 127 for check of service
'Current Load' on host 'localhost' was out
of bounds. Make sure the plugin you're
trying to run actually exists.</span><br
style="color: rgb(255, 0, 0);">
<span style="color: rgb(255, 0, 0);"></span><br>
</blockquote>
<div><br>
<br>
Smells like you haven't installed
nagios-plugins pack. <a
moz-do-not-send="true"
href="http://nagios.org/download/plugins"
target="_blank">http://nagios.org/download/plugins</a><br>
<br>
</div>
</div>
<br>
------------------------------------------------------------------------------<br>
EditLive Enterprise is the world's most
technically advanced content<br>
authoring tool. Experience the power of Track
Changes, Inline Image<br>
Editing and ensure content is compliant with
Accessibility Checking.<br>
<a moz-do-not-send="true"
href="http://p.sf.net/sfu/ephox-dev2dev"
target="_blank">http://p.sf.net/sfu/ephox-dev2dev</a><br>
_______________________________________________<br>
Nagios-users mailing list<br>
<a moz-do-not-send="true"
href="mailto:Nagios-users@lists.sourceforge.net"
target="_blank">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<br>
</blockquote>
</div>
<br>
<pre><fieldset></fieldset>
------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
<a moz-do-not-send="true" href="http://p.sf.net/sfu/ephox-dev2dev" target="_blank">http://p.sf.net/sfu/ephox-dev2dev</a></pre>
<pre><fieldset></fieldset>
_______________________________________________
Nagios-users mailing list
<a moz-do-not-send="true" href="mailto:Nagios-users@lists.sourceforge.net" target="_blank">Nagios-users@lists.sourceforge.net</a>
<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>
::: 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>
</div>
</div>
</div>
<br>
------------------------------------------------------------------------------<br>
EditLive Enterprise is the world's most technically advanced
content<br>
authoring tool. Experience the power of Track Changes, Inline
Image<br>
Editing and ensure content is compliant with Accessibility
Checking.<br>
<a moz-do-not-send="true"
href="http://p.sf.net/sfu/ephox-dev2dev" target="_blank">http://p.sf.net/sfu/ephox-dev2dev</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<br>
</blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
<a class="moz-txt-link-freetext" href="http://p.sf.net/sfu/quest-sfdev2dev">http://p.sf.net/sfu/quest-sfdev2dev</a></pre>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
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>