~ubuntu-branches/debian/lenny/smokeping/lenny

« back to all changes in this revision

Viewing changes to doc/Smokeping/probes/Smokeping::probes::EchoPing.3

  • Committer: Bazaar Package Importer
  • Author(s): Niko Tyni
  • Date: 2006-10-26 21:45:56 UTC
  • mfrom: (1.2.2 upstream) (2.1.5 edgy)
  • Revision ID: james.westby@ubuntu.com-20061026214556-5jnpiesx4vdijmu6
* debian/patches/15_clean_makefile.dpatch:
  + remove unneeded and potentially unsecure include paths.
* debian/patches: selected patches from the upstream SVN repository
  + 40_password.dpatch: skip reading the password file when running as a CGI.
  + 50_ldap.dpatch: Make the 'scope' option in the LDAP probe actually work.
  + 60_fping.dpatch:
    * Support the '-S' (set source address, see #198486) fping option.
    * Don't try to execute fping when running as a CGI.
  + 70_syslog.dpatch: Don't die silently if syslogd is unavailable.
    (Closes: #395056)
* Remove all the autogenerated documentation at clean time, to properly
  undo the effects of the 'build' target.
* Install example configuration files for documentation.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
.\" Automatically generated by Pod::Man v1.37, Pod::Parser v1.14
 
2
.\"
 
3
.\" Standard preamble:
 
4
.\" ========================================================================
 
5
.de Sh \" Subsection heading
 
6
.br
 
7
.if t .Sp
 
8
.ne 5
 
9
.PP
 
10
\fB\\$1\fR
 
11
.PP
 
12
..
 
13
.de Sp \" Vertical space (when we can't use .PP)
 
14
.if t .sp .5v
 
15
.if n .sp
 
16
..
 
17
.de Vb \" Begin verbatim text
 
18
.ft CW
 
19
.nf
 
20
.ne \\$1
 
21
..
 
22
.de Ve \" End verbatim text
 
23
.ft R
 
24
.fi
 
25
..
 
26
.\" Set up some character translations and predefined strings.  \*(-- will
 
27
.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
 
28
.\" double quote, and \*(R" will give a right double quote.  | will give a
 
29
.\" real vertical bar.  \*(C+ will give a nicer C++.  Capital omega is used to
 
30
.\" do unbreakable dashes and therefore won't be available.  \*(C` and \*(C'
 
31
.\" expand to `' in nroff, nothing in troff, for use with C<>.
 
32
.tr \(*W-|\(bv\*(Tr
 
33
.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
 
34
.ie n \{\
 
35
.    ds -- \(*W-
 
36
.    ds PI pi
 
37
.    if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
 
38
.    if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\"  diablo 12 pitch
 
39
.    ds L" ""
 
40
.    ds R" ""
 
41
.    ds C` ""
 
42
.    ds C' ""
 
43
'br\}
 
44
.el\{\
 
45
.    ds -- \|\(em\|
 
46
.    ds PI \(*p
 
47
.    ds L" ``
 
48
.    ds R" ''
 
49
'br\}
 
50
.\"
 
51
.\" If the F register is turned on, we'll generate index entries on stderr for
 
52
.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
 
53
.\" entries marked with X<> in POD.  Of course, you'll have to process the
 
54
.\" output yourself in some meaningful fashion.
 
55
.if \nF \{\
 
56
.    de IX
 
57
.    tm Index:\\$1\t\\n%\t"\\$2"
 
58
..
 
59
.    nr % 0
 
60
.    rr F
 
61
.\}
 
62
.\"
 
63
.\" For nroff, turn off justification.  Always turn off hyphenation; it makes
 
64
.\" way too many mistakes in technical documents.
 
65
.hy 0
 
66
.if n .na
 
67
.\"
 
68
.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
 
69
.\" Fear.  Run.  Save yourself.  No user-serviceable parts.
 
70
.    \" fudge factors for nroff and troff
 
71
.if n \{\
 
72
.    ds #H 0
 
73
.    ds #V .8m
 
74
.    ds #F .3m
 
75
.    ds #[ \f1
 
76
.    ds #] \fP
 
77
.\}
 
78
.if t \{\
 
79
.    ds #H ((1u-(\\\\n(.fu%2u))*.13m)
 
80
.    ds #V .6m
 
81
.    ds #F 0
 
82
.    ds #[ \&
 
83
.    ds #] \&
 
84
.\}
 
85
.    \" simple accents for nroff and troff
 
86
.if n \{\
 
87
.    ds ' \&
 
88
.    ds ` \&
 
89
.    ds ^ \&
 
90
.    ds , \&
 
91
.    ds ~ ~
 
92
.    ds /
 
93
.\}
 
94
.if t \{\
 
95
.    ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
 
96
.    ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
 
97
.    ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
 
98
.    ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
 
99
.    ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
 
100
.    ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
 
101
.\}
 
102
.    \" troff and (daisy-wheel) nroff accents
 
103
.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
 
104
.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
 
105
.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
 
106
.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
 
107
.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
 
108
.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
 
109
.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
 
110
.ds ae a\h'-(\w'a'u*4/10)'e
 
111
.ds Ae A\h'-(\w'A'u*4/10)'E
 
112
.    \" corrections for vroff
 
113
.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
 
114
.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
 
115
.    \" for low resolution devices (crt and lpr)
 
116
.if \n(.H>23 .if \n(.V>19 \
 
117
\{\
 
118
.    ds : e
 
119
.    ds 8 ss
 
120
.    ds o a
 
121
.    ds d- d\h'-1'\(ga
 
122
.    ds D- D\h'-1'\(hy
 
123
.    ds th \o'bp'
 
124
.    ds Th \o'LP'
 
125
.    ds ae ae
 
126
.    ds Ae AE
 
127
.\}
 
128
.rm #[ #] #H #V #F C
 
129
.\" ========================================================================
 
130
.\"
 
131
.IX Title "doc::Smokeping::probes::EchoPing 3"
 
132
.TH doc::Smokeping::probes::EchoPing 3 "2006-07-14" "2.0.9" "SmokePing"
 
133
.SH "NAME"
 
134
Smokeping::probes::EchoPing \- an echoping(1) probe for SmokePing
 
135
.SH "OVERVIEW"
 
136
.IX Header "OVERVIEW"
 
137
Measures \s-1TCP\s0 or \s-1UDP\s0 echo (port 7) roundtrip times for SmokePing. Can also be 
 
138
used as a base class for other \fIechoping\fR\|(1) probes.
 
139
.SH "SYNOPSIS"
 
140
.IX Header "SYNOPSIS"
 
141
.Vb 1
 
142
\& *** Probes ***
 
143
.Ve
 
144
.PP
 
145
.Vb 1
 
146
\& +EchoPing
 
147
.Ve
 
148
.PP
 
149
.Vb 4
 
150
\& binary = /usr/bin/echoping
 
151
\& forks = 5
 
152
\& offset = 50%
 
153
\& step = 300
 
154
.Ve
 
155
.PP
 
156
.Vb 11
 
157
\& # The following variables can be overridden in each target section
 
158
\& extraopts = -some-letter-the-author-did-not-think-of
 
159
\& fill = A
 
160
\& ipversion = 4
 
161
\& pings = 5
 
162
\& priority = 6
 
163
\& size = 510
 
164
\& timeout = 1
 
165
\& tos = 0xa0
 
166
\& udp = no
 
167
\& waittime = 1
 
168
.Ve
 
169
.PP
 
170
.Vb 1
 
171
\& # [...]
 
172
.Ve
 
173
.PP
 
174
.Vb 1
 
175
\& *** Targets ***
 
176
.Ve
 
177
.PP
 
178
.Vb 1
 
179
\& probe = EchoPing # if this should be the default probe
 
180
.Ve
 
181
.PP
 
182
.Vb 1
 
183
\& # [...]
 
184
.Ve
 
185
.PP
 
186
.Vb 13
 
187
\& + mytarget
 
188
\& # probe = EchoPing # if the default probe is something else
 
189
\& host = my.host
 
190
\& extraopts = -some-letter-the-author-did-not-think-of
 
191
\& fill = A
 
192
\& ipversion = 4
 
193
\& pings = 5
 
194
\& priority = 6
 
195
\& size = 510
 
196
\& timeout = 1
 
197
\& tos = 0xa0
 
198
\& udp = no
 
199
\& waittime = 1
 
200
.Ve
 
201
.SH "DESCRIPTION"
 
202
.IX Header "DESCRIPTION"
 
203
See \fIechoping\fR\|(1) for details of the options below.
 
204
.SH "VARIABLES"
 
205
.IX Header "VARIABLES"
 
206
Supported probe-specific variables:
 
207
.IP "binary" 4
 
208
.IX Item "binary"
 
209
The location of your echoping binary.
 
210
.Sp
 
211
Default value: /usr/bin/echoping
 
212
.IP "forks" 4
 
213
.IX Item "forks"
 
214
Run this many concurrent processes at maximum
 
215
.Sp
 
216
Example value: 5
 
217
.Sp
 
218
Default value: 5
 
219
.IP "offset" 4
 
220
.IX Item "offset"
 
221
If you run many probes concurrently you may want to prevent them from
 
222
hitting your network all at the same time. Using the probe-specific
 
223
offset parameter you can change the point in time when each probe will
 
224
be run. Offset is specified in % of total interval, or alternatively as
 
225
\&'random', and the offset from the 'General' section is used if nothing
 
226
is specified here. Note that this does \s-1NOT\s0 influence the rrds itself,
 
227
it is just a matter of when data acqusition is initiated.
 
228
(This variable is only applicable if the variable 'concurrentprobes' is set
 
229
in the 'General' section.)
 
230
.Sp
 
231
Example value: 50%
 
232
.IP "step" 4
 
233
.IX Item "step"
 
234
Duration of the base interval that this probe should use, if different
 
235
from the one specified in the 'Database' section. Note that the step in
 
236
the \s-1RRD\s0 files is fixed when they are originally generated, and if you
 
237
change the step parameter afterwards, you'll have to delete the old \s-1RRD\s0
 
238
files or somehow convert them. (This variable is only applicable if
 
239
the variable 'concurrentprobes' is set in the 'General' section.)
 
240
.Sp
 
241
Example value: 300
 
242
.PP
 
243
Supported target-specific variables:
 
244
.IP "extraopts" 4
 
245
.IX Item "extraopts"
 
246
Any extra options specified here will be passed unmodified to \fIechoping\fR\|(1).
 
247
.Sp
 
248
Example value: \-some\-letter\-the\-author\-did\-not\-think\-of
 
249
.IP "fill" 4
 
250
.IX Item "fill"
 
251
The \*(L"\-f\*(R" \fIechoping\fR\|(1) option.
 
252
.Sp
 
253
Example value: A
 
254
.IP "ipversion" 4
 
255
.IX Item "ipversion"
 
256
The \s-1IP\s0 protocol used. Possible values are \*(L"4\*(R" and \*(L"6\*(R". 
 
257
Passed to \fIechoping\fR\|(1) as the \*(L"\-4\*(R" or \*(L"\-6\*(R" options.
 
258
.Sp
 
259
Example value: 4
 
260
.IP "pings" 4
 
261
.IX Item "pings"
 
262
How many pings should be sent to each target, if different from the global
 
263
value specified in the Database section. Note that the number of pings in
 
264
the \s-1RRD\s0 files is fixed when they are originally generated, and if you
 
265
change this parameter afterwards, you'll have to delete the old \s-1RRD\s0
 
266
files or somehow convert them.
 
267
.Sp
 
268
Example value: 5
 
269
.IP "priority" 4
 
270
.IX Item "priority"
 
271
The \*(L"\-p\*(R" \fIechoping\fR\|(1) option.
 
272
.Sp
 
273
Example value: 6
 
274
.IP "size" 4
 
275
.IX Item "size"
 
276
The \*(L"\-s\*(R" \fIechoping\fR\|(1) option.
 
277
.Sp
 
278
Example value: 510
 
279
.IP "timeout" 4
 
280
.IX Item "timeout"
 
281
The \*(L"\-t\*(R" \fIechoping\fR\|(1) option.
 
282
.Sp
 
283
Example value: 1
 
284
.Sp
 
285
Default value: 5
 
286
.IP "tos" 4
 
287
.IX Item "tos"
 
288
The \*(L"\-P\*(R" \fIechoping\fR\|(1) option.
 
289
.Sp
 
290
Example value: 0xa0
 
291
.IP "udp" 4
 
292
.IX Item "udp"
 
293
The \*(L"\-u\*(R" \fIechoping\fR\|(1) option. Values other than '0' and 'no' enable \s-1UDP\s0.
 
294
.Sp
 
295
Example value: no
 
296
.IP "waittime" 4
 
297
.IX Item "waittime"
 
298
The \*(L"\-w\*(R" \fIechoping\fR\|(1) option.
 
299
.Sp
 
300
Example value: 1
 
301
.SH "AUTHORS"
 
302
.IX Header "AUTHORS"
 
303
Niko Tyni <ntyni@iki.fi>
 
304
.SH "BUGS"
 
305
.IX Header "BUGS"
 
306
Should we test the availability of the service at startup? After that it's
 
307
too late to complain.
 
308
.PP
 
309
The location of the echoping binary should probably be a global variable
 
310
instead of a probe-specific one. As things are, every EchoPing \-derived probe 
 
311
has to declare it if the default (/usr/bin/echoping) isn't correct.
 
312
.SH "SEE ALSO"
 
313
.IX Header "SEE ALSO"
 
314
\&\fIechoping\fR\|(1), Smokeping::probes::EchoPingHttp etc., <http://echoping.sourceforge.net/>