CPU Usage arguments

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
Locked
steve.chambers
Posts: 17
Joined: Wed Aug 14, 2013 10:43 am

CPU Usage arguments

Post by steve.chambers »

I am looking at the configuration for CPU Usage (which is set to the defaults) on my Windows 2012-based VM and they look like this:

check_xi_service_nsclient![PASSWORD]CPULOAD!-l 5,80,90

And I cant locate where the description of what each number specifies. Feeling a bit silly but I can't locate where this info is anywhere in the documentation. I assume it is percentages of CPU load but what does each number specifically signify?

Also is there somewhere that has a listing of all the command arguments and what each is?

thx

Steve
jdalrymple
Skynet Drone
Posts: 2620
Joined: Wed Feb 11, 2015 1:56 pm

Re: CPU Usage arguments

Post by jdalrymple »

It is not at all obvious where you should expect to find documentation on that. Under the hood you're running a check_nt, so you can find the usage here:

https://www.monitoring-plugins.org/doc/ ... ck_nt.html

Code: Select all

CPULOAD =
  Average CPU load on last x minutes.
  Request a -l parameter with the following syntax:
  -l <minutes range>,<warning threshold>,<critical threshold>.
  <minute range> should be less than 24*60.
  Thresholds are percentage and up to 10 requests can be done in one shot.
  ie: -l 60,90,95,120,90,95
So for you, you're looking for a CPU average over 5 minutes, >80% is Warning, >90% is Critical.
Locked