Storing thresholds on client


I’m using NSClient++ , running under windows 2008 and up, with op5 as the monitoring tool. I’m trying to figure out how I can store/maintain the warning/crit thresholds on the client, rather than on the monitoring server. The check commands I’m runnning are the standard ones, CheckCPU, CheckDriveSize,etc.

Can anyone point me in the right direction on this? Would I want to do this using external scripts?

For example, I want the CheckCPU command to run, but pull the warning and critical thresholds from the client. Thanks


You can store them in the nrpe.cfg file (i.e. hardcode them into the check)


command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w 150 -c 200

instead of

command[check_total_procs]=/usr/lib64/nagios/plugins/check_procs -w $ARG1$ -c $ARG2$