[smokeping-users] Alert with E-Mail and SMS

Agrippus Virus agrippusvirus1 at yahoo.de
Wed Mar 11 09:44:24 CET 2015



Of course I used "smokeping --debug-daemon --nosleep". Here you can see the
problem (found in /var/log/syslog and /var/log/messages):



Mar 11 08:10:20 mstech smokeping[4944]: FPing: Got fping output: 'ICMP Host
Unreachable from for ICMP Echo sent to'


Mar 11 08:10:21 mstech smokeping[4944]: Alert "bigloss": no match for target


When I google for "Alert "bigloss": no match for target" I found a lot of
matches - but in no thread there is an answer to that problem. 

Either it's so simple that you can't see it or nobody of the "cracks" had
this problem.


I run Postfix an Dovecot (as mailer) on the machine smokeping is also
running. So the localhost is the SMTP server.


Here is part of my configuration, in /etc/smokeping/config.d:



*** Alerts ***

to = xxx at xxx.yyy

from = smokealert at xxx.yyy



type = loss

# in percent

pattern = ==0%,==0%,==0%,==0%,>0%,>0%,>0%

comment = suddenly there is packet loss



*** General ***


@include /etc/smokeping/config.d/pathnames


# Please edit this to suit your installation


contact  = xxx at yyy.zzz

cgiurl   = http://xxx.yyy/cgi-bin/smokeping.cgi

mailhost = localhost

# specify this to get syslog logging

syslogfacility = local0



sendmail = /usr/sbin/sendmail

imgcache = /var/cache/smokeping/images

imgurl   = ../smokeping/images

datadir  = /var/lib/smokeping

dyndir   = /var/lib/smokeping/__cgi

piddir   = /var/run/smokeping

smokemail = /etc/smokeping/smokemail

tmail    = /etc/smokeping/tmail

precreateperms = 2775





menu = EeePC_Debian

title = EeePC Debian

host =

alerts = bigloss

email = xxx yyy <xxx at yyy.zzz>



I also tried in the configuration file alerts:


to = |/etc/smokeping/config.d/alert.sh, xxx at yyy.zzz


but this script is never called.


What is missing??




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.oetiker.ch/pipermail/smokeping-users/attachments/20150311/344d0659/attachment.html>

More information about the smokeping-users mailing list