@greg:

 

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 192.168.0.3 for ICMP Echo sent to 192.168.0.40'

.

Mar 11 08:10:21 mstech smokeping[4944]: Alert "bigloss": no match for target
/var/lib/smokeping/Local/EeePCDebian

.

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:

*** Alerts ***

to = [email protected]

from = [email protected]

 

+bigloss

type = loss

# in percent

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

comment = suddenly there is packet loss

 

General:

*** General ***

 

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

 

# Please edit this to suit your installation

owner    = X.YYYYYYYYYYYYYYYYYYY

contact  = [email protected]

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

mailhost = localhost

# specify this to get syslog logging

syslogfacility = local0

 

pathname:

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

 

Targets:

.

++EeePCDebian

menu = EeePC_Debian

title = EeePC Debian 192.168.0.40

host = 192.168.0.40

alerts = bigloss

email = xxx yyy <[email protected]>

.

 

I also tried in the configuration file alerts:

 

to = |/etc/smokeping/config.d/alert.sh, [email protected]

 

but this script is never called.

 

What is missing??

 

-Agrippus

 

_______________________________________________
smokeping-users mailing list
[email protected]
https://lists.oetiker.ch/cgi-bin/listinfo/smokeping-users

Reply via email to