Visit Our UNIX and Linux User Community


Setting Nagios warning and critical load threshold?

 
Thread Tools Search this Thread
Special Forums UNIX and Linux Applications Infrastructure Monitoring Setting Nagios warning and critical load threshold?
# 1  
Old 11-04-2012
Setting Nagios warning and critical load threshold?

Hii everyone.

I am here with a new query hoping linux gurus can help me.

we have server that was cloned from physical to virtual. Now the load on this server has tremendously reduced. But the threshold set are w.r.t physical server and we do not receive any alert for load as the increased load always falls below previously set threshold.

Now I need to set the warning and critical threshold w.r.t virtual server.

I created a cronjob to record a load on server every 5 mins. Now after couple of weeks I got a load average with 1000s of samples.

Can someone help me with how can I set warning and critical threshold with the help of these load samples?

btw, the server has only one core.

Following is the file containing the samples. Open it with Wordpad or MSWord.

app02.load.final
# 2  
Old 11-07-2012
What do you plan to do with critical? The thresholds should be easily configurable, so you can adjust them to avoid aggravation but have them still act before they are locked out.

The load average can be high for a long time due to valid use without being a problem. For instance, an overly simple script may spawn many background jobs that punch it up until they are done, and they may be running at higher nice so other apps are still serviced. You bought the CPU with every intent of using it, and having a big queue means it never has an idle moment.

Thrashing might be more of a worry. I once wrote a simple app that read file names from stdin and mmap()'d the file for a fast string search, then unmap()'d it. I fed it with a find and rolled every other processes' pages out of RAM. Your VM may vary! Smilie

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. AIX

Perl error : perl: warning: Setting locale failed.

This's my problem perl: warning: Setting locale failed. perl: warning: Please check that your locale settings: LC_ALL = "en_US.UTF-8", LC__FASTMSG = "true", LC_MESSAGES = "", LC_CTYPE = "en_US.UTF-8", LC_TYPE = "en_US.UTF-8", LANG = "EN_US"... (1 Reply)
Discussion started by: bobochacha29
1 Replies

2. UNIX for Dummies Questions & Answers

VPS has load 200, httpd load no activity, netstat nothing

Hello, on my hostserver i see one VPS of mine got load of 200.00 and netstat nothing (not a single blank line on netstat command) after some time, netstat started showing connections, but i see no excessive IP connections. tail -f /var/log/httpd/access_log shows no activity /var/log/messages ;... (1 Reply)
Discussion started by: postcd
1 Replies

3. Infrastructure Monitoring

Nagios check dependent on second nagios server

We have a dual Nagios server setup. One is setup for internal server monitoring on our LAN, while the second Nagios server is hosted externally and is used for external checks only such as URL and ping checks form the WAN side. I was wondering if there is any way to setup cross dependencies... (1 Reply)
Discussion started by: eugenes18t
1 Replies

4. Solaris

setting up NAGIOS on solaris SPARC 10

Hi All Does anybody have configured successfully nagios on a solaris 10 system? I am having issues when running gmake all, I am having the following error: cp: includes/rss/extlib: is a directory *** Error code 2 make: Fatal error: Command failed for target `install' Current working... (0 Replies)
Discussion started by: fretagi
0 Replies

5. Red Hat

Nagios is sending critical false alerts about current users

Hello All, Nagios seems to be sending false alerts about few hosts, (ex: There were no users on one host and still Nagios was reporting a critical alert and says 6 users are logged in. How do I fix this one? Also, I have installed nagios and added 12 hosts as a start and monitoring few... (4 Replies)
Discussion started by: lovesaikrishna
4 Replies

6. Red Hat

Nagios is sending "Service Alert: CentOS 5/HTTP is WARNING"

Hello All, I have setup Nagios 3.2.3 on CentOS release 5.7 (Final) with the default config files and added 1 host to it and it is sending "Service Alert: CentOS 5/HTTP is WARNING" frequently, how do you fix this one? what are the additional files that need to be added so that I can monitor the... (0 Replies)
Discussion started by: lovesaikrishna
0 Replies

7. UNIX for Dummies Questions & Answers

threshold

Hi, I have a table with 14 columns. How can I filter the columns 2-14, so that I get only those rows back in which the data values are >= 6 in 5 or more columns. :confused: E.g. A 6 6 3 6 7 8 B 1 2 3 4 5 5 C 2 2 2 6 7 8 Here I should only get back the row A. I would like to work from... (5 Replies)
Discussion started by: danieladna
5 Replies

8. UNIX for Dummies Questions & Answers

Load Average threshold

What should be the threshold for load average of a quad core processor? What constitutes "good" and "bad" load average values? (2 Replies)
Discussion started by: proactiveaditya
2 Replies

9. Shell Programming and Scripting

Need help in wrting Load Script for a Load-Resume type of load.

hi all need your help. I am wrting a script that will load data into the table. then on another load will append the data into the existing table. Regards Ankit (1 Reply)
Discussion started by: ankitgupta
1 Replies

Featured Tech Videos