1
NET-SNMP-PASS-MIB DEFINITIONS ::= BEGIN
4
-- Example MIB objects for "pass" and "pass-persist" extension script
8
MODULE-IDENTITY, OBJECT-TYPE, TimeTicks, IpAddress,
9
Counter32, Gauge32, Integer32 FROM SNMPv2-SMI
10
SnmpAdminString FROM SNMP-FRAMEWORK-MIB
11
netSnmpExamples FROM NET-SNMP-EXAMPLES-MIB
14
netSnmpPassExamples MODULE-IDENTITY
15
LAST-UPDATED "200905280000Z"
16
ORGANIZATION "www.net-snmp.org"
22
email: net-snmp-coders@lists.sourceforge.net"
24
"Example MIB objects for pass/pass-persist extension script"
25
::= { netSnmpExamples 255 }
31
netSnmpPassString OBJECT-TYPE
32
SYNTAX SnmpAdminString
35
DESCRIPTION "Example string scalar object."
36
DEFVAL { "Life, the Universe, and Everything" }
37
::= { netSnmpPassExamples 1 }
39
netSnmpPassTimeTicks OBJECT-TYPE
43
DESCRIPTION "Example timetick object."
44
DEFVAL { 363136200 } -- 42 days, 0:42:42.00
45
::= { netSnmpPassExamples 3 }
47
netSnmpPassIpAddress OBJECT-TYPE
51
DESCRIPTION "Example IP Address object."
52
DEFVAL { '7f000001'H } -- 127.0.0.1
53
::= { netSnmpPassExamples 4 }
55
netSnmpPassCounter OBJECT-TYPE
59
DESCRIPTION "Example counter object.
60
Note that this object will always return the value '42'."
61
::= { netSnmpPassExamples 5 }
63
netSnmpPassGauge OBJECT-TYPE
67
DESCRIPTION "Example Gauge object."
69
::= { netSnmpPassExamples 6 }
72
netSnmpPassOIDValue OBJECT IDENTIFIER
73
::= { netSnmpPassExamples 99 }
79
netSnmpPassTable OBJECT-TYPE
80
SYNTAX SEQUENCE OF NetSnmpPassEntry
81
MAX-ACCESS not-accessible
83
DESCRIPTION "Example table"
84
::= { netSnmpPassExamples 2 }
86
netSnmpPassEntry OBJECT-TYPE
87
SYNTAX NetSnmpPassEntry
88
MAX-ACCESS not-accessible
90
DESCRIPTION "Conceptual row in the example table."
91
INDEX { netSnmpPassIndex }
92
::= {netSnmpPassTable 1 }
94
NetSnmpPassEntry ::= SEQUENCE {
95
netSnmpPassIndex Integer32,
96
netSnmpPassInteger Integer32,
97
netSnmpPassOID OBJECT IDENTIFIER
100
netSnmpPassIndex OBJECT-TYPE
102
MAX-ACCESS not-accessible
104
DESCRIPTION "Arbitrary index into the netSnmpPassTable.
105
Note that there will always be one row, with index 1"
106
::= { netSnmpPassEntry 1 }
108
netSnmpPassInteger OBJECT-TYPE
110
MAX-ACCESS read-write
112
DESCRIPTION "Example Integer (table) object."
114
::= { netSnmpPassEntry 2 }
116
netSnmpPassOID OBJECT-TYPE
117
SYNTAX OBJECT IDENTIFIER
118
MAX-ACCESS read-write
120
DESCRIPTION "Example OID (table) object."
121
DEFVAL { netSnmpPassOIDValue }
122
::= { netSnmpPassEntry 3 }