Thursday, August 29, 2013

[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)

3 comments:

  1. Valeu ...já estava alguns dias tentando resolver esse problema, no meu caso era o check_icmp executei o comando acima e resolveu. Obrigado.

    ReplyDelete

Cybermap

Internet Storm Center Infocon Status

Internet Storm Center Infocon Status
Internet Storm Center Infocon Status