summaryrefslogtreecommitdiffstats
path: root/etc/config.dist
blob: bf10e17cfe49fac2034eddd7d16dd5bdb2fd0f22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
# 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/lib/sendmail
imgcache = /home/oetiker/public_html/.simg
imgurl   = ../.simg
datadir  = /tmp/smokeping/data
piddir  = /tmp/smokeping/var
cgiurl   = http://tobi.oetiker.ch/smokeping/smokeping.cgi
smokemail = /home/oetiker/checkouts/smokeping/trunk/software/etc/smokemail.dist
tmail = /home/oetiker/checkouts/smokeping/trunk/software/etc/tmail.dist
# 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 ?

+median
type = matcher
# in milli seconds
pattern = Median(old=>5,new=>7,diff=>2)
comment = median crossed

*** 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 = /home/oetiker/checkouts/smokeping/trunk/software/etc/basepage.html.dist

+ 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/sbin/fping

*** Slaves ***
secrets=/home/oetiker/checkouts/smokeping/trunk/software/etc/smokeping_secrets.dist
+mipsrv01
name=mipsrv01
++override
Probes.FPing.binary=/usr/bin/fping

*** Targets ***

probe = FPing

menu = Top
title = Network Latency Grapher
remark = Welcome to the SmokePing website of xxx Company. \
         Here you will learn all about the latency of our network.

+ World

menu = World
title = Worldwide Connectivity

++ Europe

menu = Europe
title =European Connectivity

+++ Switzerland

menu = Switzerland
title =Swiss Connectivity
alerts = bigloss,someloss,startloss
slaves = mipsrv01 johan

++++ SBB

menu = SBB/CFF/FFS
title =Swiss Federal Railways Webserver
host = www.railway-server.abc


++++ Tiscali

menu = Tiscali Web
title = Tiscali Webserver www.tiscali.abc
host = www.tiscali-web.abc

+++ UK

menu = United Kingdom
title = United Kingdom

++++ UCL

menu = UCL
title = UCL
host = www.ucl-abc.acc.uk

++ USA

menu = North America
title =North American Connectivity

+++ MIT

menu = MIT
title = Massachusetts Institute of Technology Webserver
host = www.gurkoman.ybc

+++ IU

menu = IU
title = Indiana University
host = www.iu.ali

+++ UCB

menu = U. C. Berkeley
title = U. C. Berkeley Webserver
host = www.berkly.udi
alerts = median

+++ UCSD

menu = U. C. San Diego
title = U. C. San Diego Webserver
host = www.ucsdddar.art

+++ Sun

menu = Sun Microsystems
title = Sun Microsystems Webserver
host = www.sun-web.com