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
193
194
195
196
197
198
199
200
201
|
=head1 NAME
Smokeping::probes::EchoPingHttp - an echoping(1) probe for SmokePing
=head1 OVERVIEW
Measures HTTP roundtrip times (web servers and caches) for SmokePing.
=head1 SYNOPSIS
*** Probes ***
+EchoPingHttp
binary = /usr/bin/echoping
forks = 5
offset = 50%
step = 300
# The following variables can be overridden in each target section
extraopts = -some-letter-the-author-did-not-think-of
ignore_cache = yes
ipversion = 4
pings = 5
port = 80
priority = 6
revalidate_data = no
timeout = 1
tos = 0xa0
url = /
waittime = 1
# [...]
*** Targets ***
probe = EchoPingHttp # if this should be the default probe
# [...]
+ mytarget
# probe = EchoPingHttp # if the default probe is something else
host = my.host
extraopts = -some-letter-the-author-did-not-think-of
ignore_cache = yes
ipversion = 4
pings = 5
port = 80
priority = 6
revalidate_data = no
timeout = 1
tos = 0xa0
url = /
waittime = 1
=head1 VARIABLES
Supported probe-specific variables:
=over
=item binary
The location of your echoping binary.
Default value: /usr/bin/echoping
=item forks
Run this many concurrent processes at maximum
Example value: 5
Default value: 5
=item offset
If you run many probes concurrently you may want to prevent them from
hitting your network all at the same time. Using the probe-specific
offset parameter you can change the point in time when each probe will
be run. Offset is specified in % of total interval, or alternatively as
'random', and the offset from the 'General' section is used if nothing
is specified here. Note that this does NOT influence the rrds itself,
it is just a matter of when data acqusition is initiated.
(This variable is only applicable if the variable 'concurrentprobes' is set
in the 'General' section.)
Example value: 50%
=item step
Duration of the base interval that this probe should use, if different
from the one specified in the 'Database' section. Note that the step in
the RRD files is fixed when they are originally generated, and if you
change the step parameter afterwards, you'll have to delete the old RRD
files or somehow convert them. (This variable is only applicable if
the variable 'concurrentprobes' is set in the 'General' section.)
Example value: 300
=back
Supported target-specific variables:
=over
=item extraopts
Any extra options specified here will be passed unmodified to echoping(1).
Example value: -some-letter-the-author-did-not-think-of
=item ignore_cache
The echoping(1) "-A" option: force the proxy to ignore the cache.
Enabled if the value is anything other than 'no' or '0'.
Example value: yes
=item ipversion
The IP protocol used. Possible values are "4" and "6".
Passed to echoping(1) as the "-4" or "-6" options.
Example value: 4
=item pings
How many pings should be sent to each target, if different from the global
value specified in the Database section. Note that the number of pings in
the RRD files is fixed when they are originally generated, and if you
change this parameter afterwards, you'll have to delete the old RRD
files or somehow convert them.
Example value: 5
=item port
The TCP port to use.
Example value: 80
=item priority
The "-p" echoping(1) option.
Example value: 6
=item revalidate_data
The echoping(1) "-a" option: force the proxy to revalidate data with original
server. Enabled if the value is anything other than 'no' or '0'.
Example value: no
=item timeout
The "-t" echoping(1) option.
Example value: 1
Default value: 5
=item tos
The "-P" echoping(1) option.
Example value: 0xa0
=item url
The URL to be requested from the web server or cache. Can be either relative
(/...) for web servers or absolute (http://...) for caches.
Default value: /
=item waittime
The "-w" echoping(1) option.
Example value: 1
=back
=head1 AUTHORS
Niko Tyni <ntyni@iki.fi>
=head1 NOTES
You should consider setting a lower value for the C<pings> variable than the
default 20, as repetitive URL fetching may be quite heavy on the server.
The I<fill>, I<size> and I<udp> EchoPing variables are not valid for EchoPingHttp.
=head1 SEE ALSO
L<Smokeping::probes::EchoPing>, L<Smokeping::probes::EchoPingHttps>
=cut
|