LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Nagios check_load configuration variables (http://www.linuxquestions.org/questions/linux-software-2/nagios-check_load-configuration-variables-61350/)

mdwillia 05-23-2003 08:54 AM

Nagios check_load configuration variables
 
I am new to Linux and have installed Nagios which is up and running fine but now Im working on customizing the configuration. Im trying to determine exactly what the variables in the check_load and/or check_local_load commands signify. The syntax is:

check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15

where WLOAD is warning load and CLOAD is critical, but in what form ar the variables supposed to be in? percent? The examples I have seen use 1.00 or 2.00 type numbers but i am unsure what that actually refers to. Any help would be appreciated.

jharris 05-23-2003 09:01 AM

Quote:

From ./check_load --help
Usage: check_load -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15
check_load --version
check_load --help

Options:
-w, --warning=WLOAD1,WLOAD5,WLOAD15
Exit with WARNING status if load average exceeds WLOADn
-c, --critical=CLOAD1,CLOAD5,CLOAD15
Exit with CRITICAL status if load average exceed CLOADn
-h, --help
Print detailed help screen
-V, --version
Print version information

the load average format is the same used by "uptime" and "w"

So values like 0.8 1.2 1.6 etc etc.

cheers

Jamie...

mdwillia 05-23-2003 10:19 AM

Thanks, but do those numbers simply correspond to the percent load? ie. If i set WLOAD to .9 does that mean i will reach warning status at 90%? How are there values above 1.0 if that is the case? Im confused :confused:

jharris 05-24-2003 05:17 AM

No their not percentages. I've only recently read up on what they mean myself and don't have enough detail to hand to explain them. Have a google search for "linux load" or possibly "openbsd load" - I'm pretty sure that I read up on it at a OpenBSD site.

cheers

Jamie...

mahasona 06-25-2003 08:31 AM

I'm currently in the process of installing Nagios. Google is wonderful. But when using the check_load plugin, what do the values of WLOAD1, WLOAD5, WLOAD15 correspond to?

mahasona 06-25-2003 08:35 AM

Disregard that question. I found my answer:

"This plugin will check the load average on the local machine over 1, 5, and 15 minute time periods using the data found in the /proc/loadavg file."


All times are GMT -5. The time now is 08:45 PM.