Hi

-- Nagios is running, it have a PID,.

-- You cant access the web because its not installed or configured:

        Look for nagios.conf at /etc/apache2/conf.d

It must look like this if you installed nagios in/usr/local/nagios:


----------------------------------------------------------------------------

# SAMPLE CONFIG SNIPPETS FOR APACHE WEB SERVER
# Last Modified: 11-26-2005
#
# This file contains examples of entries that need
# to be incorporated into your Apache web server
# configuration file.  Customize the paths, etc. as
# needed to fit your system.

ScriptAlias /nagios/cgi-bin "/usr/local/nagios/sbin"

<Directory "/usr/local/nagios/sbin">
#  SSLRequireSSL
   Options ExecCGI
   AllowOverride None
   Order allow,deny
   Allow from all
#  Order deny,allow
#  Deny from all
#  Allow from 127.0.0.1
   AuthName "Nagios Access"
   AuthType Basic
   AuthUserFile /usr/local/nagios/etc/htpasswd.users
   Require valid-user
</Directory>

Alias /nagios "/usr/local/nagios/share"

<Directory "/usr/local/nagios/share">
#  SSLRequireSSL
   Options None
   AllowOverride None
   Order allow,deny
   Allow from all
#  Order deny,allow
#  Deny from all
#  Allow from 127.0.0.1
   AuthName "Nagios Access"
   AuthType Basic
   AuthUserFile /usr/local/nagios/etc/htpasswd.users
   Require valid-user
</Directory>

----------------------------------------------------------------------------------------------------------------------------------


Greeets.



El 19/06/2011 10:46, nag ios escribió:
I have installed the plugins and tried but in the browser when typed

http://localhost/nagios/

it didnt work , getting the error in browser as


  Not Found

The requested URL /nagios was not found on this server.

------------------------------------------------------------------------
Apache/2.2.17 (Ubuntu) Server at localhost Port 80



On Sun, Jun 19, 2011 at 1:55 PM, Kumar, Ashish <xml.de...@gmail.com <mailto:xml.de...@gmail.com>> wrote:


    On 19 June 2011 13:43, nag ios <nagiost...@gmail.com
    <mailto:nagiost...@gmail.com>> wrote:

        When i ran this command
sudo /usr/local/nagios/bin/nagios /usr/local/nagios/etc/nagios.cfg -d &

        I got the following output is anything wrong?????

        [1] 6369
        krishna@krishna:/usr/local/nagios/etc$
        Nagios Core 3.2.3
        Copyright (c) 2009-2010 Nagios Core Development Team and
        Community Contributors
        Copyright (c) 1999-2009 Ethan Galstad
        Last Modified: 10-03-2010
        License: GPL

        Website: http://www.nagios.org
        Nagios 3.2.3 starting... (PID=6370)
        Local time is Sun Jun 19 13:35:15 IST 2011
        sh: /usr/local/nagios/libexec/check_ping: not found
        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.
        sh: /usr/local/nagios/libexec/check_load: not found
        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.



     Smells like you haven't installed nagios-plugins pack.
    http://nagios.org/download/plugins


    
------------------------------------------------------------------------------
    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.
    http://p.sf.net/sfu/ephox-dev2dev
    _______________________________________________
    Nagios-users mailing list
    Nagios-users@lists.sourceforge.net
    <mailto:Nagios-users@lists.sourceforge.net>
    https://lists.sourceforge.net/lists/listinfo/nagios-users
    ::: Please include Nagios version, plugin version (-v) and OS when
    reporting any issue.
    ::: Messages without supporting info will risk being sent to /dev/null



------------------------------------------------------------------------------
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.
http://p.sf.net/sfu/ephox-dev2dev


_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue.
::: Messages without supporting info will risk being sent to /dev/null

------------------------------------------------------------------------------
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.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting 
any issue. 
::: Messages without supporting info will risk being sent to /dev/null

Reply via email to