Support forum for Nagios Core, Nagios Plugins, NCPA, NRPE, NSCA, NDOUtils and more. Engage with the community of users including those using the open source solutions.
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:
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
}
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?