State Stalking and notifications

Marc Powell marc at ena.com
Wed Feb 20 16:55:19 CET 2008



> -----Original Message-----
> From: nagios-users-bounces at lists.sourceforge.net [mailto:nagios-users-
> bounces at lists.sourceforge.net] On Behalf Of Frost, Mark {PBG}
> Sent: Wednesday, February 20, 2008 9:46 AM
> To: Nagios Users Mailinglist
> Subject: [Nagios-users] State Stalking and notifications
> 
> 
> On more than a few occasions, I've had users ask me if it's possible
to
> have alerts sent if the output of a check changes.  That is, if you


> I see that volatile checks are more about notifications, however they
> will send a notification every time the service comes back non-OK
(i.e.
> even if the check output is exactly the same) which is not what we
want.
> 
> I'm guessing the answer here is "Nagios can't do that", but I thought
> I'd ask anyway.

Nagios can't do that.

However, you can but it's not necessarily convenient. I would approach
it as having intimate control over the notification script. It's
certainly possible to specify a notification script for that service
that tracks the previous output, status and other information and
notifies appropriately. Combine that with the volatile setting and you
have a way to do what you want outside of nagios.

--
Marc

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
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