[CentOS] OT: Ping failed

Thu Dec 18 13:19:41 UTC 2008
nate <centos at linuxpowered.net>

Jun Salen wrote:
> Hi,
>
> The Ping service in Nagios has "unknown" status which was previously OK,
> this happens after i messed up some of the files owner and accidentally
> change it to Apache. Although I restored most of the file permission back to
> Root, the problem above still appears which I suspect is due to permission.
> Does anybody have idea where to look at.

>From what I can see nagios' check_ping monitor executes /bin/ping,
in which case you need to make sure /bin/ping is owned by root
and is setuid (chmod u+s /bin/ping)

nate