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

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

Post a Comment

Popular posts from this blog

Reduce (shrink) and resize raw disk at Proxmox

Securing the Pi-hole with fail2ban to prevent DNS Amplification attacks

How to clean DB from old logs in Magento 1.x