Re: [Nagios-users] localhost DOWN messages, return code 127 is out of bounds

2010-05-25 Thread Richard Lynch
I¹m a newbie, but... Does your /etc/hosts/ file have this line in it: 127.0.0.1 localhost It should have that. On 5/18/10 5:39 PM, "Michael Maxwell" wrote: > Hello, > > Just installed nagios 3.2.1 following the docs at > http://nagios.sourceforge.net/docs/3_0/quickstart.html > > Everyth

Re: [Nagios-users] localhost DOWN messages, return code 127 is out of bounds

2010-05-19 Thread Marc Powell
On May 19, 2010, at 12:08 PM, Michael Maxwell wrote: > Well, I didn't exactly leave this out. Remember I mentioned that it's a > clean install from the Quickstart document. I've changed nothing in it > other than the admin contact in contacts.cfg. So whatever's there is there > in the default

Re: [Nagios-users] localhost DOWN messages, return code 127 is out of bounds

2010-05-19 Thread Marcel
Perhaps if you're upgrading and haven't touched the resources.cfg, then you could be having issues with $USER1$ defined for your previous installation. On Wed, May 19, 2010 at 3:09 PM, Michael Maxwell wrote: > > > P.S. My apologies if I seem snippy. It's a bad day. If you provide > > the info,

Re: [Nagios-users] localhost DOWN messages, return code 127 is out of bounds

2010-05-19 Thread Rick Mangus
On Wed, May 19, 2010 at 1:09 PM, Michael Maxwell wrote: > >> P.S.  My apologies if I seem snippy.  It's a bad day.  If you provide >> the info, I promise a speedy, polite response.  :) > > No thanks.  I'll use an earlier version.  I'm not exactly having a great day > either.  A little civility wou

Re: [Nagios-users] localhost DOWN messages, return code 127 is out of bounds

2010-05-19 Thread Michael Maxwell
> P.S. My apologies if I seem snippy. It's a bad day. If you provide > the info, I promise a speedy, polite response. :) No thanks. I'll use an earlier version. I'm not exactly having a great day either. A little civility would get a better response from me as I've been nothing but civil a

Re: [Nagios-users] localhost DOWN messages, return code 127 is out of bounds

2010-05-19 Thread Trisha Hoang
We used nagios-3.2.1 and Centos5.2 and experienced somewhat the same problem as Michael described, but I don't see the same problem after moving to nagios-3.2.0. -- ___ Nagios-us

Re: [Nagios-users] localhost DOWN messages, return code 127 is out of bounds

2010-05-19 Thread Rick Mangus
Michael: What check are you using for the host check? The line we're looking for is under your host definition and looks like so: check_command Then, copy/paste the command definition for that command. Patrick asked the vital question, and you blew him off. The Quickstart page d

Re: [Nagios-users] localhost DOWN messages, return code 127 is out of bounds

2010-05-19 Thread Michael Maxwell
On 5/19/10 9:33 AM, "Lacayo, Luis F" wrote: > What happens when you run it from the command line as the Nagios user? > I had a similar issue that required the check to run as root. Everything works fine when running from commandline as nagios user or as root. It even works fine within Nagios *e

Re: [Nagios-users] localhost DOWN messages, return code 127 is out of bounds

2010-05-19 Thread Michael Maxwell
On 5/19/10 9:42 AM, "Morris, Patrick" wrote: > You've left out what is probably the most important information: how the > check that is failing is defined. > > Take a look at your host check definition. Chances are it's either got a > typo in the configuration, is pointing at a plugin that's no

Re: [Nagios-users] localhost DOWN messages, return code 127 is out of bounds

2010-05-19 Thread Michael Maxwell
On 5/19/10 8:58 AM, "Assaf Flatto" wrote: > AFAIK centos has a security mechanism called msec that can some time > change the permissions of files and cause this issue . > > check if you have the msec is working ( usually in the cron.d or > cron.hourly or cron.daily directory ) and if so - you m

Re: [Nagios-users] localhost DOWN messages, return code 127 is out of bounds

2010-05-19 Thread Morris, Patrick
Michael Maxwell wrote: > Hello, > > Just installed nagios 3.2.1 following the docs at > http://nagios.sourceforge.net/docs/3_0/quickstart.html > > Everything starts up normally, web interface is fine, can login, > enable/disable checks, etc... However, every 2 hours exactly, > I'm getting the foll

Re: [Nagios-users] localhost DOWN messages, return code 127 is out of bounds

2010-05-19 Thread Lacayo, Luis F
Subject: Re: [Nagios-users] localhost DOWN messages, return code 127 is out of bounds Michael Maxwell wrote: > Hello, > > Just installed nagios 3.2.1 following the docs at > http://nagios.sourceforge.net/docs/3_0/quickstart.html > > Everything starts up normally, web interface

Re: [Nagios-users] localhost DOWN messages, return code 127 is out of bounds

2010-05-19 Thread Assaf Flatto
Michael Maxwell wrote: > Hello, > > Just installed nagios 3.2.1 following the docs at > http://nagios.sourceforge.net/docs/3_0/quickstart.html > > Everything starts up normally, web interface is fine, can login, > enable/disable checks, etc... However, every 2 hours exactly, > I'm getting the foll

[Nagios-users] localhost DOWN messages, return code 127 is out of bounds

2010-05-18 Thread Michael Maxwell
Hello, Just installed nagios 3.2.1 following the docs at http://nagios.sourceforge.net/docs/3_0/quickstart.html Everything starts up normally, web interface is fine, can login, enable/disable checks, etc... However, every 2 hours exactly, I'm getting the following alert in email: From: nagios S