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.
Plugins 2.1.3 + NRPE v3.0.1 on CentOS 7 Master/Slave config
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Plugins 2.1.3 + NRPE v3.0.1 on CentOS 7 Master/Slave con
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
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
-
dwhitfield
- Former Nagios Staff
- Posts: 4583
- Joined: Wed Sep 21, 2016 10:29 am
- Location: NoLo, Minneapolis, MN
- Contact:
Re: Plugins 2.1.3 + NRPE v3.0.1 on CentOS 7 Master/Slave con
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!