O'Reilly logo

Nagios, 2nd Edition by Wolfgang Barth

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

7.3 Testing the System Load

The load on a system can be seen from the number of simultaneously running processes, which is tested by the check_load plugin. With the help of the uptime program, it determines the average value for the last minute, the last five minutes, and the last 15 minutes. uptime displays these values in this sequence after the keyword load average:

user@linux:~$ uptime
16:33:35 up    7:05, 18 users, load average: 1.87, 1.38, 0.74

check_loadhas only two options (the two limit values), but these can be specified in two different ways:

-w limit / --warning=limit

This option specifies the warning limit either as a simple floating point decimal (5.0) or as a comma-separated triplet containing three floating point decimals (10.0,8.0,5.0 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required