[smokeping-users] Re: Smokeping patch: pass prevmatch state to alert matchers?

Dylan Vanderhoof DylanV at semaphore.com
Wed Jul 12 19:46:16 MEST 2006


Sure.  Matchers are attached.  I'm sure there's a way to do this without
the alert being edgetriggered w/ state, but this lets you use an equal
length clearing time in the same alert, which is nice for piped alerts
in applications.
Thanks for including the patch!  (And for smokeping, for that matter)

-Dylan

> -----Original Message-----
> From: Niko Tyni [mailto:ntyni+smokeping-users at mappi.helsinki.fi] 
> Sent: Wednesday, July 12, 2006 10:38 AM
> To: Dylan Vanderhoof
> Cc: smokeping-users at list.ee.ethz.ch
> Subject: Re: [smokeping-users] Smokeping patch: pass 
> prevmatch state to alert matchers?
> 
> 
> On Mon, Jul 10, 2006 at 02:22:54PM -0700, Dylan Vanderhoof wrote:
> > Any chance of getting this one-line patch in smokeping?
> > 
> > All it does is add the current state of an edge triggered 
> alert to the
> > data passed into a matcher, which allows for somewhat more 
> intelligent
> > alerting due to state awareness.  It should not have any bearing on
> > existing matchers (unless they're doing a keys() on $data, 
> which I can't
> > figure out why somebody would want to)
> 
> Hi,
> 
> this looks good to me. Thanks. Applied in the SVN repository, will be
> in the next release unless Tobi objects.
> 
> If you have an alert matcher plugin using this that might be of use to
> others, please consider sharing it as well.
> 
> Cheers,
> -- 
> Niko Tyni	ntyni at iki.fi
> 

-- Attached file removed by Ecartis and put at URL below --
-- Type: application/octet-stream
-- Desc: CheckLatency.pm
-- Size: 2k (2991 bytes)
-- URL : http://lists.ee.ethz.ch/p/CheckLatency.pm


-- Attached file removed by Ecartis and put at URL below --
-- Type: application/octet-stream
-- Desc: CheckLoss.pm
-- Size: 2k (2894 bytes)
-- URL : http://lists.ee.ethz.ch/p/CheckLoss.pm


--
Unsubscribe mailto:smokeping-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:smokeping-users-request at list.ee.ethz.ch?subject=help
Archive     http://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi



More information about the smokeping-users mailing list