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

« back to all changes in this revision

Viewing changes to doc/Smokeping/probes/CiscoRTTMonDNS.html

  • 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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
 
2
<html xmlns="http://www.w3.org/1999/xhtml">
 
3
<head>
 
4
<title>Smokeping/probes/CiscoRTTMonDNS</title>
 
5
<link rev="made" href="mailto:dws@ee.ethz.ch" />
 
6
</head>
 
7
 
 
8
<body style="background-color: white">
 
9
 
 
10
<p><a name="__index__"></a></p>
 
11
<!-- INDEX BEGIN -->
 
12
<!--
 
13
 
 
14
<ul>
 
15
 
 
16
        <li><a href="#name">NAME</a></li>
 
17
        <li><a href="#synopsis">SYNOPSIS</a></li>
 
18
        <li><a href="#description">DESCRIPTION</a></li>
 
19
        <li><a href="#variables">VARIABLES</a></li>
 
20
        <li><a href="#authors">AUTHORS</a></li>
 
21
        <li><a href="#notes">NOTES</a></li>
 
22
        <ul>
 
23
 
 
24
                <li><a href="#host_parameter">host parameter</a></li>
 
25
                <li><a href="#ios_versions">IOS VERSIONS</a></li>
 
26
                <li><a href="#installation">INSTALLATION</a></li>
 
27
        </ul>
 
28
 
 
29
        <li><a href="#bugs">BUGS</a></li>
 
30
        <li><a href="#see_also">SEE ALSO</a></li>
 
31
</ul>
 
32
-->
 
33
<!-- INDEX END -->
 
34
 
 
35
<p>
 
36
</p>
 
37
<h1><a name="name">NAME</a></h1>
 
38
<p>Smokeping::probes::CiscoRTTMonDNS.pm - Probe for SmokePing</p>
 
39
<p>
 
40
</p>
 
41
<hr />
 
42
<h1><a name="synopsis">SYNOPSIS</a></h1>
 
43
<pre>
 
44
 *** Probes ***</pre>
 
45
<pre>
 
46
 +CiscoRTTMonDNS</pre>
 
47
<pre>
 
48
 forks = 5
 
49
 offset = 50%
 
50
 step = 300
 
51
 timeout = 15</pre>
 
52
<pre>
 
53
 # The following variables can be overridden in each target section
 
54
 ioshost = RTTcommunity@Myrouter.foobar.com.au # mandatory
 
55
 iosint = 10.33.22.11
 
56
 name = www.foobar.com.au # mandatory
 
57
 pings = 5</pre>
 
58
<pre>
 
59
 # [...]</pre>
 
60
<pre>
 
61
 *** Targets ***</pre>
 
62
<pre>
 
63
 probe = CiscoRTTMonDNS # if this should be the default probe</pre>
 
64
<pre>
 
65
 # [...]</pre>
 
66
<pre>
 
67
 + mytarget
 
68
 # probe = CiscoRTTMonDNS # if the default probe is something else
 
69
 host = my.host
 
70
 ioshost = RTTcommunity@Myrouter.foobar.com.au # mandatory
 
71
 iosint = 10.33.22.11
 
72
 name = www.foobar.com.au # mandatory
 
73
 pings = 5</pre>
 
74
<p>
 
75
</p>
 
76
<hr />
 
77
<h1><a name="description">DESCRIPTION</a></h1>
 
78
<p>A probe for smokeping, which uses the ciscoRttMon MIB functionality (``Service Assurance Agent'', ``SAA'') of Cisco IOS to time ( recursive, type A) DNS queries to a DNS server.</p>
 
79
<p>
 
80
</p>
 
81
<hr />
 
82
<h1><a name="variables">VARIABLES</a></h1>
 
83
<p>Supported probe-specific variables:</p>
 
84
<dl>
 
85
<dt><strong><a name="item_forks">forks</a></strong><br />
 
86
 
 
87
</dt><dd>
 
88
Run this many concurrent processes at maximum
 
89
 
 
90
</dd><dd>
 
91
<p>Example value: 5</p>
 
92
 
 
93
</dd><dd>
 
94
<p>Default value: 5</p>
 
95
 
 
96
<p></p>
 
97
</dd><dt><strong><a name="item_offset">offset</a></strong><br />
 
98
 
 
99
</dt><dd>
 
100
If you run many probes concurrently you may want to prevent them from
 
101
hitting your network all at the same time. Using the probe-specific
 
102
offset parameter you can change the point in time when each probe will
 
103
be run. Offset is specified in % of total interval, or alternatively as
 
104
'random', and the offset from the 'General' section is used if nothing
 
105
is specified here. Note that this does NOT influence the rrds itself,
 
106
it is just a matter of when data acqusition is initiated.
 
107
(This variable is only applicable if the variable 'concurrentprobes' is set
 
108
in the 'General' section.)
 
109
 
 
110
</dd><dd>
 
111
<p>Example value: 50%</p>
 
112
 
 
113
<p></p>
 
114
</dd><dt><strong><a name="item_step">step</a></strong><br />
 
115
 
 
116
</dt><dd>
 
117
Duration of the base interval that this probe should use, if different
 
118
from the one specified in the 'Database' section. Note that the step in
 
119
the RRD files is fixed when they are originally generated, and if you
 
120
change the step parameter afterwards, you'll have to delete the old RRD
 
121
files or somehow convert them. (This variable is only applicable if
 
122
the variable 'concurrentprobes' is set in the 'General' section.)
 
123
 
 
124
</dd><dd>
 
125
<p>Example value: 300</p>
 
126
 
 
127
<p></p>
 
128
</dd><dt><strong><a name="item_timeout">timeout</a></strong><br />
 
129
 
 
130
</dt><dd>
 
131
How long a single 'ping' takes at maximum
 
132
 
 
133
</dd><dd>
 
134
<p>Example value: 15</p>
 
135
 
 
136
</dd><dd>
 
137
<p>Default value: 5</p>
 
138
 
 
139
<p></p></dd></dl>
 
140
<p>Supported target-specific variables:</p>
 
141
<dl>
 
142
<dt><strong><a name="item_ioshost">ioshost</a></strong><br />
 
143
 
 
144
</dt><dd>
 
145
The (mandatory) ioshost parameter specifies the Cisco router, which will send the DNS requests, 
 
146
as well as the SNMP community string on the router.
 
147
 
 
148
</dd><dd>
 
149
<p>Example value: <a href="mailto:RTTcommunity@Myrouter.foobar.com.au">RTTcommunity@Myrouter.foobar.com.au</a></p>
 
150
 
 
151
</dd><dd>
 
152
<p>This setting is mandatory.</p>
 
153
 
 
154
<p></p>
 
155
</dd><dt><strong><a name="item_iosint">iosint</a></strong><br />
 
156
 
 
157
</dt><dd>
 
158
The (optional) iosint parameter is the source address for the DNS packets.
 
159
This should be one of the active (!) IP addresses of the router to get
 
160
results. IOS looks up the target host address in the forwarding table
 
161
and then uses the <code>interface(s)</code> listed there to send the DNS packets. By
 
162
default IOS uses the (primary) IP address on the sending interface as
 
163
source address for packets originated by the router.
 
164
 
 
165
</dd><dd>
 
166
<p>Example value: 10.33.22.11</p>
 
167
 
 
168
<p></p>
 
169
</dd><dt><strong><a name="item_name">name</a></strong><br />
 
170
 
 
171
</dt><dd>
 
172
The (mandatory) name parameter is the DNS name to resolve.
 
173
 
 
174
</dd><dd>
 
175
<p>Example value: www.foobar.com.au</p>
 
176
 
 
177
</dd><dd>
 
178
<p>This setting is mandatory.</p>
 
179
 
 
180
<p></p>
 
181
</dd><dt><strong><a name="item_pings">pings</a></strong><br />
 
182
 
 
183
</dt><dd>
 
184
How many pings should be sent to each target, if different from the global
 
185
value specified in the Database section. Note that the number of pings in
 
186
the RRD files is fixed when they are originally generated, and if you
 
187
change this parameter afterwards, you'll have to delete the old RRD
 
188
files or somehow convert them.
 
189
 
 
190
</dd><dd>
 
191
<p>Example value: 5</p>
 
192
 
 
193
<p></p></dd></dl>
 
194
<p>
 
195
</p>
 
196
<hr />
 
197
<h1><a name="authors">AUTHORS</a></h1>
 
198
<p>Joerg.Kummer at Roche.com</p>
 
199
<p>
 
200
</p>
 
201
<hr />
 
202
<h1><a name="notes">NOTES</a></h1>
 
203
<p>
 
204
</p>
 
205
<h2><a name="host_parameter">host parameter</a></h2>
 
206
<p>The host parameter specifies the DNS server, which the router will use.</p>
 
207
<p>
 
208
</p>
 
209
<h2><a name="ios_versions">IOS VERSIONS</a></h2>
 
210
<p>This probe only works with IOS 12.0(3)T or higher.  It is recommended to test it on less critical routers first.</p>
 
211
<p>
 
212
</p>
 
213
<h2><a name="installation">INSTALLATION</a></h2>
 
214
<p>To install this probe copy ciscoRttMonMIB.pm to ($SMOKEPINGINSTALLDIR)/lib/Smokeping and CiscoRTTMonDNS.pm to ($SMOKEPINGINSTALLDIR)/lib/Smokeping/probes.</p>
 
215
<p>The <code>router(s)</code> must be configured to allow read/write SNMP access. Sufficient is:</p>
 
216
<pre>
 
217
        snmp-server community RTTCommunity RW
 
218
 
 
219
If you want to be a bit more restrictive with SNMP write access to the router, then consider configuring something like this</pre>
 
220
<pre>
 
221
        access-list 2 permit 10.37.3.5
 
222
        snmp-server view RttMon ciscoRttMonMIB included
 
223
        snmp-server community RTTCommunity view RttMon RW 2</pre>
 
224
<p>The above configuration grants SNMP read-write only to 10.37.3.5 (the smokeping host) and only to the ciscoRttMon MIB tree. The probe does not need access to SNMP variables outside the RttMon tree.</p>
 
225
<p>
 
226
</p>
 
227
<hr />
 
228
<h1><a name="bugs">BUGS</a></h1>
 
229
<p>The probe does unnecessary DNS queries, i.e. more than configured in the ``pings'' variable, because the RTTMon MIB only allows to set a total time for all queries in one measurement run (one ``life''). Currently the probe sets the life duration to ``pings''*2+3 seconds (2 secs is the timeout value hardcoded into this probe).</p>
 
230
<p>
 
231
</p>
 
232
<hr />
 
233
<h1><a name="see_also">SEE ALSO</a></h1>
 
234
<p><a href="http://oss.oetiker.ch/smokeping/">http://oss.oetiker.ch/smokeping/</a></p>
 
235
<p><a href="http://www.switch.ch/misc/leinen/snmp/perl/">http://www.switch.ch/misc/leinen/snmp/perl/</a></p>
 
236
<p>The best source for background info on SAA is Cisco's documentation on <a href="http://www.cisco.com">http://www.cisco.com</a> and the CISCO-RTTMON-MIB documentation, which is available at:</p>
 
237
<p><a href="ftp://ftp.cisco.com/pub/mibs/v2/CISCO-RTTMON-MIB.my">ftp://ftp.cisco.com/pub/mibs/v2/CISCO-RTTMON-MIB.my</a></p>
 
238
 
 
239
</body>
 
240
 
 
241
</html>