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

[Nagios-users] Embedding Icinga or Nagios in Joomla?

2011-06-19 Thread Kevin Keane
I'm looking to public certain information from Nagios (or preferably from 
Icinga) into a larger Web site. Somewhat similar to what Nagios Looking Glass 
used to do; unfortunately, NLG seems to be no longer maintained; the web site 
for it is gone, and the latest version I found is about four years old.

The larger Web site I want to embed the information in is a Joomla site. Is 
there a Joomla module that would call the Nagios or Icinga API and retrieve 
data?

Kevin Keane
The NetTech
(North County Tech Center, LLC dba The NetTech)
760-721-8339
http://www.4nettech.com



--
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] Embedding Icinga or Nagios in Joomla?

2011-06-19 Thread ranjib dey
I am not aware of any out of the box solution, perhaps you can pull the
nagios check data (like having NDOUtils + mysql triggers, or using global
event handlers or nsca/nrpe based approaches) and expose it as RESTFull
webservices or present it using your own views  (who likes the nagios dash
board any way) ,

regards
ranjib

On Sun, Jun 19, 2011 at 2:52 PM, Kevin Keane subscript...@kkeane.comwrote:

 I'm looking to public certain information from Nagios (or preferably from
 Icinga) into a larger Web site. Somewhat similar to what Nagios Looking
 Glass used to do; unfortunately, NLG seems to be no longer maintained; the
 web site for it is gone, and the latest version I found is about four years
 old.

 The larger Web site I want to embed the information in is a Joomla site. Is
 there a Joomla module that would call the Nagios or Icinga API and retrieve
 data?

 Kevin Keane
 The NetTech
 (North County Tech Center, LLC dba The NetTech)
 760-721-8339
 http://www.4nettech.com




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

[Nagios-users] Embedding Icinga or Nagios in Joomla?

2011-06-19 Thread Kevin Keane
I'm looking to public certain information from Nagios (or preferably from 
Icinga) into a larger Web site. Somewhat similar to what Nagios Looking Glass 
used to do; unfortunately, NLG seems to be no longer maintained; the web site 
for it is gone, and the latest version I found is about four years old and 
without documentation.

The larger Web site I want to embed the information in is a Joomla site. Is 
there a Joomla module that would call the Nagios or Icinga API and retrieve 
data?

Kevin Keane
The NetTech
(North County Tech Center, LLC dba The NetTech)
760-721-8339
http://www.4nettech.com



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


[Nagios-users] Return code of 141 is out of bounds Error in Nagios 3.2.3

2011-06-19 Thread Rai Ricafrente
Hi everyone,

I just installed a fresh Nagios v3.2.3 with about 150 hosts and 600
services. I just noticed from time to time, hosts are throwing out Return
code of 141 is out of bounds status every now and then, then it will
eventually go away. I don't know if this has anything to do with the plugin
since the status will return to OK state without intervention, which proves
that the check_icmp plugin works just fine.

I'm confused with this error, and this one did not manifest itself when we
were using Nagios v2. Anyone has the same issue?

Big thanks,

Rai
--
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] Return code of 141 is out of bounds Error in Nagios 3.2.3

2011-06-19 Thread Yueh-Hung Liu
nagios only accepts integers 0~3 as return codes of plugins.
try to manually execute the command of the questioned service (be the
user nagios runs as) and check the ouputs.


On Mon, Jun 20, 2011 at 9:24 AM, Rai Ricafrente maill...@ricafrente.com wrote:
 Hi everyone,

 I just installed a fresh Nagios v3.2.3 with about 150 hosts and 600
 services. I just noticed from time to time, hosts are throwing out Return
 code of 141 is out of bounds status every now and then, then it will
 eventually go away. I don't know if this has anything to do with the plugin
 since the status will return to OK state without intervention, which proves
 that the check_icmp plugin works just fine.

 I'm confused with this error, and this one did not manifest itself when we
 were using Nagios v2. Anyone has the same issue?

 Big thanks,

 Rai

 --
 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] Nagios Issue of not detecting down/up status of server and delay of mails notifications

2011-06-19 Thread Rai Ricafrente
Have you checked your time periods?

On Fri, Jun 17, 2011 at 10:42 PM, Manish Kumar manikuma...@gmail.comwrote:


 Hi Friends,

 I have implemented Nagios Core-3.2.3 on Fedora Core 14 and configured it
 for monitoring of around 230 network devices for different services like
 up/down status, uptime, ports link status, similarly configured for
 monitoring around 30 windows servers for different services.

 The problem is that nagios is not able to send e-mail notification as soon
 as any server/service/network device goes down. Some of the e-mails are
 delayed around 12 hours and some are not triggered even, for example if a
 server goes down for around a hour and is up again after that, nagios is not
 able to detect it. I have setup the fedora 14 to use its sendmail sever to
 relay the mails to our corporate smtp sever.

 Is this a valid issue with nagios or is there any way to scale it up. How
 can a network/sever admin can believe on it if this works like this.



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

Re: [Nagios-users] Return code of 141 is out of bounds Error in Nagios 3.2.3

2011-06-19 Thread Rai Ricafrente
The output returns OK status when run manually. It seems that the error
occurs at random times, but as mentioned, will eventually go away. If the
plugin is the issue, the error should be persistent. In my case, it happens
from time to time. I only experienced this when we used Nagios 3.2.3, this
never happened in Nagios v2.6



On Mon, Jun 20, 2011 at 10:16 AM, Yueh-Hung Liu yuehung@gmail.comwrote:

 nagios only accepts integers 0~3 as return codes of plugins.
 try to manually execute the command of the questioned service (be the
 user nagios runs as) and check the ouputs.


 On Mon, Jun 20, 2011 at 9:24 AM, Rai Ricafrente maill...@ricafrente.com
 wrote:
  Hi everyone,
 
  I just installed a fresh Nagios v3.2.3 with about 150 hosts and 600
  services. I just noticed from time to time, hosts are throwing out
 Return
  code of 141 is out of bounds status every now and then, then it will
  eventually go away. I don't know if this has anything to do with the
 plugin
  since the status will return to OK state without intervention, which
 proves
  that the check_icmp plugin works just fine.
 
  I'm confused with this error, and this one did not manifest itself when
 we
  were using Nagios v2. Anyone has the same issue?
 
  Big thanks,
 
  Rai
 
 
 --
  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

--
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] Return code of 141 is out of bounds Error in Nagios 3.2.3

2011-06-19 Thread Terry Carmen
Quoting Rai Ricafrente maill...@ricafrente.com:

 The output returns OK status when run manually. It seems that the error
 occurs at random times, but as mentioned, will eventually go away. If the
 plugin is the issue, the error should be persistent. 

The plugin isn't handling one or more input conditions correctly and is 
returning an out-of-bounds value. This is the only possible cause I'm aware of 
for that message. It's very specific.

You should be able to examine the plugin's source code and see what conditions 
could trigger it.

FWIW, this is a bug in the plugin, since anything besides OK, Warning or 
Critical should be returned as Unknown (4).

Terry

--
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] Return code of 141 is out of bounds Error in Nagios 3.2.3

2011-06-19 Thread Allan Clark
 On Mon, Jun 20, 2011 at 9:24 AM, Rai Ricafrente maill...@ricafrente.com
 wrote:
  Hi everyone,
 
  I just installed a fresh Nagios v3.2.3 with about 150 hosts and 600
  services. I just noticed from time to time, hosts are throwing out
  Return
  code of 141 is out of bounds status every now and then, then it will
  eventually go away. I don't know if this has anything to do with the
  plugin
  since the status will return to OK state without intervention, which
  proves
  that the check_icmp plugin works just fine.
 
  I'm confused with this error, and this one did not manifest itself when
  we
  were using Nagios v2. Anyone has the same issue?
 
  Big thanks,
 
  Rai

 On Mon, Jun 20, 2011 at 10:16 AM, Yueh-Hung Liu yuehung@gmail.com
 wrote:

 nagios only accepts integers 0~3 as return codes of plugins.
 try to manually execute the command of the questioned service (be the
 user nagios runs as) and check the ouputs.

On Sun, Jun 19, 2011 at 19:24, Rai Ricafrente maill...@ricafrente.com wrote:
 The output returns OK status when run manually. It seems that the error
 occurs at random times, but as mentioned, will eventually go away. If the
 plugin is the issue, the error should be persistent. In my case, it happens
 from time to time. I only experienced this when we used Nagios 3.2.3, this
 never happened in Nagios v2.6

(Quick reminder: mailing list: don't top-post)

Rai, the logic of it never happened before on 2.6 so it would have
never happened on 2.6, therefore 3.2.3 is in error is like we've
never had an oil rig explode in the Gulf of Mexico before :)


Really, the way to find out who is to blame is similar to Yueh-Hung
Liu's suggestion, but make a wrapper for the script instead.  The
wrapper should record the environment offered to the script, and the
parameters, and should check the return code, storing the results by a
filename based on the result code -- for example, renaming a temporary
file used to collect into a filename based on the result.  An example
in /bin/bash would be to store all content into a file
/tmp/nagios-tmp.$$, and then based on the $0 of the script execution,
mv /tmp/nagios-tmp.$$ /tmp/ret.$0 or some such.

To explain what this offers, consider that you may have the return
codes 0,1,2,3, and 141, and you're using /tmp/ret as a base
filename.

When you're running again, and you have a few successful results plus
a 141 return code, compare any of the /tmp/ret.0, /tmp/ret.1,
/tmp/ret.2,/tmp/ret.3 with the /tmp/ret.141 contents.  You only need
to keep the last occurrence of each (since they should be similar) so
it keeps you from running out of disk.  You can run this overnight
without crushing your monitoring system's disk, no huge difference
except for the file I/O you've added.

Then, when you compare the wrapper output in the 141 case to the 0-3
case (ie diff /tmp/ret.0 /tmp/ret.141), you'll see whether the input
environment or parameters are different.

If it's relatively the same input either way, then when the wrapper
executes the wrapped script, perhaps turn on some debugging or
tracing, and the output will still collect, but you'll have some
verbose debug information to dig through to see why.  Alternatively,
if the input seems to change, you'll be able to see what Nagios is
doing differently between executions.

Allan
-- 
all...@chickenandporn.com  金鱼 http://linkedin.com/in/goldfish

--
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] Return code of 141 is out of bounds Error in Nagios 3.2.3

2011-06-19 Thread Rai Ricafrente
Hi Allan,

I'm just saying that this could be a bug in the current Nagios, or the
plugin as Terry pointed out, since this was never present in the previous
version that I was using. This really freaks me out.

I enabled Nagios's debug mode in the hopes of getting more about this. I am
also considering re-compiling the whole thing. There is a nasty little
bugger out there.

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