stderr: execvp(/usr/local/nagios/libexec/check_ping, ...) fa
stderr: execvp(/usr/local/nagios/libexec/check_ping, ...) fa
I'm receiving this error in nagios (the gui), in Currents Status --> Hosts:
stderr: execvp(/usr/local/nagios/libexec/check_ping, ...) failed. errno is 2: No such file or directory
stderr: execvp(/usr/local/nagios/libexec/check_ping, ...) failed. errno is 2: No such file or directory
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: stderr: execvp(/usr/local/nagios/libexec/check_ping, ...
Is this in the status information column of all hosts or just one host?
A screenshot might help.
A screenshot might help.
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: stderr: execvp(/usr/local/nagios/libexec/check_ping, ...
Screenshot attached.Box293 wrote:Is this in the status information column of all hosts or just one host?
A screenshot might help.
- Box293
- Too Basu
- Posts: 5126
- Joined: Sun Feb 07, 2010 10:55 pm
- Location: Deniliquin, Australia
- Contact:
Re: stderr: execvp(/usr/local/nagios/libexec/check_ping, ...
Can you please post:
- One of these host definitions
If they use a template, the template definition
The command definition used by the host or the template
As of May 25th, 2018, all communications with Nagios Enterprises and its employees are covered under our new Privacy Policy.
Re: stderr: execvp(/usr/local/nagios/libexec/check_ping, ...
I'm sorry, I can't find my host definitions. Where do I find this again? In the Nagios host or Nagios server? What is the usual path?Box293 wrote:Can you please post:
- One of these host definitions
If they use a template, the template definition
The command definition used by the host or the template
Re: stderr: execvp(/usr/local/nagios/libexec/check_ping, ...
Usually it's in the /usr/local/nagios/etc/ directory or a sub directory stemming from that one. Where did you create the file for the host 'ora_linux7_xxxxxxxxxx'?
Did you install the plugins when you installed core?
Can you post the result of the following command?
Did you install the plugins when you installed core?
Can you post the result of the following command?
Code: Select all
ls /usr/local/nagios/libexec
Former Nagios Employee
Re: stderr: execvp(/usr/local/nagios/libexec/check_ping, ...
I'm not sure what you mean by where did I create the file. It's on another VM, on a different IP address.rkennedy wrote:Usually it's in the /usr/local/nagios/etc/ directory or a sub directory stemming from that one. Where did you create the file for the host 'ora_linux7_xxxxxxxxxx'?
Did you install the plugins when you installed core?
Can you post the result of the following command?Code: Select all
ls /usr/local/nagios/libexec
Yes, I think I installed the plugins, but it's been a couple weeks, I don't quite remember.
For the command (on the nagios server), I got:
Code: Select all
[root@nagios etc]# ls /usr/local/nagios/libexec
check_nrpe eventhandlersRe: stderr: execvp(/usr/local/nagios/libexec/check_ping, ...
Looks like you need to install Nagios plugins on the host server. This should work to install them -
Let us know if you run into any issues.
Code: Select all
cd /tmp
wget http://www.nagios-plugins.org/download/nagios-plugins-2.1.1.tar.gz
tar xvf nagios-plugins-2.1.1.tar.gz
./configure --with-nagios-user=nagios --with-nagios-group=nagios
make
make install
Former Nagios Employee
Re: stderr: execvp(/usr/local/nagios/libexec/check_ping, ...
Looks like I already ran into an issue for the host:rkennedy wrote:Looks like you need to install Nagios plugins on the host server. This should work to install them -Let us know if you run into any issues.Code: Select all
cd /tmp wget http://www.nagios-plugins.org/download/nagios-plugins-2.1.1.tar.gz tar xvf nagios-plugins-2.1.1.tar.gz ./configure --with-nagios-user=nagios --with-nagios-group=nagios make make install
Code: Select all
[root@XEN1 tmp]# ./configure --with-nagios-user=nagios --with-nagios-group=nagios
-bash: ./configure: No such file or directory
Re: stderr: execvp(/usr/local/nagios/libexec/check_ping, ...
You need to change into the nagoios-plugins directory after you untar it.
Former Nagios Employee.
me.
me.