| 1 |
-- file: sit-ctr.mib |
| 2 |
-- |
| 3 |
|
| 4 |
SIT-CTR DEFINITIONS ::= BEGIN |
| 5 |
|
| 6 |
IMPORTS |
| 7 |
MODULE-IDENTITY, OBJECT-TYPE, Counter32, |
| 8 |
Counter64, Unsigned32, Opaque, enterprises |
| 9 |
FROM SNMPv2-SMI |
| 10 |
DisplayString, TimeStamp |
| 11 |
FROM SNMPv2-TC |
| 12 |
OBJECT-GROUP, MODULE-COMPLIANCE |
| 13 |
FROM SNMPv2-CONF; |
| 14 |
|
| 15 |
sitCtrModule MODULE-IDENTITY |
| 16 |
LAST-UPDATED "9806220000Z" |
| 17 |
ORGANIZATION "SNMPinfo" |
| 18 |
CONTACT-INFO |
| 19 |
"Email: [email protected]" |
| 20 |
DESCRIPTION |
| 21 |
"This module defines objects that are used to test |
| 22 |
high capacity counters. This consists of objects to set |
| 23 |
the 'initial value' of counters, set the time period |
| 24 |
of counter value change, and to set the size of the |
| 25 |
counter increment. Each high capacity counter is |
| 26 |
implemented as a pair of 32-bit counters and a 64-bit |
| 27 |
counter. And additionally, there is an ASCII and |
| 28 |
Opaque representation of each 64-bit counter. |
| 29 |
|
| 30 |
Please note that the 64-bit counters are not accessible |
| 31 |
by SNMPv1 operations, and multi-lingual agents must |
| 32 |
treat objects with data type of 'Counter64' as not |
| 33 |
existing. The behavior of such agents is described |
| 34 |
in detain in RFC 2089, 'V2ToV1 Mapping SNMPv2 onto |
| 35 |
SNMPv1 within a bi-lingual SNMP agent'." |
| 36 |
::= { sitModules 2 } |
| 37 |
|
| 38 |
|
| 39 |
siRoot OBJECT IDENTIFIER ::= { enterprises 1194 } |
| 40 |
sitRoot OBJECT IDENTIFIER ::= { siRoot 2 } |
| 41 |
sitReg OBJECT IDENTIFIER ::= { sitRoot 1 } |
| 42 |
sitModules OBJECT IDENTIFIER ::= { sitReg 1 } |
| 43 |
sitItems OBJECT IDENTIFIER ::= { sitRoot 2 } |
| 44 |
|
| 45 |
-- root for items in the Counter MIB module |
| 46 |
sitCtrMIB OBJECT IDENTIFIER ::= { sitItems 1 } |
| 47 |
|
| 48 |
-- conformance area containing group and compliance specifications |
| 49 |
sitCtrConfs OBJECT IDENTIFIER ::= { sitCtrMIB 1 } |
| 50 |
sitCtrGroups OBJECT IDENTIFIER ::= { sitCtrConfs 1 } |
| 51 |
sitCtrCompls OBJECT IDENTIFIER ::= { sitCtrConfs 2 } |
| 52 |
|
| 53 |
-- sub-tree for objects, and for each functional area |
| 54 |
sitCtrObjs OBJECT IDENTIFIER ::= { sitCtrMIB 2 } |
| 55 |
sitCtrTest1Objs OBJECT IDENTIFIER ::= { sitCtrObjs 1 } |
| 56 |
|
| 57 |
-- sub-tree for events |
| 58 |
sitCtrEvents OBJECT IDENTIFIER ::= { sitCtrMIB 3 } |
| 59 |
sitCtrEventsV2 OBJECT IDENTIFIER ::= { sitCtrEvents 0 } |
| 60 |
|
| 61 |
|
| 62 |
-- the test objects |
| 63 |
|
| 64 |
sitCtrDiscont OBJECT-TYPE |
| 65 |
SYNTAX TimeStamp |
| 66 |
MAX-ACCESS read-only |
| 67 |
STATUS current |
| 68 |
DESCRIPTION |
| 69 |
"The value of sysUptime when the value of objects |
| 70 |
sitCtrInitLow or sitCtrInitHigh are changed. The |
| 71 |
value is zero if the objects have not been changed." |
| 72 |
::= { sitCtrTest1Objs 1 } |
| 73 |
|
| 74 |
sitCtrInitHigh OBJECT-TYPE |
| 75 |
SYNTAX Unsigned32 |
| 76 |
MAX-ACCESS read-write |
| 77 |
STATUS current |
| 78 |
DESCRIPTION |
| 79 |
"The 'initial' value for the high 32 bits of the |
| 80 |
counter objects. The initial value is zero. When |
| 81 |
the value is changed, the value of the counters |
| 82 |
is changed." |
| 83 |
::= { sitCtrTest1Objs 2 } |
| 84 |
|
| 85 |
sitCtrInitLow OBJECT-TYPE |
| 86 |
SYNTAX Unsigned32 |
| 87 |
MAX-ACCESS read-write |
| 88 |
STATUS current |
| 89 |
DESCRIPTION |
| 90 |
"The 'initial' value for the low 32 bits of the |
| 91 |
counter objects. The initial value is zero. When |
| 92 |
the value is changed, the value of the counters |
| 93 |
is changed." |
| 94 |
::= { sitCtrTest1Objs 3 } |
| 95 |
|
| 96 |
sitCtrPeriodLen OBJECT-TYPE |
| 97 |
SYNTAX Unsigned32(1..60) |
| 98 |
UNITS "seconds" |
| 99 |
MAX-ACCESS read-write |
| 100 |
STATUS current |
| 101 |
DESCRIPTION |
| 102 |
"How often the value of counters sitCtrT1c64 and |
| 103 |
sitCtrT2c64 are updated." |
| 104 |
::= { sitCtrTest1Objs 4 } |
| 105 |
|
| 106 |
sitCtrPeriods OBJECT-TYPE |
| 107 |
SYNTAX Counter32 |
| 108 |
MAX-ACCESS read-only |
| 109 |
STATUS current |
| 110 |
DESCRIPTION |
| 111 |
"The number of time periods that have occurred. |
| 112 |
Note the length of a period may be changed." |
| 113 |
::= { sitCtrTest1Objs 5 } |
| 114 |
|
| 115 |
sitCtrIncr OBJECT-TYPE |
| 116 |
SYNTAX Unsigned32(1..'ffffffff'h) |
| 117 |
MAX-ACCESS read-write |
| 118 |
STATUS current |
| 119 |
DESCRIPTION |
| 120 |
"The amount that the counter sitCtrT1c64 will be |
| 121 |
incremented each time period. The 'initial' value |
| 122 |
is '40000001'h, which will cause a 32-bit counter |
| 123 |
to rollover every fourth period." |
| 124 |
::= { sitCtrTest1Objs 6 } |
| 125 |
|
| 126 |
sitCtrSplit1High OBJECT-TYPE |
| 127 |
SYNTAX Counter32 |
| 128 |
MAX-ACCESS read-only |
| 129 |
STATUS current |
| 130 |
DESCRIPTION |
| 131 |
"The high 32-bits of a 64-bit counter, sitCtrT1c64. |
| 132 |
The object sitCtrDiscont has the value of sysUptime |
| 133 |
when the last discontinuity for this object occured." |
| 134 |
::= { sitCtrTest1Objs 7 } |
| 135 |
|
| 136 |
sitCtrSplit1Low OBJECT-TYPE |
| 137 |
SYNTAX Counter32 |
| 138 |
MAX-ACCESS read-only |
| 139 |
STATUS current |
| 140 |
DESCRIPTION |
| 141 |
"The low 32-bits of a 64-bit counter, sitCtrT1c64. |
| 142 |
The object sitCtrDiscont has the value of sysUptime |
| 143 |
when the last discontinuity for this object occured." |
| 144 |
::= { sitCtrTest1Objs 8 } |
| 145 |
|
| 146 |
sitCtrT1c64 OBJECT-TYPE |
| 147 |
SYNTAX Counter64 |
| 148 |
MAX-ACCESS read-only |
| 149 |
STATUS current |
| 150 |
DESCRIPTION |
| 151 |
"A 64-bit counter. Every time period, the value |
| 152 |
is incremented by the value of object sitCtrIncr. |
| 153 |
The object sitCtrDiscont has the value of sysUptime |
| 154 |
when the last discontinuity for this object occured." |
| 155 |
::= { sitCtrTest1Objs 9 } |
| 156 |
|
| 157 |
sitCtrSplit2High OBJECT-TYPE |
| 158 |
SYNTAX Counter32 |
| 159 |
MAX-ACCESS read-only |
| 160 |
STATUS current |
| 161 |
DESCRIPTION |
| 162 |
"The high 32-bits of a 64-bit counter, sitCtrT2c64. |
| 163 |
The object sitCtrDiscont has the value of sysUptime |
| 164 |
when the last discontinuity for this object occured." |
| 165 |
::= { sitCtrTest1Objs 10 } |
| 166 |
|
| 167 |
sitCtrSplit2Low OBJECT-TYPE |
| 168 |
SYNTAX Counter32 |
| 169 |
MAX-ACCESS read-only |
| 170 |
STATUS current |
| 171 |
DESCRIPTION |
| 172 |
"The low 32-bits of a 64-bit counter, sitCtrT2c64. |
| 173 |
The object sitCtrDiscont has the value of sysUptime |
| 174 |
when the last discontinuity for this object occured." |
| 175 |
::= { sitCtrTest1Objs 11 } |
| 176 |
|
| 177 |
sitCtrT2c64 OBJECT-TYPE |
| 178 |
SYNTAX Counter64 |
| 179 |
MAX-ACCESS read-only |
| 180 |
STATUS current |
| 181 |
DESCRIPTION |
| 182 |
"A 64-bit counter. Every time period, the value |
| 183 |
is incremented by 2 raised to the power of the |
| 184 |
value of object sitCtrPeriods mod 64. Thus, this |
| 185 |
counter will roll over every 64 or 65 periods. |
| 186 |
|
| 187 |
The object sitCtrDiscont has the value of sysUptime |
| 188 |
when the last discontinuity for this object occured." |
| 189 |
::= { sitCtrTest1Objs 12 } |
| 190 |
|
| 191 |
|
| 192 |
sitCtrT1A OBJECT-TYPE |
| 193 |
SYNTAX DisplayString(SIZE(1..20)) |
| 194 |
MAX-ACCESS read-only |
| 195 |
STATUS current |
| 196 |
DESCRIPTION |
| 197 |
"The value for counter sitCtrT1c64 as an ASCII string." |
| 198 |
::= { sitCtrTest1Objs 13 } |
| 199 |
|
| 200 |
sitCtrT1O OBJECT-TYPE |
| 201 |
SYNTAX Opaque(SIZE(4..12)) |
| 202 |
MAX-ACCESS read-only |
| 203 |
STATUS current |
| 204 |
DESCRIPTION |
| 205 |
"The value for counter sitCtrT1c64 as an OPAQUE. |
| 206 |
The value is the BER serialization of type |
| 207 |
COUNTER64 ::= [118] IMPLICIT Counter64 |
| 208 |
(Note 118 is 0x76, which is 0x30 plus 0x46. Value |
| 209 |
0x46 is the normal tag for Counter64.) |
| 210 |
For example, the BER serialization of the value 56782 of |
| 211 |
type COUNTER64 is '9f760300ddce'h. The BER serialization |
| 212 |
of the value '9f760300ddce'h of type Opaque is |
| 213 |
'44069f760300ddce'h." |
| 214 |
::= { sitCtrTest1Objs 14 } |
| 215 |
|
| 216 |
sitCtrT2A OBJECT-TYPE |
| 217 |
SYNTAX DisplayString(SIZE(1..20)) |
| 218 |
MAX-ACCESS read-only |
| 219 |
STATUS current |
| 220 |
DESCRIPTION |
| 221 |
"The value for counter sitCtrT2c64 as an ASCII string." |
| 222 |
::= { sitCtrTest1Objs 15 } |
| 223 |
|
| 224 |
sitCtrT2O OBJECT-TYPE |
| 225 |
SYNTAX Opaque(SIZE(4..12)) |
| 226 |
MAX-ACCESS read-only |
| 227 |
STATUS current |
| 228 |
DESCRIPTION |
| 229 |
"The value for counter sitCtrT2c64 as an OPAQUE. |
| 230 |
The value is the BER serialization of type |
| 231 |
COUNTER64 ::= [118] IMPLICIT Counter64 |
| 232 |
(Note 118 is 0x76, which is 0x30 plus 0x46. Value |
| 233 |
0x46 is the normal tag for Counter64.) |
| 234 |
For example, the BER serialization of the value 56782 of |
| 235 |
type COUNTER64 is '9f760300ddce'h. The BER serialization |
| 236 |
of the value '9f760300ddce'h of type Opaque is |
| 237 |
'44069f760300ddce'h." |
| 238 |
::= { sitCtrTest1Objs 16 } |
| 239 |
|
| 240 |
|
| 241 |
-- object and event groups |
| 242 |
sitCtr1Group OBJECT-GROUP |
| 243 |
OBJECTS { sitCtrDiscont, sitCtrInitHigh, sitCtrInitLow, |
| 244 |
sitCtrPeriodLen, sitCtrPeriods, sitCtrIncr, |
| 245 |
sitCtrSplit1High, sitCtrSplit1Low, sitCtrT1c64, |
| 246 |
sitCtrSplit2High, sitCtrSplit2Low, sitCtrT2c64, |
| 247 |
sitCtrT1A, sitCtrT1O, sitCtrT2A, sitCtrT2O } |
| 248 |
STATUS current |
| 249 |
DESCRIPTION |
| 250 |
"Objects for the first test." |
| 251 |
::= { sitCtrGroups 1 } |
| 252 |
|
| 253 |
-- compliance specifications |
| 254 |
sitCtrComplV1 MODULE-COMPLIANCE |
| 255 |
STATUS current |
| 256 |
DESCRIPTION "All objects are required." |
| 257 |
MODULE -- this module |
| 258 |
MANDATORY-GROUPS { sitCtr1Group } |
| 259 |
::= { sitCtrCompls 1 } |
| 260 |
|
| 261 |
END |