Nagios 4.0.7 update threw error: "Failed to get process status"
I updated mine nagios core
to 4.0.7
and there are some errors when logging into my nagios web interface.
Firstly, there is an error message on the home page: Unable to get process status
.
Secondly, nagios
it seems that he can not perform any of its plug-in commands that reflect the team localhost : check_ping
, returning the following information about the condition (No output on stdout) stderr: execvp(/opt/nagios/nagios/libexec/check_ping, ...) failed. errno is 2: No such file or directory
.
The problem is obvious here, it is trying to execute plugin commands from the wrong directory. After the update, all plugin commands are located in /usr/local/nagios/libexec
. How do I tell nagios
where to look for default commands?
Thank.
source to share
I know this is an old thread, but for others who may find it, I had plugins in a folder other than / opt / nagios / libexec /
Which is fixed to copy the plugins from where they were to the folder Nagios expects them to be.
For example: cp -RL / usr / local / nagios / libexec / * / opt / nagios / libexec /
source to share