You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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# getcap /usr/lib/nagios/plugins/check_icmpWarning: 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:
/usr/lib/nagios/plugins/check_icmp = cap_net_raw+ep
The text was updated successfully, but these errors were encountered: