Page 1 of 1

plugins problem

Posted: Sun Apr 13, 2014 8:58 am
by mohd khalid
Hi all ,
i have problems when i use manually added plugins from exchange.nagios.org website , i get this error in the information status colomn of nagios web inetrface :

(No output on stdout) stderr: execvp(/usr/local/nagios/libexec/check_cpu, ...) failed. errno is 2: No such file or directory

although it works in the client side "solaris 10" . and when i use plugins installed by default " plugins v 2.15 " they work very well . any help please , i use nagios core 4.0.1 over Centos 6.5

Thanks

Re: plugins problem

Posted: Mon Apr 14, 2014 9:17 am
by slansing
Okay so it looks like this is actually occurring when you run NRPE checks to that server? Or are you using check_by_ssh? What are the permissions on that plugin on the remote host?:

Code: Select all

ls -la /usr/local/nagios/libexec/check_cpu

Re: plugins problem

Posted: Wed Apr 16, 2014 8:39 am
by mohd khalid
Thanks i fixed it by just defining commands after nrpe like this :

command_line /$USER1/check_nrpe -H $HOSTADDRESS$ -c $myplugin