1
COROSYNC-MIB DEFINITIONS ::= BEGIN
4
-- MIB objects for Corosync
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
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"
27
"Private Enterprise Number has been assigned."
28
::= { enterprises 35488 }
31
-- top level structure
33
corosyncNotices OBJECT IDENTIFIER ::= { corosync 0 }
34
corosyncObjects OBJECT IDENTIFIER ::= { corosync 1 }
35
corosyncConformance OBJECT IDENTIFIER ::= { corosync 200 }
38
-- Corosync MIB entries
44
corosyncObjectsNodeName OBJECT-TYPE
45
SYNTAX OCTET STRING (SIZE(1..64))
46
MAX-ACCESS accessible-for-notify
48
DESCRIPTION "Hostname of the cluster node."
49
::= { corosyncObjects 1 }
51
corosyncObjectsNodeID OBJECT-TYPE
53
MAX-ACCESS accessible-for-notify
55
DESCRIPTION "The unique integer of the node."
56
::= { corosyncObjects 2 }
58
corosyncObjectsNodeStatus OBJECT-TYPE
60
MAX-ACCESS accessible-for-notify
63
"The status of the node."
64
::= { corosyncObjects 3 }
66
corosyncObjectsNodeAddress OBJECT-TYPE
68
MAX-ACCESS accessible-for-notify
70
DESCRIPTION "The address of the node."
71
::= { corosyncObjects 4 }
79
-- not currently used, but here for future use
80
corosyncObjectsRingSeq OBJECT-TYPE
82
MAX-ACCESS accessible-for-notify
85
"Ring ID Sequence number"
86
::= { corosyncObjects 20 }
88
corosyncObjectsQuorumStatus OBJECT-TYPE
90
MAX-ACCESS accessible-for-notify
94
::= { corosyncObjects 21 }
98
-- Application Information
100
corosyncObjectsAppName OBJECT-TYPE
102
MAX-ACCESS accessible-for-notify
106
::= { corosyncObjects 40 }
108
corosyncObjectsAppStatus OBJECT-TYPE
110
MAX-ACCESS accessible-for-notify
114
::= { corosyncObjects 41 }
117
-- Notification Information
119
corosyncNoticesNodeStatus NOTIFICATION-TYPE
120
OBJECTS { corosyncObjectsNodeName,
121
corosyncObjectsNodeID,
122
corosyncObjectsNodeAddress,
123
corosyncObjectsNodeStatus }
126
"Produced when a node 'corosyncObjectsNodeName' joins or leaves
129
The notification includes the node name, nodeid, the node's
130
IP address and the status (either 'joined' or 'left')."
131
::= { corosyncNotices 1 }
133
corosyncNoticesQuorumStatus NOTIFICATION-TYPE
134
OBJECTS { corosyncObjectsNodeName,
135
corosyncObjectsNodeID,
136
corosyncObjectsQuorumStatus }
139
"Produced when the quorum state changes.
141
The notification also includes the node name, nodeid
142
and the new state (either 'quorate' or 'NOT quorate')."
143
::= { corosyncNotices 2 }
145
corosyncNoticesAppStatus NOTIFICATION-TYPE
146
OBJECTS { corosyncObjectsNodeName,
147
corosyncObjectsNodeID,
148
corosyncObjectsAppName,
149
corosyncObjectsAppStatus }
152
"Produced when a client application 'corosyncObjectsAppName' connects or
153
disconnects from Corosync.
155
The notification also includes the node name, nodeid, the application
156
name and the new state (either 'connected' or 'disconnected')."
157
::= { corosyncNotices 3 }
161
-- Compliance Information
163
corosyncCompliances OBJECT IDENTIFIER ::= { corosyncConformance 1 }
165
corosyncConformanceGroups OBJECT IDENTIFIER ::= { corosyncConformance 2 }
167
corosyncCompliance MODULE-COMPLIANCE
169
DESCRIPTION "Corosync compliance information"
170
MODULE -- this module
171
MANDATORY-GROUPS { corosyncObjectGroup, corosyncNotificationGroup }
172
::= { corosyncCompliances 1 }
174
corosyncObjectGroup OBJECT-GROUP
175
OBJECTS { corosyncObjectsNodeName,
176
corosyncObjectsNodeID,
177
corosyncObjectsNodeStatus,
178
corosyncObjectsNodeAddress,
179
corosyncObjectsRingSeq,
180
corosyncObjectsQuorumStatus,
181
corosyncObjectsAppName,
182
corosyncObjectsAppStatus
185
DESCRIPTION "Corosync Object Conformance Group"
186
::= { corosyncConformanceGroups 1 }
188
corosyncNotificationGroup NOTIFICATION-GROUP
189
NOTIFICATIONS { corosyncNoticesNodeStatus,
190
corosyncNoticesQuorumStatus,
191
corosyncNoticesAppStatus
194
DESCRIPTION "Corosync Notification Conformance Group"
195
::= { corosyncConformanceGroups 2 }