Blame mibs/NET-SNMP-PASS-MIB.txt

Packit fcad23
NET-SNMP-PASS-MIB DEFINITIONS ::= BEGIN
Packit fcad23
Packit fcad23
--
Packit fcad23
-- Example MIB objects for "pass" and "pass-persist" extension script
Packit fcad23
--
Packit fcad23
Packit fcad23
IMPORTS
Packit fcad23
    MODULE-IDENTITY, OBJECT-TYPE, TimeTicks, IpAddress,
Packit fcad23
          Counter32, Gauge32, Integer32     FROM SNMPv2-SMI
Packit fcad23
    SnmpAdminString                         FROM SNMP-FRAMEWORK-MIB
Packit fcad23
    netSnmpExamples                         FROM NET-SNMP-EXAMPLES-MIB
Packit fcad23
;
Packit fcad23
Packit fcad23
netSnmpPassExamples MODULE-IDENTITY
Packit fcad23
    LAST-UPDATED "200905280000Z"
Packit fcad23
    ORGANIZATION "www.net-snmp.org"
Packit fcad23
    CONTACT-INFO    
Packit fcad23
	 "postal:   Wes Hardaker
Packit fcad23
                    P.O. Box 382
Packit fcad23
                    Davis CA  95617
Packit fcad23
Packit fcad23
          email:    net-snmp-coders@lists.sourceforge.net"
Packit fcad23
    DESCRIPTION
Packit fcad23
	"Example MIB objects for pass/pass-persist extension script"
Packit fcad23
    ::= { netSnmpExamples 255 }
Packit fcad23
Packit fcad23
--
Packit fcad23
-- Example scalars
Packit fcad23
--
Packit fcad23
Packit fcad23
netSnmpPassString OBJECT-TYPE
Packit fcad23
    SYNTAX      SnmpAdminString
Packit fcad23
    MAX-ACCESS  read-write
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION "Example string scalar object."
Packit fcad23
    DEFVAL { "Life, the Universe, and Everything" }
Packit fcad23
    ::= { netSnmpPassExamples 1 }
Packit fcad23
Packit fcad23
netSnmpPassTimeTicks OBJECT-TYPE
Packit fcad23
    SYNTAX      TimeTicks
Packit fcad23
    MAX-ACCESS  read-write
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION "Example timetick object."
Packit fcad23
    DEFVAL { 363136200 }  -- 42 days, 0:42:42.00
Packit fcad23
    ::= { netSnmpPassExamples 3 }
Packit fcad23
Packit fcad23
netSnmpPassIpAddress OBJECT-TYPE
Packit fcad23
    SYNTAX      IpAddress
Packit fcad23
    MAX-ACCESS  read-write
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION "Example IP Address object."
Packit fcad23
    DEFVAL { '7f000001'H }  -- 127.0.0.1
Packit fcad23
    ::= { netSnmpPassExamples 4 }
Packit fcad23
Packit fcad23
netSnmpPassCounter OBJECT-TYPE
Packit fcad23
    SYNTAX      Counter32
Packit fcad23
    MAX-ACCESS  read-only
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION "Example counter object.
Packit fcad23
                 Note that this object will always return the value '42'."
Packit fcad23
    ::= { netSnmpPassExamples 5 }
Packit fcad23
Packit fcad23
netSnmpPassGauge OBJECT-TYPE
Packit fcad23
    SYNTAX      Gauge32
Packit fcad23
    MAX-ACCESS  read-write
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION "Example Gauge object."
Packit fcad23
    DEFVAL { 42 }
Packit fcad23
    ::= { netSnmpPassExamples 6 }
Packit fcad23
Packit fcad23
netSnmpPassCounter64 OBJECT-TYPE
Packit fcad23
    SYNTAX      Counter64
Packit fcad23
    MAX-ACCESS  read-only
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION "Example Counter64 object."
Packit fcad23
    ::= { netSnmpPassExamples 7 }
Packit fcad23
Packit fcad23
netSnmpPassInteger64 OBJECT-TYPE
Packit fcad23
    SYNTAX      Opaque
Packit fcad23
    MAX-ACCESS  read-only
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION "Example Opaque Integer64 object."
Packit fcad23
    ::= { netSnmpPassExamples 8 }
Packit fcad23
Packit fcad23
Packit fcad23
netSnmpPassOIDValue OBJECT IDENTIFIER
Packit fcad23
    ::= { netSnmpPassExamples 99 }
Packit fcad23
Packit fcad23
--
Packit fcad23
--  Example Table
Packit fcad23
--
Packit fcad23
Packit fcad23
netSnmpPassTable OBJECT-TYPE
Packit fcad23
    SYNTAX      SEQUENCE OF NetSnmpPassEntry
Packit fcad23
    MAX-ACCESS  not-accessible
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION "Example table"
Packit fcad23
    ::= { netSnmpPassExamples 2 }
Packit fcad23
Packit fcad23
netSnmpPassEntry OBJECT-TYPE
Packit fcad23
    SYNTAX      NetSnmpPassEntry
Packit fcad23
    MAX-ACCESS  not-accessible
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION "Conceptual row in the example table."
Packit fcad23
    INDEX   { netSnmpPassIndex }
Packit fcad23
    ::= {netSnmpPassTable 1 }
Packit fcad23
Packit fcad23
NetSnmpPassEntry ::= SEQUENCE {
Packit fcad23
	netSnmpPassIndex   Integer32,
Packit fcad23
	netSnmpPassInteger Integer32,
Packit fcad23
	netSnmpPassOID 	   OBJECT IDENTIFIER
Packit fcad23
}
Packit fcad23
Packit fcad23
netSnmpPassIndex OBJECT-TYPE
Packit fcad23
    SYNTAX      Integer32
Packit fcad23
    MAX-ACCESS  not-accessible
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION "Arbitrary index into the netSnmpPassTable.
Packit fcad23
                 Note that there will always be one row, with index 1"
Packit fcad23
    ::= { netSnmpPassEntry 1 }
Packit fcad23
Packit fcad23
netSnmpPassInteger OBJECT-TYPE
Packit fcad23
    SYNTAX      Integer32
Packit fcad23
    MAX-ACCESS  read-write
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION "Example Integer (table) object."
Packit fcad23
    DEFVAL { 42 }
Packit fcad23
    ::= { netSnmpPassEntry 2 }
Packit fcad23
Packit fcad23
netSnmpPassOID OBJECT-TYPE
Packit fcad23
    SYNTAX      OBJECT IDENTIFIER
Packit fcad23
    MAX-ACCESS  read-write
Packit fcad23
    STATUS      current
Packit fcad23
    DESCRIPTION "Example OID (table) object."
Packit fcad23
    DEFVAL { netSnmpPassOIDValue }
Packit fcad23
    ::= { netSnmpPassEntry 3 }
Packit fcad23
Packit fcad23
END