check_icmp: with setcap enabled, but complains about suid (#1269)

waja notifications at
Wed Jul 2 17:45:15 CEST 2014

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

waja at bb:~$ /usr/lib/nagios/plugins/check_icmp -H
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 - 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:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the Devel mailing list