[smokeping-users] Performing E-mail Alerts

John Heyer jheyer at real.com
Wed Mar 19 07:04:24 CET 2008


Duh...I knew it was something obvious.

Last question - is it possible to only send the e-mail alert once or
twice and not every 5 minutes?

On Fri, 2008-03-14 at 21:54 -0400, Peter Kristolaitis wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> You need to actually define your alerts and then assign them to hosts.
> Simple example:
> 
> *** Alerts ***
> to = whoever at somewhere.com
> from = smoke at somewhere.com
> 
> +hostdown
> type = loss
> pattern = <100%,>99%,>99%
> comment = Host is down
> 
> +highping
> type = rtt
> pattern = <50,<50,<50,>300,>300
> comment = Higher than normal ping rate
> 
> *** Targets ***
> probe = yourDefaultProbe
> menu = Foo
> title = Foo Bar
> alerts = hostdown,highping
> 
> +host1
> # Inherits hostdown & highping alerts
> ++host2
> # Inherits hostdown & highping alerts
> ++host3
> # Override alerts: Only use hostdown alerts for this host
> # and its children
> alerts = hostdown
> ++host4
> # Overrides alerts: Disable ALL alerts for this host
> # and its children
> alerts =
> 
> The different ways to set up alert patterns, matchers, etc. are fully
> documented online at
> http://oss.oetiker.ch/smokeping/doc/smokeping_config.en.html or in your
> man pages.
> 
> Cheers,
> 
> 
> John Heyer wrote:
> | I'm trying to get Alerts up and running to take over for Nagios, and am
> | not getting anywhere.  Anything obvious I'm missing?
> |
> | --------------
> |
> | # Location of Sendmail
> | sendmail = /usr/sbin/sendmail
> |
> | # tMail config file
> | tmail = /etc/smokeping/tmail
> |
> | *** Alerts ***
> | to = jheyer at real.com
> | from = smokeping at net.real.com
> |
> |
> | _______________________________________________
> | smokeping-users mailing list
> | smokeping-users at lists.oetiker.ch
> | https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users
> 
> 
> - --
> Peter Kristolaitis
> DBA / Code Monkey / General Geek
> 
> OpenPGP/GPG Key available from pgp.mit.edu
> 
> Key Fingerprint: 695D 7616 9903 6002 5756
> ~                 D234 6E96 34B2 F974 14FE
> 
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
> 
> iD8DBQFH2yxCbpY0svl0FP4RAiPSAKCi2iGczbqu4CtcWRTPxJgbpy55/QCbBsdJ
> 8JtSiiHbS6qK7yDGwyuECB0=
> =qh/O
> -----END PGP SIGNATURE-----



More information about the smokeping-users mailing list