~ubuntu-branches/ubuntu/gutsy/net-snmp/gutsy-security

« back to all changes in this revision

Viewing changes to mibs/UCD-DLMOD-MIB.txt

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2004-09-13 12:06:21 UTC
  • Revision ID: james.westby@ubuntu.com-20040913120621-g952ntonlleihcvm
Tags: upstream-5.1.1
ImportĀ upstreamĀ versionĀ 5.1.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
UCD-DLMOD-MIB DEFINITIONS ::= BEGIN
 
2
 
 
3
-- Why do we have dlmodNextIndex if the dlmodTable is read-write?
 
4
-- What exactly is the dlmodName and dlmodPath?
 
5
-- Should there not be a timestamp associated with dlmodError?
 
6
-- What exactly do the dlmodStatus enumerations mean?
 
7
 
 
8
IMPORTS
 
9
    OBJECT-TYPE, MODULE-IDENTITY, Integer32     FROM SNMPv2-SMI
 
10
    DisplayString                               FROM SNMPv2-TC
 
11
    ucdExperimental                             FROM UCD-SNMP-MIB;
 
12
 
 
13
ucdDlmodMIB MODULE-IDENTITY
 
14
    LAST-UPDATED "9912100000Z"
 
15
    ORGANIZATION "University of California, Davis"
 
16
    CONTACT-INFO    
 
17
        "This mib is no longer being maintained by the University of
 
18
         California and is now in life-support-mode and being
 
19
         maintained by the net-snmp project.  The best place to write
 
20
         for public questions about the net-snmp-coders mailing list
 
21
         at net-snmp-coders@lists.sourceforge.net.
 
22
 
 
23
         postal:   Wes Hardaker
 
24
                   P.O. Box 382
 
25
                   Davis CA  95617
 
26
 
 
27
         email:    net-snmp-coders@lists.sourceforge.net
 
28
        "
 
29
    DESCRIPTION
 
30
        "This file defines the MIB objects for dynamic 
 
31
         loadable MIB modules."
 
32
    REVISION     "9912100000Z"
 
33
    DESCRIPTION
 
34
        "SMIv2 version converted from older MIB definitions."
 
35
    ::= { ucdExperimental 14 }
 
36
 
 
37
dlmodNextIndex OBJECT-TYPE 
 
38
    SYNTAX      Integer32
 
39
    MAX-ACCESS  read-only
 
40
    STATUS      current
 
41
    DESCRIPTION
 
42
        "The index number of next appropiate unassigned entry
 
43
         in the dlmodTable."
 
44
    ::= { ucdDlmodMIB 1 }
 
45
 
 
46
dlmodTable OBJECT-TYPE 
 
47
    SYNTAX      SEQUENCE OF DlmodEntry
 
48
    MAX-ACCESS  not-accessible
 
49
    STATUS      current
 
50
    DESCRIPTION
 
51
        "A table of dlmodEntry."
 
52
    ::= { ucdDlmodMIB 2 }
 
53
 
 
54
dlmodEntry OBJECT-TYPE
 
55
    SYNTAX      DlmodEntry
 
56
    MAX-ACCESS  not-accessible
 
57
    STATUS      current
 
58
    DESCRIPTION
 
59
        "The parameters of dynamically loaded MIB module."
 
60
    INDEX       { dlmodIndex }
 
61
    ::= { dlmodTable 1 }
 
62
 
 
63
DlmodEntry ::= SEQUENCE {
 
64
    dlmodIndex  Integer32,
 
65
    dlmodName   DisplayString,
 
66
    dlmodPath   DisplayString,
 
67
    dlmodError  DisplayString,
 
68
    dlmodStatus INTEGER
 
69
}
 
70
 
 
71
dlmodIndex OBJECT-TYPE
 
72
    SYNTAX      Integer32 (1..65535)
 
73
    MAX-ACCESS  not-accessible
 
74
    STATUS      current
 
75
    DESCRIPTION
 
76
        "An index that uniqely identifies an entry in the dlmodTable."
 
77
    ::= { dlmodEntry 1 }
 
78
 
 
79
dlmodName OBJECT-TYPE
 
80
    SYNTAX      DisplayString
 
81
    MAX-ACCESS  read-write
 
82
    STATUS      current
 
83
    DESCRIPTION
 
84
        "The module name."
 
85
    ::= { dlmodEntry 2 }
 
86
 
 
87
dlmodPath OBJECT-TYPE
 
88
    SYNTAX      DisplayString
 
89
    MAX-ACCESS  read-write
 
90
    STATUS      current
 
91
    DESCRIPTION
 
92
        "The path of the module executable file."
 
93
    ::= { dlmodEntry 3 } 
 
94
 
 
95
dlmodError OBJECT-TYPE
 
96
    SYNTAX      DisplayString
 
97
    MAX-ACCESS  read-only
 
98
    STATUS      current
 
99
    DESCRIPTION
 
100
        "The last error from dlmod_load_module."
 
101
    ::= { dlmodEntry 4 }
 
102
 
 
103
dlmodStatus OBJECT-TYPE
 
104
    SYNTAX      INTEGER {
 
105
                    loaded(1),
 
106
                    unloaded(2),
 
107
                    error(3),
 
108
                    load(4),
 
109
                    unload(5),
 
110
                    create(6),
 
111
                    delete(7)
 
112
                }
 
113
    MAX-ACCESS  read-write
 
114
    STATUS      current
 
115
    DESCRIPTION
 
116
        "The current status of the loaded module."
 
117
    ::= { dlmodEntry 5 }
 
118
 
 
119
END