LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 05-23-2003, 08:54 AM   #1
mdwillia
LQ Newbie
 
Registered: May 2003
Posts: 4

Rep: Reputation: 0
Question 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.
 
Old 05-23-2003, 09:01 AM   #2
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
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...
 
Old 05-23-2003, 10:19 AM   #3
mdwillia
LQ Newbie
 
Registered: May 2003
Posts: 4

Original Poster
Rep: Reputation: 0
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
 
Old 05-24-2003, 05:17 AM   #4
jharris
Senior Member
 
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243

Rep: Reputation: 46
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...
 
Old 06-25-2003, 08:31 AM   #5
mahasona
LQ Newbie
 
Registered: Jun 2003
Location: Stamford, CT
Distribution: slackware, redhat
Posts: 4

Rep: Reputation: 0
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?
 
Old 06-25-2003, 08:35 AM   #6
mahasona
LQ Newbie
 
Registered: Jun 2003
Location: Stamford, CT
Distribution: slackware, redhat
Posts: 4

Rep: Reputation: 0
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."
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Nagios configuration on redhat linux help needed !!! apache Linux - Software 2 09-14-2004 11:02 AM
About NAGIOS Redhat_guy Linux - Networking 3 06-30-2004 01:43 PM
About NAGIOS .. Redhat_guy Linux - Software 2 06-30-2004 08:13 AM
Nagios VincentB Linux - Software 3 09-09-2003 09:20 AM
Shel scripting: variables pointing to variables and case Dark_Helmet Programming 5 06-08-2003 11:07 AM


All times are GMT -5. The time now is 07:17 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration