[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

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

Reduce (shrink) and resize raw disk at Proxmox

Apache 2.4 + mod_wsgi + Python 3.7 + Django installation on Centos 7.10