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 | |
---|
10 | owner = Your Name Here |
---|
11 | contact = your@email.address |
---|
12 | mailhost = localhost |
---|
13 | sendmail = /usr/sbin/sendmail |
---|
14 | imgcache = /usr/local/smokeping/htdocs/img |
---|
15 | imgurl = img |
---|
16 | datadir = /usr/local/var/smokeping |
---|
17 | piddir = /usr/local/var/smokeping |
---|
18 | cgiurl = http://some.url/smokeping.cgi |
---|
19 | smokemail = /usr/local/etc/smokeping/smokemail |
---|
20 | tmail = /usr/local/etc/smokeping/tmail |
---|
21 | # specify this to get syslog logging |
---|
22 | syslogfacility = local0 |
---|
23 | |
---|
24 | |
---|
25 | *** Alerts *** |
---|
26 | to = your@email.address |
---|
27 | from = smokeping@master.grpX.ws.nsrc.org |
---|
28 | |
---|
29 | +someloss |
---|
30 | type = loss |
---|
31 | # in percent |
---|
32 | pattern = >0%,*12*,>0%,*12*,>0% |
---|
33 | comment = loss 3 times in a row |
---|
34 | |
---|
35 | *** Database *** |
---|
36 | |
---|
37 | step = 300 |
---|
38 | pings = 20 |
---|
39 | |
---|
40 | # consfn mrhb steps total |
---|
41 | |
---|
42 | AVERAGE 0.5 1 1008 |
---|
43 | AVERAGE 0.5 12 4320 |
---|
44 | MIN 0.5 12 4320 |
---|
45 | MAX 0.5 12 4320 |
---|
46 | AVERAGE 0.5 144 720 |
---|
47 | MAX 0.5 144 720 |
---|
48 | MIN 0.5 144 720 |
---|
49 | |
---|
50 | *** Presentation *** |
---|
51 | |
---|
52 | template = /usr/local/etc/smokeping/basepage.html |
---|
53 | |
---|
54 | + charts |
---|
55 | |
---|
56 | menu = Charts |
---|
57 | title = The most interesting destinations |
---|
58 | |
---|
59 | ++ stddev |
---|
60 | sorter = StdDev(entries=>4) |
---|
61 | title = Top Standard Deviation |
---|
62 | menu = Std Deviation |
---|
63 | format = Standard Deviation %f |
---|
64 | |
---|
65 | ++ max |
---|
66 | sorter = Max(entries=>5) |
---|
67 | title = Top Max Roundtrip Time |
---|
68 | menu = by Max |
---|
69 | format = Max Roundtrip Time %f seconds |
---|
70 | |
---|
71 | ++ loss |
---|
72 | sorter = Loss(entries=>5) |
---|
73 | title = Top Packet Loss |
---|
74 | menu = Loss |
---|
75 | format = Packets Lost %f |
---|
76 | |
---|
77 | ++ median |
---|
78 | sorter = Median(entries=>5) |
---|
79 | title = Top Median Roundtrip Time |
---|
80 | menu = by Median |
---|
81 | format = Median RTT %f seconds |
---|
82 | |
---|
83 | + overview |
---|
84 | |
---|
85 | width = 600 |
---|
86 | height = 50 |
---|
87 | range = 10h |
---|
88 | |
---|
89 | + detail |
---|
90 | |
---|
91 | width = 600 |
---|
92 | height = 200 |
---|
93 | unison_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 |
---|
124 | binary = /usr/local/sbin/fping |
---|
125 | packetsize = 1000 |
---|
126 | |
---|
127 | + DNS |
---|
128 | binary = /usr/bin/dig |
---|
129 | lookup = noc.ws.nsrc.org |
---|
130 | pings = 5 |
---|
131 | step = 180 |
---|
132 | |
---|
133 | + EchoPingHttp |
---|
134 | pings = 5 |
---|
135 | url = /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 | |
---|
143 | probe = FPing |
---|
144 | menu = Top |
---|
145 | title = Network Latency Grapher |
---|
146 | remark = Welcome to this SmokePing website. |
---|
147 | |
---|
148 | + network |
---|
149 | menu = Net latency |
---|
150 | title = Network latency (ICMP pings) |
---|
151 | |
---|
152 | ++ master |
---|
153 | host = 10.10.xx.1 |
---|
154 | ++ auth |
---|
155 | host = 10.10.xx.2 |
---|
156 | ++ cache |
---|
157 | host = 10.10.xx.3 |
---|
158 | |
---|
159 | + services |
---|
160 | menu = Service latency |
---|
161 | title = Service latency (DNS) |
---|
162 | |
---|
163 | ++ DNS |
---|
164 | probe = DNS |
---|
165 | menu = DNS latency |
---|
166 | title = Service latency (DNS) |
---|
167 | |
---|
168 | +++ master |
---|
169 | host = 10.10.xx.1 |
---|
170 | |
---|
171 | +++ auth |
---|
172 | host = 10.10.xx.2 |
---|
173 | |
---|
174 | +++ cache |
---|
175 | host = 10.10.xx.3 |
---|