Hello Team
We do have a nagios Core (Version 4.3.4) running on Ubuntu 16.04 successfuly.Tried to install VMware-vSphere-Perl-SDK-6.5.0-4566394.x86_64.tar.gz inorder to monitor ESxi hosts.After follwing the pre-requisites and installation all the monitoring agents (for all the hosts monitored not the ESx hosts) started giving below error.We even uninstalled VMware-vSphere-Perl-SDK-6.5.0 still the same .
Any help is highly appreciated
Thanks in advance
(No output on stdout) stderr: execvp(/check_cpu, ...) failed. errno is 2: No such file or directory Version 4.3.4
CRITICAL 01-22-2019 02:00:45 0d 0h 0m 32s 1/6 (No output on stdout) stderr: execvp(/check_load, ...) failed. errno is 2: No such file or directory
RAM Usage
CRITICAL 01-22-2019 02:01:15 0d 0h 0m 2s 1/6 (No output on stdout) stderr: execvp(/check_mem, ...) failed. errno is 2: No such file or directory
Root Partition
CRITICAL 01-22-2019 02:00:57 0d 0h 0m 20s 1/6 (No output on stdout) stderr: execvp(/check_disk, ...) failed. errno is 2: No such file or directory
Getting (No output on stdout) stderr Error in Nagios
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Getting (No output on stdout) stderr Error in Nagios
it looks like either the path to check_load us not defined correctly in the command definition, or it is referencing a variable that doesn't exist.
Can you post your command definition along with the resource.cfg from the installation
Can you post your command definition along with the resource.cfg from the installation
Re: Getting (No output on stdout) stderr Error in Nagios
Here is it
define command {
command_name check_local_load
command_line $USER1$/check_load -w $ARG1$ -c $ARG2$
}
define command {
command_name check_local_disk
command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
}
Nothing in resource.cfg file
Not only this but all services swap,memory,uptime everything is giving same std out error
define command {
command_name check_local_load
command_line $USER1$/check_load -w $ARG1$ -c $ARG2$
}
define command {
command_name check_local_disk
command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
}
Nothing in resource.cfg file
Not only this but all services swap,memory,uptime everything is giving same std out error
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Getting (No output on stdout) stderr Error in Nagios
Add the following to resource.cfg where /usr/local/nagios/libexec is the path to your plugins
Code: Select all
# Path to the plugins
$USER1$=/usr/local/nagios/libexec
Re: Getting (No output on stdout) stderr Error in Nagios
yes did it .. still didnt work .. had to reinstall the nagios core finaly
-
- DevOps Engineer
- Posts: 19396
- Joined: Tue Nov 15, 2011 3:11 pm
- Location: Nagios Enterprises
- Contact:
Re: Getting (No output on stdout) stderr Error in Nagios
After re-installing Core did it work successfully?dpa.clt wrote:yes did it .. still didnt work .. had to reinstall the nagios core finaly