Change "Procs Critical" threshold
Jonathan Wiggins
jwiggins at salon.com
Mon Nov 22 22:58:39 CET 2010
On Nov 19, 2010, at 5:48 PM, C. Bensend wrote:
>
>> I had another question regarding adjusting these thresholds, this time on
>> localhost. It regards the Current Load parameter, which is giving me a
>> Critical Load average of -- 2.47, 3.43, and 4.06
>>
>> in localhost.cfg, /usr/local/nagios/etc/objects/localhost.cfg, I have this
>>
>> define service{
>> use local-service ; Name of
>> service template to use
>> host_name localhost
>> service_description Current Load
>> check_command
>> check_local_load!5.0,4.0,3.0!10.0,6.0,4.0
>> }
>>
>> which I actually went and adjusted to :
>>
>> check_command check_local_load!7.0,4.0,3.0!10.0,6.0,4.0
>>
>> I restarted the Nagios service..but this didn't have any effect -- the
>> status information still reads the same -- Critical Load Average - 2.47,
>> 3.43, 4.06
>
>> From the help for check_load (which I'm assuming you're using
> in the command definition):
>
> Usage:check_load [-r] -w WLOAD1,WLOAD5,WLOAD15 -c CLOAD1,CLOAD5,CLOAD15
>
> So, in your service definition, you're telling check_load that you
> want to trigger a critical condition if the 15 minute average is 4.0.
>
> Yours is 4.06. So, yes, it's critical. :)
>
> WLOAD1 = 1 minute average warning threshold
> WLOAD5 = 5 minute average warning threshold
> WLOAD15 = 15 minute average warning threshold
>
> CLOAD1 = 1 minute average critical threshold
> CLOAD5 = 5 minute average critical threshold
> CLOAD15 = 15 minute average critical threshold
>
> If you want your 15 minute average to *not* trigger a critical, you
> need to adjust that last value (4.0) to something higher.
>
> Benny
>
>
That sounds logical, and this is what I've adjusted:
check_command check_local_load!8.0,5.0,4.0!12.0,7.0,6.0
but I've restarted the nagios process and the alert still persists. I dont see anything in nagios.log or /var/log/messages related to this either.
what could I be missing?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.monitoring-lists.org/archive/users/attachments/20101122/6b4b1cd3/attachment.html>
-------------- next part --------------
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
-------------- next part --------------
_______________________________________________
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