Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 2

Note that all IP addresses in this file are false, to prevent some

# machine falling under a deadly DOS storm because all users keep
# the same addresses in their config.

*** General ***

owner = Joe Random


contact = joe@some.place.xyz
mailhost = smtp.mailhost.abc
sendmail = /usr/sbin/sendmail
imgcache = /home/www/data/smokedata/img
imgurl = /smokedata/img
datadir = /home/www/data/smokedata/rrd
piddir = /var/run/smokeping
cgiurl = http://202.149.80.38/cgi-bin/smokeping.cgi
smokemail = /usr/local/etc/smokeping/smokemail
tmail = /usr/local/etc/smokeping/tmail
# 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 = admin@company.xy
from = smokealert@company.xy

+bigloss
type = loss
# in percent
pattern = ==0%,==0%,==0%,==0%,>0%,>0%,>0%
comment = suddenly there is packet loss

+someloss
type = loss
# in percent
pattern = >0%,*12*,>0%,*12*,>0%
comment = loss 3 times in a row

+startloss
type = loss
# in percent
pattern = ==S,>0%,>0%,>0%
comment = loss at startup

+rttdetect
type = rtt
# in milli seconds
pattern = <10,<10,<10,<10,<10,<100,>100,>100,>100
comment = routing mesed up again ?

*** 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 = /usr/local/etc/smokeping/basepage.html

+ overview

width = 600
height = 50
range = 10h
median_color = ff0000

+ detail

width = 600
height = 200
unison_tolerance = 2
#loss_background = yes
nodata_color = 00ffcc

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

++loss_colors

1 00ff00 "0/20"
2 009900 "1/20"
3 00ccff "2/20"
4 0000ff "3/20"
5 9900ff "4/20"
6 ff00ff "10/20"
7 ff0000 "19/20"

*** Probes ***

+ FPing

binary = /usr/local/sbin/fping

*** Targets ***

probe = FPing

You might also like