Page 1 of 1

can someone explain alias_cpu_ex=checkCPU

PostPosted: Mon Aug 01, 2011 12:04 pm
by araiot
please explain:
alias_cpu_ex=checkCPU warn=$ARG1$ crit=$ARG2$ time=5m time=1m time=30s

Re: can someone explain alias_cpu_ex=checkCPU

PostPosted: Tue Aug 02, 2011 2:08 pm
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$).