Agenda: smokeping-config.txt

File smokeping-config.txt, 3.5 KB (added by regnauld, 8 years ago)
Line 
1# This Smokeping example configuration file was automatically generated.
2#
3# Everything up to the Probes section is derived from a common template file.
4# See the Probes and Targets sections for the actual example.
5#
6# This example is included in the smokeping_examples document.
7
8*** General ***
9
10owner    = Your Name Here
11contact  = your@email.address
12mailhost = localhost
13sendmail = /usr/sbin/sendmail
14imgcache = /usr/local/smokeping/htdocs/img
15imgurl   = img
16datadir  = /usr/local/var/smokeping
17piddir  = /usr/local/var/smokeping
18cgiurl   = http://some.url/smokeping.cgi
19smokemail = /usr/local/etc/smokeping/smokemail
20tmail = /usr/local/etc/smokeping/tmail
21# specify this to get syslog logging
22syslogfacility = local0
23
24
25*** Alerts ***
26to = your@email.address
27from = smokeping@master.grpX.ws.nsrc.org
28
29+someloss
30type = loss
31# in percent
32pattern = >0%,*12*,>0%,*12*,>0%
33comment = loss 3 times  in a row
34
35*** Database ***
36
37step     = 300
38pings    = 20
39
40# consfn mrhb steps total
41
42AVERAGE  0.5   1  1008
43AVERAGE  0.5  12  4320
44    MIN  0.5  12  4320
45    MAX  0.5  12  4320
46AVERAGE  0.5 144   720
47    MAX  0.5 144   720
48    MIN  0.5 144   720
49
50*** Presentation ***
51
52template = /usr/local/etc/smokeping/basepage.html
53
54+ charts
55
56menu = Charts
57title = The most interesting destinations
58
59++ stddev
60sorter = StdDev(entries=>4)
61title = Top Standard Deviation
62menu = Std Deviation
63format = Standard Deviation %f
64
65++ max
66sorter = Max(entries=>5)
67title = Top Max Roundtrip Time
68menu = by Max
69format = Max Roundtrip Time %f seconds
70
71++ loss
72sorter = Loss(entries=>5)
73title = Top Packet Loss
74menu = Loss
75format = Packets Lost %f
76
77++ median
78sorter = Median(entries=>5)
79title = Top Median Roundtrip Time
80menu = by Median
81format = Median RTT %f seconds
82
83+ overview
84
85width = 600
86height = 50
87range = 10h
88
89+ detail
90
91width = 600
92height = 200
93unison_tolerance = 2
94
95"Last 3 Hours"    3h
96"Last 30 Hours"   30h
97"Last 10 Days"    10d
98"Last 400 Days"   400d
99
100#+ hierarchies
101#++ owner
102#title = Host Owner
103#++ location
104#title = Location
105
106# (The actual example starts here.)
107
108*** Probes ***
109
110# Here we have three probes: FPing for the regular ICMP pings,
111# DNS for name server latency measurement and EchoPingHttp
112# for web servers.
113#
114# The FPing probe runs with the default parameters, except that the ICMP
115# packet size is 1000 bytes instead of the default 56 bytes.
116#
117# The DNS and EchoPingHttp probes have been configured to be a bit more
118# gentle with the servers, as they only do 5 queries (pings) instead of the
119# default 20 (or whatever is specified in the Database section). However,
120# DNS queries are made more often: 5 queries every 3 minutes instead of
121# every 5 minutes.
122
123+ FPing
124binary = /usr/local/sbin/fping
125packetsize = 1000
126
127+ DNS
128binary = /usr/bin/dig
129lookup = noc.ws.nsrc.org
130pings = 5
131step = 180
132
133+ EchoPingHttp
134pings = 5
135url = /test-url
136
137*** Targets ***
138
139# The target tree has been divided by the probe used. This does not have
140# to be the case: every target (sub)section can use a different probe,
141# and the same probe can be used in different parts of the config tree.
142
143probe = FPing
144menu = Top
145title = Network Latency Grapher
146remark = Welcome to this SmokePing website.
147
148+ network
149menu = Net latency
150title = Network latency (ICMP pings)
151
152++ master
153host = 10.10.xx.1
154++ auth
155host = 10.10.xx.2
156++ cache
157host = 10.10.xx.3
158
159+ services
160menu = Service latency
161title = Service latency (DNS)
162
163++ DNS
164probe = DNS
165menu = DNS latency
166title = Service latency (DNS)
167
168+++ master
169host = 10.10.xx.1
170
171+++ auth
172host = 10.10.xx.2
173
174+++ cache
175host = 10.10.xx.3