Page 2 of 2
Re: Plugins 2.1.3 + NRPE v3.0.1 on CentOS 7 Master/Slave con
Posted: Fri Nov 18, 2016 10:19 am
by dwhitfield
If changing the file name doesn't work run updatedb then locate check_total_procs.
If that produces nothing, then you can use the find command to try to find it.
Re: Plugins 2.1.3 + NRPE v3.0.1 on CentOS 7 Master/Slave con
Posted: Sun Nov 20, 2016 6:29 pm
by wice22
From what I've understood check_total_procs in the process description
define service{
use generic-service
host_name dns.lamp
service_description Total Processes
check_command check_nrpe!check_total_procs
}
is not a name of the plugin, its a given name to be called in the command description
so the command I have looks like :
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -H 10.0.0.4 -w 150 -c 200
So if I'm right then everything is correct
but I did try both ways, including changing the service name to check_procs
and restarted nagios, httpd, xinetd but nothing changed, web interface is til down
I also did try # find / -name "check_total_procs"
No result found.
Regards
Re: Plugins 2.1.3 + NRPE v3.0.1 on CentOS 7 Master/Slave con
Posted: Mon Nov 21, 2016 10:53 am
by dwhitfield
Could you post or PM you /usr/local/nagios/etc/nagios.cfg? You are limited to 3 uploads per post, so that's probably why it didn't post before. Thanks!