HRM:
drwxrwxr-x 2 nagios nagios 512 Jan 7 04:40 .
drwxr-xr-x 9 root wheel 512 Jan 7 04:27 ..
-rw-rw-r-- 1 nagios nagios 30051 Jan 7 04:27 bigger.cfg-sample
-rw-r--r-- 1 root nagios 9580 Jan 7 04:39 cgi.cfg
-rw-rw-r-- 1 nagios nagios 9580 Jan 7 04:27 cgi.cfg-sample
-rw-r--r-- 1 nagios nagios 4826 Jan 7 04:31 checkcommands.cfg
-rw-rw-r-- 1 nagios nagios 4826 Jan 7 04:27 checkcommands.cfg-sample
-rw-r--r-- 1 root nagios 47 Jan 7 04:55 htpasswd.users
-rw-r--r-- 1 nagios nagios 13789 Jan 7 04:35 minimal.cfg
-rw-rw-r-- 1 nagios nagios 13757 Jan 7 04:27 minimal.cfg-sample
-rw-r--r-- 1 nagios nagios 4305 Jan 7 04:31 misccommands.cfg
-rw-rw-r-- 1 nagios nagios 4305 Jan 7 04:27 misccommands.cfg-sample
-rw-r--r-- 1 nagios nagios 30780 Jan 7 04:30 nagios.cfg
-rw-rw-r-- 1 nagios nagios 30780 Jan 7 04:27 nagios.cfg-sample
-rw-r----- 1 nagios nagios 1335 Jan 7 04:30 resource.cfg
-rw-rw---- 1 nagios nagios 1335 Jan 7 04:27 resource.cfg-sample
It looks like all the (relevant) files are available for reading.
I am compiling lsof now.
Thanks for the sugestion.
On Sun, 8 Jan 2006, Arno Lehmann wrote:
Date: Sun, 08 Jan 2006 13:24:51 +0100
From: Arno Lehmann <[EMAIL PROTECTED]>
To: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] ping hanging.
Hello,
On 1/7/2006 10:32 PM, Marc Powell wrote:
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:nagios-users-
[EMAIL PROTECTED] On Behalf Of Hammond, Robin-David%KB3IEN
Sent: Friday, January 06, 2006 10:02 PM
To: nagios-users@lists.sourceforge.net
Subject: [Nagios-users] ping hanging.
...
/Warning: Attempting to execute the command "/check_ping -H 4400::34
-w
3000.0,80% -c 5000.0,100% -p 1 -t 10 -6" resulted in a return code of
127.
Make sure the script or binary you are trying to execute actually
exists...
over and over.
this is particularly confusiong as i never reran configure nor did I
ever
uninstall the /check_ping programme it is still in place and
executable.
Hmm. I *really* hope you never installed the plugins in your root directory.
Any ideas?
Return code 127 means that the plugin was not found in the location
specified in the command definition. Nagios is apparently trying to
execute /check_ping and not /path/to/check_ping (usually
/usr/local/nagios/libexec/check_ping). There are four primary
possibilities --
1) your command definition does not utilize the $USER1$ macro in
the command_line i.e. 'command_line $USER1$/check_ping -H ...'
2) you have manually specified the incorrect path in the
command_line i.e. 'command line /check_ping -H ...'
3) $USER1$ is not set to the correct plugins path in
resource.cfg
4) you have not included resource.cfg as a resource_file in
nagios.cfg
One other possibility I encountered:
When the resource.cfg file is not readable by nagios, the above happens after
nagios reloaded its configuration. The initial configuration file access
happens before nagios drops its rights (when started as root), but
afterwards, during operation, it's simply no longer permitted to read the
resource.cfg... he easy work-around is a chown on the file followed by
another configuration reload.
Arno
--
Marc
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log
files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
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
--
IT-Service Lehmann [EMAIL PROTECTED]
Arno Lehmann http://www.its-lehmann.de
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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
Microsoft: Where do you want to go tomorrow?
Linux: Where do you want to go today?
BSD: Are you guys coming, or what?
Robin-David Hammond KB3IEN
www.aresnyc.org.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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