Even if check_icmp has the capabilities to work, it complains about needed
root privilidges:

waja@bb:~$ /usr/lib/nagios/plugins/check_icmp -H google.com
Warning: This plugin must be either run as root or setuid root.
To run as root, you can use a tool like sudo.
To set the setuid permissions, use the command:
        chmod u+s yourpluginfile
OK - google.com: rta 17.559ms, lost 0%|rta=17.559ms;200.000;500.000;0;
pl=0%;40;80;; rtmax=17.635ms;;;; rtmin=17.387ms;;;; 
bb:~# getcap /usr/lib/nagios/plugins/check_icmp
/usr/lib/nagios/plugins/check_icmp = cap_net_raw+ep


-- 
Reply to this email on GitHub:
https://github.com/monitoring-plugins/monitoring-plugins/issues/1269

Reply via email to