check_proc Question
Posted: Mon Jun 23, 2014 8:52 am
Hi,
I have a large cluster of servers which I would like to set a proc threshold of warn at 700 and critical at 800. Normally I've been setting the values on each server individually as follows in the nrpe.cfg:
Nagios server service in the object file:
This is not very efficient for when I need to adjust across multiple servers. Is there a better way of doing this, perhaps hard-coding it on the Nagios server itself?
Thank you very much!
I have a large cluster of servers which I would like to set a proc threshold of warn at 700 and critical at 800. Normally I've been setting the values on each server individually as follows in the nrpe.cfg:
Code: Select all
command[check_total_procs]=/usr/local/nagios/libexec/check_procs -w 700 -c 800Code: Select all
define service{
use generic-service
hostgroup_name hostgroup
service_description Total Processes
check_command check_nrpe!check_total_procs
max_check_attempts 1
check_interval 1
retry_check_interval 1
notification_period blah
}Thank you very much!