Imported Upstream version 0.4.8
[platform/upstream/libsmi.git] / mibs / tubs / TUBS-IBR-PING-MIB
1 TUBS-IBR-PING-MIB DEFINITIONS ::= BEGIN
2
3 IMPORTS
4     MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Unsigned32
5         FROM SNMPv2-SMI
6     ibr
7         FROM TUBS-SMI;
8
9 pingMIB MODULE-IDENTITY
10     LAST-UPDATED "200007070000Z"
11     ORGANIZATION "TU Braunschweig"
12     CONTACT-INFO
13         "Frank Strauss
14          TU Braunschweig
15          Bueltenweg 74/75
16          38106 Braunschweig
17          Germany
18
19          Tel: +49 531 391 3266
20          Fax: +49 531 391 5936
21          E-mail: strauss@ibr.cs.tu-bs.de"
22     DESCRIPTION
23         "Experimental MIB module for JAX code generator tests."
24     REVISION     "200007070000Z"
25     DESCRIPTION
26         "Added scalar group and notification."
27     REVISION     "200003300000Z"
28     DESCRIPTION
29         "The initial revision of this module."
30     ::= { ibr 8 }
31
32
33 pingNotifications OBJECT IDENTIFIER ::= { pingMIB 0 }
34
35 pingObjects OBJECT IDENTIFIER ::= { pingMIB 1 }
36
37 -- Object definitions.
38
39 pingTable OBJECT-TYPE
40     SYNTAX      SEQUENCE OF PingEntry
41     MAX-ACCESS  not-accessible
42     STATUS      current
43     DESCRIPTION
44         "A list of ping destinations and their round trip times."
45     ::= { pingObjects 1 }
46
47 pingEntry OBJECT-TYPE
48     SYNTAX      PingEntry
49     MAX-ACCESS  not-accessible
50     STATUS      current
51     DESCRIPTION
52             "An entry containing a ping destinations and its
53              round trip time."
54     INDEX   { pingIndex }
55     ::= { pingTable 1 }
56
57 PingEntry ::=
58     SEQUENCE {
59         pingIndex               Unsigned32,
60         pingAddress             IpAddress,
61         pingRtt                 Unsigned32
62     }
63
64 pingIndex OBJECT-TYPE
65     SYNTAX      Unsigned32
66     MAX-ACCESS  not-accessible
67     STATUS      current
68     DESCRIPTION
69             "A unique value identifying the ping entry."
70     ::= { pingEntry 1 }
71
72 pingAddress OBJECT-TYPE
73     SYNTAX      IpAddress
74     MAX-ACCESS  read-create
75     STATUS      current
76     DESCRIPTION
77             "The destination IP address for the ping entry.
78              Writing to an instance of this object with an
79              unused pingIndex creates a new pingTable entry."
80     ::= { pingEntry 2 }
81
82 pingRtt OBJECT-TYPE
83     SYNTAX      Unsigned32
84     UNITS       "milliseconds"
85     MAX-ACCESS  read-only
86     STATUS      current
87     DESCRIPTION
88             "The measured round trip time for the ping entry.
89              The value zero denotes a ping target that did
90              not respond (yet)."
91     ::= { pingEntry 3 }
92
93
94 pingStatistics OBJECT IDENTIFIER ::= { pingObjects 2 }
95
96 pingTimeout OBJECT-TYPE
97     SYNTAX      Unsigned32
98     UNITS       "milliseconds"
99     MAX-ACCESS  read-write
100     STATUS      current
101     DESCRIPTION 
102             "Maximum time to wait for a response."
103     ::= { pingStatistics 1 }
104
105 pingAvgRtt OBJECT-TYPE
106     SYNTAX      Unsigned32
107     UNITS       "milliseconds"
108     MAX-ACCESS  read-only
109     STATUS      current
110     DESCRIPTION
111             "The average round trip time for all ping entries."
112     ::= { pingStatistics 2 }
113
114 -- Notification definitions.
115  
116 pingNoResponse NOTIFICATION-TYPE
117     OBJECTS     { pingRtt, pingTimeout }
118     STATUS      current
119     DESCRIPTION
120             "This notification is generated whenever a ping
121              target did not reply within the current timeout.
122              The pingAddress objects contains the target address
123              and the pingTimeout objects contains the timeout
124              value in milli seconds."
125     ::= { pingNotifications 1 }
126
127 END