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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-23-2003, 08:54 AM
|
#1
|
|
LQ Newbie
Registered: May 2003
Posts: 4
Rep:
|
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.
|
|
|
|
05-23-2003, 09:01 AM
|
#2
|
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
|
05-23-2003, 10:19 AM
|
#3
|
|
LQ Newbie
Registered: May 2003
Posts: 4
Original Poster
Rep:
|
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 
|
|
|
|
05-24-2003, 05:17 AM
|
#4
|
|
Senior Member
Registered: May 2001
Location: Bristol, UK
Distribution: Slackware, Fedora, RHES
Posts: 2,243
Rep:
|
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...
|
|
|
|
06-25-2003, 08:31 AM
|
#5
|
|
LQ Newbie
Registered: Jun 2003
Location: Stamford, CT
Distribution: slackware, redhat
Posts: 4
Rep:
|
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?
|
|
|
|
06-25-2003, 08:35 AM
|
#6
|
|
LQ Newbie
Registered: Jun 2003
Location: Stamford, CT
Distribution: slackware, redhat
Posts: 4
Rep:
|
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."
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 09:06 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|