This repository has been archived by the owner. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 40
/
AT-PING-MIB
335 lines (286 loc) · 11.5 KB
/
AT-PING-MIB
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
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
-- ============================================================================
-- AT-ETH.MIB, Allied Telesis enterprise MIB: PING module
--
-- Extracted from ATROUTER.MIB of pre 2.9.1 release
--
-- June 2006, Stan Xiang
--
-- Copyright (c) 2006 by Allied Telesis, Inc.
-- All rights reserved.
--
-- ============================================================================
AT-PING-MIB DEFINITIONS ::= BEGIN
IMPORTS
MODULE-IDENTITY,
OBJECT-TYPE,
NOTIFICATION-TYPE
FROM SNMPv2-SMI
DisplayString,
TruthValue
FROM SNMPv2-TC
ifIndex
FROM IF-MIB
modules,
DisplayStringUnsized
FROM AT-SMI-MIB
;
ping MODULE-IDENTITY
LAST-UPDATED "200606281222Z"
ORGANIZATION "Allied Telesis, Inc"
CONTACT-INFO
"http://www.alliedtelesis.com"
DESCRIPTION
"This MIB file contains definitions of managed objects for the
PING module. "
REVISION "200606281222Z"
DESCRIPTION
"Initial Revision"
::= { modules 58 }
-- The ping group. This consists of a static and dynamic entry of ping
-- information.
-- This group was added on 30/Nov/2001 by Summer students on request from Telecom Italia.
-- The ping table. This consists of a static and dynamic entry of ping
-- information. The static information is used when initiating a ping operation
-- unless the dynamic information has been written with different values since
-- the completion of the last ping.
-- The pingStatus is used to start and stop a ping and inform as to whether a
-- ping is currently active.
-- The pingStatistics are the results from a ping carried out.
-- A trap can be generated on completion of the ping. Generation of a trap is
-- controlled by a variable in the ping table.
-- The router or switch implementing this group can only support one concurrent
-- ping operation controlled by SNMP at a time. Future support may include the ability
-- to have more than one ping controlled by SNMP at a time.
pingTable OBJECT-TYPE
SYNTAX SEQUENCE OF PingEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"The table of ping parameters, dynamic and static."
::= { ping 1 }
pingEntry OBJECT-TYPE
SYNTAX PingEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A single entry of ping parameters. This contains the
parameters required to perform a ping from the router.
The ping specified by the dynamic parameters, can be
initiated or stopped at any time by altering the pingStatus
accordingly."
INDEX { pingIndex }
::= { pingTable 1 }
PingEntry ::=
SEQUENCE {
pingIndex
INTEGER,
pingProtocol
INTEGER,
pingAddress
OCTET STRING,
pingNumberOfPackets
INTEGER,
pingPacketSize
INTEGER,
pingTimeout
INTEGER,
pingDelay
INTEGER,
pingTrapOnCompletion
INTEGER,
pingTypeOfService
INTEGER,
pingPattern
Unsigned32
}
pingIndex OBJECT-TYPE
SYNTAX INTEGER {
static(1),
dynamic(2)
}
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"There are two sets of ping information, dynamic and static.
The dynamic information is used only once, for the next ping, then
automatically replaced with the static information. The static information
is used whenever specific dynamic information is not specified. The dynamic
information indicates the current ping parameters when a ping is in progress.
If static information is not specified, defaults are used.
Static information can be changed at any time, but dynamic information
cannot be changed while a ping is in progress. A change to the static
information when a ping is not currently active, also updates the
dynamic information."
::= { pingEntry 1 }
pingProtocol OBJECT-TYPE
SYNTAX INTEGER {
undefined(0),
apple(1),
ip(2),
ipx(3),
osi(4)
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The protocol that the ping will use. The protocol must
match the destination address. Ping supports both IP, IPX,
Appletalk, and OSI addresses. The protocol must be specified
before the address is set, because when the protocol is changed,
address is reset to undefined. The default value for this
variable is undefined(0)."
::= { pingEntry 2 }
pingAddress OBJECT-TYPE
SYNTAX OCTET STRING
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The address specifies the destination address for ping
packets for Appletalk, IP, IPX and OSI networks, respectively.
The address format must match the protocol being used. The
protocol must be specified before the address is set, because
changing the protocol resets the address to undefined.
The default value for this variable is an undefined address which
is coded as a zero length octet string."
::= { pingEntry 3 }
pingNumberOfPackets OBJECT-TYPE
SYNTAX INTEGER (0..2147483647)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The number of ping packets to transmit."
::= { pingEntry 4 }
pingPacketSize OBJECT-TYPE
SYNTAX INTEGER (0..1500)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The packet size parameter specifies the length in bytes, of data
to include in the data portion of the ping packet. The protocol
packet header size and the size of headers for the particular link
protocol in use have to be added to the packet size to get the
total size of the ping packet. The maximum pingPacketSize can be
set to is 1500."
::= { pingEntry 5 }
pingTimeout OBJECT-TYPE
SYNTAX INTEGER (0..2147483647)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Timeout specifies the amount of time, in seconds, to wait for a response to a
ping packet."
::= { pingEntry 6 }
pingDelay OBJECT-TYPE
SYNTAX INTEGER (0..2147483647)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The delay parameter specifies the time interval, in seconds, between
ping packets."
::= { pingEntry 7 }
pingTrapOnCompletion OBJECT-TYPE
SYNTAX TruthValue
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Specifies whether a trap should be issued on completion of the sequence
of pings."
::= { pingEntry 8 }
pingTypeOfService OBJECT-TYPE
SYNTAX INTEGER (0..255)
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The Type Of Service (TOS) parameter is only valid for IP addresses,
and specifies the TOS field in the IP header of the ping packet, as a decimal
in the range 0 to 255."
::= { pingEntry 9 }
pingPattern OBJECT-TYPE
SYNTAX Unsigned32
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"The pattern parameter specifies the data pattern to use in the
data portion of the ping packet."
::= { pingEntry 10 }
-- The ping status value. This is used to start and stop a ping, report on the
-- status of the ping (running or stopped).
pingStatus OBJECT-TYPE
SYNTAX INTEGER {
startRunning(1), -- If status is '2' (stopped), set to '1' to start
stopStopped(2) -- If status is '1' (running), set to '2' to stop
}
MAX-ACCESS read-write
STATUS current
DESCRIPTION
"Status and action object for the ping module. A status of '1' indicates that
the ping is currently running, the status can be set to '2' to stop
the ping. A status of '2' indicates that the ping is currently stopped,
the pingStatus can be set to '1' to start the ping.
The parameters for the ping can be altered in the pingTable.
The destination ping address and protocol have defaults of undefined and
must be specified before a ping can be started.
The ping statistics are reset to defaults when a ping is started, and
updated when the ping stops.
Dynamic pingTable information is used only once, for the next ping.
Static pingTable information is used for all pings by default,
whenever the respective dynamic settings are not specified."
::= { ping 2 }
-- This contains the statistic results from a ping.
pingStatistics OBJECT IDENTIFIER ::= { ping 3 }
pingSentPackets OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of ping packets sent to the target in the last ping. The
default before the completion of a ping is zero."
::= { pingStatistics 1 }
pingReceivedPackets OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The number of packets received from the target in the last ping. The
default before the completion of a ping is zero."
::= { pingStatistics 2 }
pingMinimumRoundTripTime OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The quickest round trip time taken by any of the ping packets
in milliseconds in the last ping. The default before the
completion of a ping is zero."
::= { pingStatistics 3 }
pingAverageRoundTripTime OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The average round trip time taken by the ping packets in
milliseconds in the last ping. The default before the completion
of a ping is zero."
::= { pingStatistics 4 }
pingMaximumRoundTripTime OBJECT-TYPE
SYNTAX INTEGER
MAX-ACCESS read-only
STATUS current
DESCRIPTION
"The slowest round trip time taken by any of the ping packets in
milliseconds in the last ping. The default before the completion
of a ping is zero."
::= { pingStatistics 5 }
-- ping TRAPs.
pingTraps OBJECT IDENTIFIER ::= { ping 0 }
pingCompletionTrap NOTIFICATION-TYPE
-- OBJECTS {}
STATUS current
DESCRIPTION
"A ping trap is generated when a ping has completed. Traps
are only generated if the variable pingTrapOnCompletion is
set to true(1) in the dynamic ping entry. A trap is still
generated if the ping is stopped prematurely by setting the
variable pingStatus to stop/stopped(2)."
::= { pingTraps 1 }
END