-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Nguyen, Tham wrote:
| I also checked under /usr/local/nagios/libexec folder and check_icmp is
| running under user root. I changed root to nagios user and it produced
| the same error.
|
| -rwxrwxrwx 1 root root 85170 May 15 16:26 check_icmp
This
Nguyen, Tham wrote:
Okay the problem is solved.
Before I had this in the localhost.cfg:
define service{
use generic-service
host_namesun-ae-server001
service_description ICMP
Hi,
I defined the check_icmp service in my localhost.cfg commands.cfg
files on the monitoring server and got this warning:
ICMP UNKNOWN 05-29-2008 11:08:33 0d 1h 54m 20s 3/3 Warning:
This plugin must be either run as root or setuid root.
commands.cfg
define command{
Nguyen, Tham wrote:
I also checked under /usr/local/nagios/libexec folder and check_icmp is
running under user root. I changed root to nagios user and it produced
the same error.
-rwxrwxrwx 1 root root 85170 May 15 16:26 check_icmp
This file is OWNED by root, not RUN as root.
Your
On May 29, 2008, at 1:35 PM, Nguyen, Tham wrote:
Hi,
I defined the check_icmp service in my localhost.cfg commands.cfg
files on the monitoring server and got this warning:
ICMP UNKNOWN 05-29-2008 11:08:33 0d 1h 54m 20s 3/3
Warning: This plugin must be either run as root or
must be either run as root or setuid root.
-Original Message-
From: Mathieu Gagné [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2008 11:59 AM
To: Nguyen, Tham
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] check_icmp issues warning and does not run
!!!
From: Nguyen, Tham
Sent: Thursday, May 29, 2008 1:54 PM
To: 'Mathieu Gagné'
Cc: nagios-users@lists.sourceforge.net
Subject: RE: [Nagios-users] check_icmp issues warning and does not run
Thanks Mathieu for your response. However, after changing the setuid bit, I am
still
The setuid bit works though; just the config file is not set properly.
The error message (Warning: This plugin must be either run as root or
setuid root ) is ambiguous!!!
check_nrpe means it will be run on the remote host, not the local
host. Please make sure the setuid bit is also set
Thanks Mathieu.
-Original Message-
From: Mathieu Gagné [mailto:[EMAIL PROTECTED]
Sent: Thursday, May 29, 2008 3:24 PM
To: Nguyen, Tham
Cc: nagios-users@lists.sourceforge.net
Subject: Re: [Nagios-users] check_icmp issues warning and does not run
The setuid bit works though; just