I'm using check_icmp module and have check_host linked to it. In order for the plugin to function correctly it must, like the /bin/ping program, be run as the user root. So i gave him setuid root manually. When i re-emerged nagios-plugins the binary got overwritten with a non-setuid one. And my nagios host check stopped working. I know people dont always like setuid root programs, but there is no point in having check_icmp without suid root. have a nice day, bud
Hi, I got this again with the update to the new nagios-plugins version. So when you get: check_icmp: Failed to obtain ICMP socket: Operation not permitted it can be fixed by: chown root /usr/nagios/libexec/check_icmp chmod 4711 /usr/nagios/libexec/check_icmp and to check if its working: sudo -u nagios /usr/nagios/libexec/check_icmp localhost Have a nice day, bud
Fixed in nagios-plugins-1.4.8