[smokeping-users] smokeping email alerts

Dez Cadena dez at otenet.gr
Wed Jun 16 15:50:21 MEST 2004


I've been trying to set up simple email alerts for smokeping targets just to 
get the hang of it. I do not receive any email alerts and I cant seem to find
something wrong in my conf. Could anybody help?

Here's the relevant part of my config:

*** General ***

mailhost = smokehost.domain.com
sendmail = /usr/lib/sendmail
# specify this to get syslog logging
syslogfacility = local0

*** Alerts ***
to = nadm at domain.com
from = user at smokehost.domain.com

+testloss
type = loss
# in percent
pattern = ==0%,==0%,==0%,==0%,>0%
comment = test packet loss

+hostdown
type = loss
# in percent
pattern = ==0%,==0%,==0%, ==U
comment = no reply

*** Probes ***

+ FPing

binary = /usr/local/bin/sfping

*** Targets ***

probe = FPing

++++++ loco

menu = aaa
title = aaa
host = a.b.c.d
alerts = hostdown,testloss

### end of config ###


Now, what I do to test my alerts is create a firewall rule to reject all ICMP traffic
towards a.b.c.d and wait for the email alert, which never comes :(

Any syggestions?

--
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://www.ee.ethz.ch/~slist/smokeping-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the smokeping-users mailing list