[smokeping-users] Howto Smokeping::matchers::Avgratio

Stefan Mosleitner mosleitnermailings at web.de
Wed May 7 09:51:35 CEST 2008


Hi!

I`d like to use smokeping email-alerting using matcher "Avgratio".

At the moment email-alerting is not working.
-> Iam using exim4 as MTA on debian ->exim4 is working fine.

Is it possible that there is anything missing/wrong in the smokepingconfig?
Please see below.


In this example i should get emails after latency is over 10ms (directly
after startup)?
>+rttdetect
>type = rtt
># in milliseconds
>pattern = ==S,>10

==== /etc/smokeping/config ====

*** General ***

################################################
# DON'T TOUCH UNLESS YOU KNOW WHAT YOU'RE DOING
# BETWEEN THESE MARKS!
################################################
sendmail = /usr/sbin/sendmail
imgcache = /var/www/smokeping
imgurl   = ../smokeping
datadir  = /var/lib/smokeping
piddir   = /var/run/smokeping
smokemail = /etc/smokeping/smokemail
tmail    = /etc/smokeping/tmail
################################################
# END OF DON'T TOUCH SECTION
################################################


# Please edit this to suit your installation
owner    = name
contact  = name at domain.de
cgiurl   = http://ip/cgi-bin/smokeping.cgi
mailhost = smarthost.domain.de
# specify this to get syslog logging
syslogfacility = local0
# each probe is now run in its own process
# disable this to revert to the old behaviour
# concurrentprobes = no

*** Alerts ***
to = name at domain.de
from = smokealert at domain.de

+rttdetect
type = rtt
# in milliseconds
pattern = ==S,>10

comment = rtt test for email

*** Database ***

step     = 300
pings    = 20

# consfn mrhb steps total

AVERAGE  0.5   1  1008
AVERAGE  0.5  12  4320
    MIN  0.5  12  4320
    MAX  0.5  12  4320
AVERAGE  0.5 144   720
    MAX  0.5 144   720
    MIN  0.5 144   720

*** Presentation ***

template = /etc/smokeping/basepage.html

+ overview

width = 600
height = 50
range = 10h

+ detail

width = 600
height = 200
unison_tolerance = 2

"Last 3 Hours"    3h
"Last 30 Hours"   30h
"Last 10 Days"    10d
"Last 400 Days"   400d

*** Probes ***

+ FPing

binary = /usr/bin/fping

*** Targets ***

probe = FPing

menu = Top
title = Network Latency Grapher
remark = Welcome to the SmokePing website of 'Stefan Mosleitner'

+ World

menu = World
title = WAN Network

++ Germany

menu = heise.de
title = heise.de
host = www.heise.de

==== /etc/smokeping/config ====



More information about the smokeping-users mailing list