check_icmp issues warning and does not run

Mathieu Gagné mgagne at iweb.com
Thu May 29 20:59:08 CEST 2008


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 Nagios process is probably running as "nagios". Therefore 
"check_icmp" is run as "nagios", not "root" by the Nagios process.

My understanding is that you should change the file's permission and set 
the "setuid bit" in order to allow "nagios" to run this file as "root".

--
Mathieu

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Nagios-users mailing list
Nagios-users at 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





More information about the Users mailing list