Clarification on Check_Load Plugin

Jelle Smet nagios at smetj.net
Sat Mar 27 10:51:33 CET 2010


> My question is: How does the plugin claculate the 1 min avg load , 5 min 
> avg load and 15 min avg load.

Hi Jatin,
The Nagios plugins doesn't calculate anything, it just read the load averages
produced by the Linux/*nix OS itself.
Have a look at this article: http://www.linuxjournal.com/article/9001?page=0,0

If you execute following commands on the command line of your linux box you'll
see the numbers originate from your os itself:

#top
#w
#cat /proc/loadavg
#uptime
... most likely a couple more

The only thing the load plugin does is evaluating the threshold you defined to
the value returned by your OS.

Hope it helps

Jelle




------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. 
::: Messages without supporting info will risk being sent to /dev/null





More information about the Users mailing list