~ubuntu-branches/ubuntu/precise/corosync/precise-proposed

« back to all changes in this revision

Viewing changes to conf/COROSYNC-MIB.txt

  • Committer: Bazaar Package Importer
  • Author(s): Martin Loschwitz
  • Date: 2011-10-19 14:32:18 UTC
  • mfrom: (1.1.6 upstream) (5.1.16 sid)
  • Revision ID: james.westby@ubuntu.com-20111019143218-ew8phl0raqyog844
Tags: 1.4.2-1
* Changed my email address in debian/control
* Add corosync-blackbox to the corosync package
* Imported Upstream version 1.4.2

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
COROSYNC-MIB DEFINITIONS ::= BEGIN
 
2
 
 
3
--
 
4
-- MIB objects for Corosync
 
5
--
 
6
 
 
7
IMPORTS
 
8
    MODULE-IDENTITY,NOTIFICATION-TYPE,
 
9
    Integer32,enterprises,OBJECT-TYPE,
 
10
    Counter64                                   FROM SNMPv2-SMI
 
11
    MODULE-COMPLIANCE, OBJECT-GROUP,
 
12
    NOTIFICATION-GROUP                          FROM SNMPv2-CONF
 
13
;
 
14
 
 
15
corosync MODULE-IDENTITY
 
16
    LAST-UPDATED    "201101211300Z"
 
17
    ORGANIZATION    "www.corosync.org"
 
18
    CONTACT-INFO    "name:  Yuki Sato
 
19
                     email: openais@lists.linux-foundation.org"
 
20
    DESCRIPTION     "Add cluster quorum traps, fix smilint errors, and fix notification block ID"
 
21
    REVISION        "201101211300Z"
 
22
    DESCRIPTION     "MIB objects for Corosync"
 
23
    REVISION        "201003251209Z"
 
24
    DESCRIPTION     "First draft"
 
25
    REVISION        "200911061318Z"
 
26
    DESCRIPTION
 
27
        "Private Enterprise Number has been assigned."
 
28
        ::= { enterprises 35488 }
 
29
 
 
30
--
 
31
-- top level structure
 
32
--
 
33
corosyncNotices OBJECT IDENTIFIER ::= { corosync 0 }
 
34
corosyncObjects OBJECT IDENTIFIER ::= { corosync 1 }
 
35
corosyncConformance OBJECT IDENTIFIER ::= { corosync 200 }
 
36
 
 
37
--
 
38
--  Corosync MIB entries
 
39
--
 
40
 
 
41
--
 
42
-- Node Information
 
43
--
 
44
corosyncObjectsNodeName OBJECT-TYPE
 
45
    SYNTAX      OCTET STRING (SIZE(1..64))
 
46
    MAX-ACCESS  accessible-for-notify
 
47
    STATUS      current
 
48
    DESCRIPTION "Hostname of the cluster node."
 
49
::= { corosyncObjects 1 }
 
50
 
 
51
corosyncObjectsNodeID OBJECT-TYPE
 
52
    SYNTAX      Integer32
 
53
    MAX-ACCESS  accessible-for-notify
 
54
    STATUS      current
 
55
    DESCRIPTION "The unique integer of the node."
 
56
::= { corosyncObjects 2 }
 
57
 
 
58
corosyncObjectsNodeStatus OBJECT-TYPE
 
59
    SYNTAX      OCTET STRING
 
60
    MAX-ACCESS  accessible-for-notify
 
61
    STATUS      current
 
62
    DESCRIPTION
 
63
        "The status of the node."
 
64
::= { corosyncObjects 3 }
 
65
 
 
66
corosyncObjectsNodeAddress OBJECT-TYPE
 
67
    SYNTAX      OCTET STRING
 
68
    MAX-ACCESS  accessible-for-notify
 
69
    STATUS      current
 
70
    DESCRIPTION "The address of the node."
 
71
::= { corosyncObjects 4 }
 
72
 
 
73
 
 
74
--
 
75
-- Quorum Information
 
76
--
 
77
--
 
78
 
 
79
-- not currently used, but here for future use
 
80
corosyncObjectsRingSeq OBJECT-TYPE
 
81
    SYNTAX      Counter64
 
82
    MAX-ACCESS  accessible-for-notify
 
83
    STATUS      current
 
84
    DESCRIPTION
 
85
        "Ring ID Sequence number"
 
86
::= { corosyncObjects 20 }
 
87
 
 
88
corosyncObjectsQuorumStatus OBJECT-TYPE
 
89
    SYNTAX      OCTET STRING
 
90
    MAX-ACCESS  accessible-for-notify
 
91
    STATUS      current
 
92
    DESCRIPTION
 
93
        "Quorum Status"
 
94
::= { corosyncObjects 21 }
 
95
 
 
96
 
 
97
--
 
98
-- Application Information
 
99
--
 
100
corosyncObjectsAppName OBJECT-TYPE
 
101
    SYNTAX      OCTET STRING
 
102
    MAX-ACCESS  accessible-for-notify
 
103
    STATUS      current
 
104
    DESCRIPTION
 
105
        "Application name"
 
106
::= { corosyncObjects 40 }
 
107
 
 
108
corosyncObjectsAppStatus OBJECT-TYPE
 
109
    SYNTAX      OCTET STRING
 
110
    MAX-ACCESS  accessible-for-notify
 
111
    STATUS      current
 
112
    DESCRIPTION
 
113
        "Application status"
 
114
::= { corosyncObjects 41 }
 
115
 
 
116
--
 
117
-- Notification Information
 
118
--
 
119
corosyncNoticesNodeStatus NOTIFICATION-TYPE
 
120
    OBJECTS     { corosyncObjectsNodeName,
 
121
                  corosyncObjectsNodeID,
 
122
                  corosyncObjectsNodeAddress,
 
123
                  corosyncObjectsNodeStatus }
 
124
    STATUS      current
 
125
    DESCRIPTION
 
126
      "Produced when a node 'corosyncObjectsNodeName' joins or leaves
 
127
       the cluster.
 
128
 
 
129
       The notification includes the node name, nodeid, the node's
 
130
       IP address and the status (either 'joined' or 'left')."
 
131
::= { corosyncNotices 1 }
 
132
 
 
133
corosyncNoticesQuorumStatus NOTIFICATION-TYPE
 
134
    OBJECTS     { corosyncObjectsNodeName,
 
135
                  corosyncObjectsNodeID,
 
136
                  corosyncObjectsQuorumStatus }
 
137
    STATUS  current
 
138
    DESCRIPTION
 
139
      "Produced when the quorum state changes.
 
140
 
 
141
       The notification also includes the node name, nodeid
 
142
       and the new state (either 'quorate' or 'NOT quorate')."
 
143
::= { corosyncNotices 2 }
 
144
 
 
145
corosyncNoticesAppStatus NOTIFICATION-TYPE
 
146
    OBJECTS     { corosyncObjectsNodeName,
 
147
                  corosyncObjectsNodeID,
 
148
                  corosyncObjectsAppName, 
 
149
                  corosyncObjectsAppStatus }
 
150
    STATUS  current
 
151
    DESCRIPTION
 
152
      "Produced when a client application 'corosyncObjectsAppName' connects or
 
153
       disconnects from Corosync.
 
154
 
 
155
       The notification also includes the node name, nodeid, the application
 
156
       name and the new state (either 'connected' or 'disconnected')."
 
157
::= { corosyncNotices 3 }
 
158
 
 
159
 
 
160
--
 
161
-- Compliance Information
 
162
--
 
163
corosyncCompliances OBJECT IDENTIFIER ::= { corosyncConformance 1 }
 
164
 
 
165
corosyncConformanceGroups OBJECT IDENTIFIER ::= { corosyncConformance 2 }
 
166
 
 
167
corosyncCompliance MODULE-COMPLIANCE
 
168
    STATUS      current
 
169
    DESCRIPTION "Corosync compliance information"
 
170
    MODULE    -- this module
 
171
    MANDATORY-GROUPS { corosyncObjectGroup, corosyncNotificationGroup }
 
172
::= { corosyncCompliances 1 }
 
173
 
 
174
corosyncObjectGroup OBJECT-GROUP
 
175
    OBJECTS { corosyncObjectsNodeName,
 
176
              corosyncObjectsNodeID,
 
177
              corosyncObjectsNodeStatus,
 
178
              corosyncObjectsNodeAddress,
 
179
              corosyncObjectsRingSeq,
 
180
              corosyncObjectsQuorumStatus,
 
181
              corosyncObjectsAppName,
 
182
              corosyncObjectsAppStatus
 
183
            }
 
184
    STATUS      current
 
185
    DESCRIPTION "Corosync Object Conformance Group"
 
186
::= { corosyncConformanceGroups 1 }
 
187
 
 
188
corosyncNotificationGroup NOTIFICATION-GROUP
 
189
    NOTIFICATIONS { corosyncNoticesNodeStatus,
 
190
                    corosyncNoticesQuorumStatus,
 
191
                    corosyncNoticesAppStatus
 
192
                  }
 
193
    STATUS      current
 
194
    DESCRIPTION "Corosync Notification Conformance Group"
 
195
::= { corosyncConformanceGroups 2 }
 
196
 
 
197
END