On Thu, Sep 15, 2005 at 01:26:35PM -0500, James Bouressa wrote:
 
> My understanding of this is that for this (excerpted) config:
> =======================================
> *** Alerts ***
> to = [EMAIL PROTECTED]
> from = [EMAIL PROTECTED]
> 
> [snip]
 
> # this will email tom
> +++ foo
> menu = foo
> title = foo
> host = foo
> probe = FPing
> alerts = bigloss,someloss,startloss
> 
> # this will email tom and dick
> +++ bar
> menu = bar
> title = bar
> host = bar
> probe = FPing
> alerts = bigloss,someloss,startloss
> alertee = [EMAIL PROTECTED]
> 
> 
> # this will email tom, dick and harry?
> +++ baz
> menu = baz
> title = baz
> host = baz
> probe = FPing
> alerts = bigloss,someloss,startloss
> alertee = [EMAIL PROTECTED]
> =======================================
> 
> There is no way to have the "baz" section email JUST [EMAIL PROTECTED] 
> (in this example?).

Right, there's currently no way to override the recipient list in the
'Alerts' section. Might be useful, though - I'll add it to the TODO list.

> What about this way, would this configuration JUST email Harry for "baz" 
> alerts?:
> 
> =======================================
> *** Alerts ***
> to = /dev/null
> from = [EMAIL PROTECTED]

This syntax (/dev/null) probably won't work, but piping to eg.
/bin/true might. 

to = |/bin/true

> [snip]
 
> # this will email just tom?
> +++ foo
> menu = foo
> title = foo
> host = foo
> probe = FPing
> alerts = bigloss,someloss,startloss
> alertee = [EMAIL PROTECTED]

(and so on.) Yes, I think this should work.


Note that up to and including Smokeping 2.0.1 the smokeping_config
document was missing explanations on some of the 'Alerts' section
variables.  This has been fixed in 2.0.2. The doc on the website is
also up to date.

HTH,
-- 
Niko

--
Unsubscribe mailto:[EMAIL PROTECTED]
Help        mailto:[EMAIL PROTECTED]
Archive     http://lists.ee.ethz.ch/smokeping-users
WebAdmin    http://lists.ee.ethz.ch/lsg2.cgi

Reply via email to