[SOLVED ]Nagios / Cenreon This plugin must be either run as root or setuid root.
Problem:
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 Example: 1. chown root:nagios check_dhcp 2. chmod u+s check_dhcp
some plugins needs chown apache:nagios
(otherwise plugin`s outcome is out of bounds 255)
Valeu ...já estava alguns dias tentando resolver esse problema, no meu caso era o check_icmp executei o comando acima e resolveu. Obrigado.
ReplyDeleteDe nada ! you're welcome :)
ReplyDeleteThank you.
ReplyDeleteissue got resolved.