Skip to content

Instantly share code, notes, and snippets.

@gionn
gionn / gist:2941287
Last active October 6, 2015 05:08
Nagios/Icinga: "Warning: This plugin must be either run as root or setuid root."

Nagios: plugins needing root privilege

the check_dhcp, check_icmp and maybe others plugins require root privileges to run, because of the low-level packet mangling that they perform. but, in the interest of the "safe default", these plugins will not be installed with the suid bit set. there are two recommended ways about overriding this on your system:

  • set the suid bit with dpkg-statoverride: