Re: [Nagios-users] check_icmp issues warning and does not run

2008-06-01 Thread Hugo van der Kooij
-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

Re: [Nagios-users] check_icmp issues warning and does not run

2008-05-30 Thread Andreas Ericsson
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

[Nagios-users] check_icmp issues warning and does not run

2008-05-29 Thread Nguyen, Tham
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{

Re: [Nagios-users] check_icmp issues warning and does not run

2008-05-29 Thread Mathieu Gagné
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

Re: [Nagios-users] check_icmp issues warning and does not run

2008-05-29 Thread Marc Powell
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

Re: [Nagios-users] check_icmp issues warning and does not run

2008-05-29 Thread Nguyen, Tham
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

Re: [Nagios-users] check_icmp issues warning and does not run

2008-05-29 Thread Nguyen, Tham
!!! 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

Re: [Nagios-users] check_icmp issues warning and does not run

2008-05-29 Thread Mathieu Gagné
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

Re: [Nagios-users] check_icmp issues warning and does not run

2008-05-29 Thread Nguyen, Tham
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