plugins problem

Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
Locked
mohd khalid
Posts: 6
Joined: Sun Mar 02, 2014 9:26 am

plugins problem

Post 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
slansing
Posts: 7698
Joined: Mon Apr 23, 2012 4:28 pm
Location: Travelling through time and space...

Re: plugins problem

Post 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
mohd khalid
Posts: 6
Joined: Sun Mar 02, 2014 9:26 am

Re: plugins problem

Post by mohd khalid »

Thanks i fixed it by just defining commands after nrpe like this :

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