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