can someone explain alias_cpu_ex=checkCPU

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.
Locked
araiot
Posts: 5
Joined: Fri Jul 29, 2011 12:37 pm

can someone explain alias_cpu_ex=checkCPU

Post by araiot »

please explain:
alias_cpu_ex=checkCPU warn=$ARG1$ crit=$ARG2$ time=5m time=1m time=30s
agriffin
Posts: 876
Joined: Mon May 09, 2011 9:36 am

Re: can someone explain alias_cpu_ex=checkCPU

Post by agriffin »

This is an command alias for NSClient++ found in its configuration file (usually C:\Program Files\NSClient++\NSC.ini). The command reports the average CPU usage from the last 5 minutes, 1 minute, and 30 seconds. $ARG1$ and $ARG2$ are macros that will be replaced with user-specified values. A notification will be triggered when the CPU usage exceeds the warning level ($ARG1$) and when the CPU usage exceeds the critical level ($ARG2$).
Locked