~ubuntu-branches/ubuntu/wily/net-snmp/wily-proposed

« back to all changes in this revision

Viewing changes to mibs/NET-SNMP-PASS-MIB.txt

  • Committer: Bazaar Package Importer
  • Author(s): Chuck Short
  • Date: 2010-06-28 14:59:36 UTC
  • mfrom: (1.2.3 upstream) (1.1.12 sid)
  • Revision ID: james.westby@ubuntu.com-20100628145936-cbiallic69pn044g
Tags: 5.4.3~dfsg-1ubuntu1
* Merge from debian unstable.  Remaining changes:
  - Set Ubuntu maintainer address.
  - net-snmp-config: Use bash. (LP: #104738)
  - Removed multiuser option when calling update-rc.d. (LP: #254261)
  - debian/snmpd.init: LSBify the init script.
  - debian/patches/52_fix_snmpcmd_1_typo.patch: Adjust a typo in snmpcmd.1
    (LP: #250459)
  - debian/snmpd.postinst: source debconf before doing work, LP: #589056
  - debian/snmp.preinst, debian/snmp.prerm: kill any/all processes owned by
    snmp user before install/uninstall, LP: #573391
  - Add apport hook (LP: #533603):
  - debian/{snmp,snmpd}.apport: Added.
  - debian/control: Build-depends on dh-apport.
  - debian/rules: 
    + Add --with apport.
    + override_dh_apport to install hook on snmpd package only.
 * Dropped patches:
   - debian/patches/99-fix-ubuntu-div0.patch: Fix dvision by zero.. 

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
NET-SNMP-PASS-MIB DEFINITIONS ::= BEGIN
 
2
 
 
3
--
 
4
-- Example MIB objects for "pass" and "pass-persist" extension script
 
5
--
 
6
 
 
7
IMPORTS
 
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
 
12
;
 
13
 
 
14
netSnmpPassExamples MODULE-IDENTITY
 
15
    LAST-UPDATED "200905280000Z"
 
16
    ORGANIZATION "www.net-snmp.org"
 
17
    CONTACT-INFO    
 
18
         "postal:   Wes Hardaker
 
19
                    P.O. Box 382
 
20
                    Davis CA  95617
 
21
 
 
22
          email:    net-snmp-coders@lists.sourceforge.net"
 
23
    DESCRIPTION
 
24
        "Example MIB objects for pass/pass-persist extension script"
 
25
    ::= { netSnmpExamples 255 }
 
26
 
 
27
--
 
28
-- Example scalars
 
29
--
 
30
 
 
31
netSnmpPassString OBJECT-TYPE
 
32
    SYNTAX      SnmpAdminString
 
33
    MAX-ACCESS  read-write
 
34
    STATUS      current
 
35
    DESCRIPTION "Example string scalar object."
 
36
    DEFVAL { "Life, the Universe, and Everything" }
 
37
    ::= { netSnmpPassExamples 1 }
 
38
 
 
39
netSnmpPassTimeTicks OBJECT-TYPE
 
40
    SYNTAX      TimeTicks
 
41
    MAX-ACCESS  read-write
 
42
    STATUS      current
 
43
    DESCRIPTION "Example timetick object."
 
44
    DEFVAL { 363136200 }  -- 42 days, 0:42:42.00
 
45
    ::= { netSnmpPassExamples 3 }
 
46
 
 
47
netSnmpPassIpAddress OBJECT-TYPE
 
48
    SYNTAX      IpAddress
 
49
    MAX-ACCESS  read-write
 
50
    STATUS      current
 
51
    DESCRIPTION "Example IP Address object."
 
52
    DEFVAL { '7f000001'H }  -- 127.0.0.1
 
53
    ::= { netSnmpPassExamples 4 }
 
54
 
 
55
netSnmpPassCounter OBJECT-TYPE
 
56
    SYNTAX      Counter32
 
57
    MAX-ACCESS  read-only
 
58
    STATUS      current
 
59
    DESCRIPTION "Example counter object.
 
60
                 Note that this object will always return the value '42'."
 
61
    ::= { netSnmpPassExamples 5 }
 
62
 
 
63
netSnmpPassGauge OBJECT-TYPE
 
64
    SYNTAX      Gauge32
 
65
    MAX-ACCESS  read-write
 
66
    STATUS      current
 
67
    DESCRIPTION "Example Gauge object."
 
68
    DEFVAL { 42 }
 
69
    ::= { netSnmpPassExamples 6 }
 
70
 
 
71
 
 
72
netSnmpPassOIDValue OBJECT IDENTIFIER
 
73
    ::= { netSnmpPassExamples 99 }
 
74
 
 
75
--
 
76
--  Example Table
 
77
--
 
78
 
 
79
netSnmpPassTable OBJECT-TYPE
 
80
    SYNTAX      SEQUENCE OF NetSnmpPassEntry
 
81
    MAX-ACCESS  not-accessible
 
82
    STATUS      current
 
83
    DESCRIPTION "Example table"
 
84
    ::= { netSnmpPassExamples 2 }
 
85
 
 
86
netSnmpPassEntry OBJECT-TYPE
 
87
    SYNTAX      NetSnmpPassEntry
 
88
    MAX-ACCESS  not-accessible
 
89
    STATUS      current
 
90
    DESCRIPTION "Conceptual row in the example table."
 
91
    INDEX   { netSnmpPassIndex }
 
92
    ::= {netSnmpPassTable 1 }
 
93
 
 
94
NetSnmpPassEntry ::= SEQUENCE {
 
95
        netSnmpPassIndex   Integer32,
 
96
        netSnmpPassInteger Integer32,
 
97
        netSnmpPassOID     OBJECT IDENTIFIER
 
98
}
 
99
 
 
100
netSnmpPassIndex OBJECT-TYPE
 
101
    SYNTAX      Integer32
 
102
    MAX-ACCESS  not-accessible
 
103
    STATUS      current
 
104
    DESCRIPTION "Arbitrary index into the netSnmpPassTable.
 
105
                 Note that there will always be one row, with index 1"
 
106
    ::= { netSnmpPassEntry 1 }
 
107
 
 
108
netSnmpPassInteger OBJECT-TYPE
 
109
    SYNTAX      Integer32
 
110
    MAX-ACCESS  read-write
 
111
    STATUS      current
 
112
    DESCRIPTION "Example Integer (table) object."
 
113
    DEFVAL { 42 }
 
114
    ::= { netSnmpPassEntry 2 }
 
115
 
 
116
netSnmpPassOID OBJECT-TYPE
 
117
    SYNTAX      OBJECT IDENTIFIER
 
118
    MAX-ACCESS  read-write
 
119
    STATUS      current
 
120
    DESCRIPTION "Example OID (table) object."
 
121
    DEFVAL { netSnmpPassOIDValue }
 
122
    ::= { netSnmpPassEntry 3 }
 
123
 
 
124
END