max_check_attempts ignores warnings?

Hugo van der Kooij hvdkooij at vanderkooij.org
Fri Dec 16 18:28:39 CET 2005


On Fri, 16 Dec 2005, Kurt Yoder wrote:

>
> On Dec 15, 2005, at 2:51 PM, Hugo van der Kooij wrote:
>
> > On Thu, 15 Dec 2005, Kurt Yoder wrote:
> >
> >> So I want check_attempts to only increment when I'm in critical
> >> state, *not* when I'm in warning state. Is it possible for me to
> >> configure nagios this way?
> >
> > It seems you only want the Critical events. Then why not remove the
> > Warnings from your notification?
>
> I've got notifications at "notification_options c,r", so I'm not
> sending notifications on warnings. I only wish this were that simple.
>
> I have some services that stay in a warning state for an extended
> time. Then when they go to critical, they immediately send out an
> alert. This is what I'd like to avoid.
>
> Is there no way to do this?

Use escalations for this. Just do not send out the message straigh off but
instead let the escaltion take care of that. This suggestion has been
handled recently on this mailinglist for a similar request.

Hugo.

-- 
	I hate duplicates. Just reply to the relevant mailinglist.
	hvdkooij at vanderkooij.org		http://hvdkooij.xs4all.nl/
		Don't meddle in the affairs of magicians,
		for they are subtle and quick to anger.


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
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