Re: [Nagios-users] Problem in starting nagios

2011-06-22 Thread nag ios
In which configuration file (file name) the following has to be typed???

On Mon, Jun 20, 2011 at 3:09 AM, Carlos de Santa-Ana Garcia 
car...@dsag.jazztel.es wrote:

 **
 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.comwrote:


 On 19 June 2011 13:43, nag ios 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
 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 
 listNagios-users@lists.sourceforge.nethttps://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 

Re: [Nagios-users] Problem in starting nagios

2011-06-22 Thread Carlos de Santa-Ana Garcia

Hi


For example:nagios.confcan be any other 
whatyoulikename.conf .



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.



But.

Did you run  |make install-webconf  when you instaled nagios ???| it 
makes this automatically.




Greets



El 22/06/2011 11:21, nag ios escribió:
In which configuration file (file name) the following has to be 
typed???


On Mon, Jun 20, 2011 at 3:09 AM, Carlos de Santa-Ana Garcia 
car...@dsag.jazztel.es mailto:car...@dsag.jazztel.es wrote:


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 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 

Re: [Nagios-users] Problem in starting nagios

2011-06-19 Thread Assaf Flatto
nag ios wrote:
 I have run the following command

 make install-webconf

 but its showing the following output

 make: *** No rule to make target `install-webconf'.  Stop.

 the above output does indicate any 

 On Sun, Jun 19, 2011 at 1:11 AM, Manish Kumar manikuma...@gmail.com 
 mailto:manikuma...@gmail.com wrote:

 Please check your web server configuration...


 On Sun, Jun 19, 2011 at 12:43 AM, Assaf Flatto nag...@flatto.net
 mailto:nag...@flatto.net wrote:

 nag ios wrote:
  Hi my name is krishna i have installed nagios successfully in my
  system which is ubuntu one,but i'm unable to start nagios
 through
  browser its giving the error message as
 
 
Not Found
 
  The requested URL /nagios/ was not found on this server.
 
 
 
 
  Apache/2.2.17 (Ubuntu) Server at localhost Port 80
 
  Please help me out.
 
 The error you specify has nothing to do with nagios ,but with
 the apache
 configuration .

 Nagios may be running on your system , but the web server
 configuration
 has not gone well.
 read this :
 
 http://nagios.sourceforge.net/docs/nagioscore/3/en/quickstart-ubuntu.html

 and make sure that you have done those steps.


are you installing from source or via apt-get?


--
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


Re: [Nagios-users] Problem in starting nagios

2011-06-19 Thread nag ios
i'm installing from the source

On Sun, Jun 19, 2011 at 11:39 AM, Assaf Flatto nag...@flatto.net wrote:

 nag ios wrote:
  I have run the following command
 
  make install-webconf
 
  but its showing the following output
 
  make: *** No rule to make target `install-webconf'.  Stop.
 
  the above output does indicate any 
 
  On Sun, Jun 19, 2011 at 1:11 AM, Manish Kumar manikuma...@gmail.com
  mailto:manikuma...@gmail.com wrote:
 
  Please check your web server configuration...
 
 
  On Sun, Jun 19, 2011 at 12:43 AM, Assaf Flatto nag...@flatto.net
  mailto:nag...@flatto.net wrote:
 
  nag ios wrote:
   Hi my name is krishna i have installed nagios successfully in
 my
   system which is ubuntu one,but i'm unable to start nagios
  through
   browser its giving the error message as
  
  
 Not Found
  
   The requested URL /nagios/ was not found on this server.
  
  
 
 
   Apache/2.2.17 (Ubuntu) Server at localhost Port 80
  
   Please help me out.
  
  The error you specify has nothing to do with nagios ,but with
  the apache
  configuration .
 
  Nagios may be running on your system , but the web server
  configuration
  has not gone well.
  read this :
 
 http://nagios.sourceforge.net/docs/nagioscore/3/en/quickstart-ubuntu.html
 
  and make sure that you have done those steps.
 
 
 are you installing from source or via apt-get?



 --
 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

Re: [Nagios-users] Problem in starting nagios

2011-06-19 Thread Kumar, Ashish
On 19 June 2011 00:27, nag ios nagiost...@gmail.com wrote:

 Hi my name is krishna i have installed nagios successfully in my system
 which is ubuntu one,but i'm unable to start nagios through browser its
 giving the error message as


Are you sure that Nagios has been successfully installed?  Try:

# service nagios status

If it doesn't return nagios: unrecognized service could you also check
what does the following return:

# grep -inR --color nagios /etc/httpd

just in case /etc/httpd isn't the default HTTPD_ROOT on Ubuntu, you can try
the following and make sure that you have vhost entry for Nagios:

# grep -inR --color foo $(httpd -V | grep HTTPD_ROOT | cut -d= -f2 | sed
-e 's///g')
--
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

Re: [Nagios-users] Problem in starting nagios

2011-06-19 Thread Kumar, Ashish
On 19 June 2011 00:27, nag ios nagiost...@gmail.com wrote:

 Hi my name is krishna i have installed nagios successfully in my system
 which is ubuntu one,but i'm unable to start nagios through browser its
 giving the error message as


 Are you sure that Nagios has been successfully installed?  Try:

 # service nagios status


Oops, it seems service command would not work on Ubuntu.  Perhaps, you need
to run:

# /etc/init.d/nagios status
--
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

Re: [Nagios-users] Problem in starting nagios

2011-06-19 Thread nag ios
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.
sh: /usr/local/nagios/libexec/check_ping: not found
sh: /usr/local/nagios/libexec/check_users: 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.
Warning: Return code of 127 for check of service 'Current Users' on host
'localhost' was out of bounds. Make sure the plugin you're trying to run
actually exists.
sh: /usr/local/nagios/libexec/check_http: not found
Warning: Return code of 127 for check of service 'HTTP' on host 'localhost'
was out of bounds. Make sure the plugin you're trying to run actually
exists.
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_ping: not found
Warning: Return code of 127 for check of service 'PING' on host 'localhost'
was out of bounds. Make sure the plugin you're trying to run actually
exists.
sh: /usr/local/nagios/libexec/check_disk: not found
Warning: Return code of 127 for check of service 'Root Partition' on host
'localhost' was out of bounds. Make sure the plugin you're trying to run
actually exists.
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_ssh: not found
Warning: Return code of 127 for check of service 'SSH' on host 'localhost'
was out of bounds. Make sure the plugin you're trying to run actually
exists.
sh: /usr/local/nagios/libexec/check_swap: not found
Warning: Return code of 127 for check of service 'Swap Usage' on host
'localhost' was out of bounds. Make sure the plugin you're trying to run
actually exists.
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_procs: not found
Warning: Return code of 127 for check of service 'Total Processes' on host
'localhost' was out of bounds. Make sure the plugin you're trying to run
actually exists.


On Sun, Jun 19, 2011 at 1:27 PM, Kumar, Ashish xml.de...@gmail.com wrote:


 On 19 June 2011 00:27, nag ios nagiost...@gmail.com wrote:

 Hi my name is krishna i have installed nagios successfully in my system
 which is ubuntu one,but i'm unable to start nagios through browser its
 giving the error message as


 Are you sure that Nagios has been successfully installed?  Try:

 # service nagios status

 If it doesn't return nagios: unrecognized service could you also check
 what does the following return:

 # grep -inR --color nagios /etc/httpd

 just in case /etc/httpd isn't the default HTTPD_ROOT on Ubuntu, you can try
 the following and make sure that you have vhost entry for Nagios:

 # grep -inR --color foo $(httpd -V | grep HTTPD_ROOT | cut -d= -f2 | sed
 -e 's///g')


 --
 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

Re: [Nagios-users] Problem in starting nagios

2011-06-19 Thread Kumar, Ashish
On 19 June 2011 13:43, nag ios 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
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

Re: [Nagios-users] Problem in starting nagios

2011-06-19 Thread nag ios
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 wrote:


 On 19 June 2011 13:43, nag ios 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
 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

Re: [Nagios-users] Problem in starting nagios

2011-06-19 Thread Carlos de Santa-Ana Garcia

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

Re: [Nagios-users] Problem in starting nagios

2011-06-18 Thread Assaf Flatto
nag ios wrote:
 Hi my name is krishna i have installed nagios successfully in my 
 system which is ubuntu one,but i'm unable to start nagios through 
 browser its giving the error message as


   Not Found

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

 
 Apache/2.2.17 (Ubuntu) Server at localhost Port 80

 Please help me out.

The error you specify has nothing to do with nagios ,but with the apache 
configuration .

Nagios may be running on your system , but the web server configuration 
has not gone well.
read this :
http://nagios.sourceforge.net/docs/nagioscore/3/en/quickstart-ubuntu.html

and make sure that you have done those steps.




--
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


Re: [Nagios-users] Problem in starting nagios

2011-06-18 Thread Manish Kumar
Please check your web server configuration...

On Sun, Jun 19, 2011 at 12:43 AM, Assaf Flatto nag...@flatto.net wrote:

 nag ios wrote:
  Hi my name is krishna i have installed nagios successfully in my
  system which is ubuntu one,but i'm unable to start nagios through
  browser its giving the error message as
 
 
Not Found
 
  The requested URL /nagios/ was not found on this server.
 
  
  Apache/2.2.17 (Ubuntu) Server at localhost Port 80
 
  Please help me out.
 
 The error you specify has nothing to do with nagios ,but with the apache
 configuration .

 Nagios may be running on your system , but the web server configuration
 has not gone well.
 read this :
 http://nagios.sourceforge.net/docs/nagioscore/3/en/quickstart-ubuntu.html

 and make sure that you have done those steps.





 --
 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




-- 
Thanks
Manish Kumar
http://in.linkedin.com/in/manishkumar85
 http://cens.cdac.in/
--
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

Re: [Nagios-users] Problem in starting nagios

2011-06-18 Thread nag ios
I have run the following command

make install-webconf

but its showing the following output

make: *** No rule to make target `install-webconf'.  Stop.

the above output does indicate any 

On Sun, Jun 19, 2011 at 1:11 AM, Manish Kumar manikuma...@gmail.com wrote:

 Please check your web server configuration...


 On Sun, Jun 19, 2011 at 12:43 AM, Assaf Flatto nag...@flatto.net wrote:

 nag ios wrote:
  Hi my name is krishna i have installed nagios successfully in my
  system which is ubuntu one,but i'm unable to start nagios through
  browser its giving the error message as
 
 
Not Found
 
  The requested URL /nagios/ was not found on this server.
 
  
  Apache/2.2.17 (Ubuntu) Server at localhost Port 80
 
  Please help me out.
 
 The error you specify has nothing to do with nagios ,but with the apache
 configuration .

 Nagios may be running on your system , but the web server configuration
 has not gone well.
 read this :
 http://nagios.sourceforge.net/docs/nagioscore/3/en/quickstart-ubuntu.html

 and make sure that you have done those steps.





 --
 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




 --
 Thanks
 Manish Kumar
 http://in.linkedin.com/in/manishkumar85
  http://cens.cdac.in/


 --
 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