REDHAT-CLUSTER-MIB DEFINITIONS ::= BEGIN IMPORTS redhat FROM REDHAT-MIB MODULE-IDENTITY, OBJECT-TYPE, NOTIFICATION-TYPE, Integer32 FROM SNMPv2-SMI MODULE-COMPLIANCE, OBJECT-GROUP, NOTIFICATION-GROUP FROM SNMPv2-CONF; redhatCluster MODULE-IDENTITY LAST-UPDATED "201005100000Z" ORGANIZATION "Red Hat, Inc (www.redhat.com)" CONTACT-INFO "postal: Red Hat, Inc 1801 Varsity Drive Raleigh, North Carolina 27606 USA email: customerservice@redhat.com " DESCRIPTION "Red Hat Cluster MIB " REVISION "201005100000Z" DESCRIPTION "Fix some smilint errors" REVISION "200512060000Z" DESCRIPTION "MIB version 1" ::= { redhat 8 } rhcNotifications OBJECT IDENTIFIER ::= { redhatCluster 0 } rhcMIBInfo OBJECT IDENTIFIER ::= { redhatCluster 1 } rhcCluster OBJECT IDENTIFIER ::= { redhatCluster 2 } rhcTables OBJECT IDENTIFIER ::= { redhatCluster 3 } rhcConformance OBJECT IDENTIFIER ::= { redhatCluster 8 } -- ##### MIB info ##### rhcMIBVersion OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Version of Red Hat Cluster MIB " ::= { rhcMIBInfo 1 } -- ##### Cluster ##### -- rhcClusterName OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Cluster name" ::= { rhcCluster 1 } rhcClusterStatusCode OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Cluster status code. ORed values: 1 All services and nodes functional 2 Some services failed 4 Some services not running 8 Some nodes unavailable 16 Not quorate 32 Cluster stopped " ::= { rhcCluster 2 } rhcClusterStatusDesc OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Cluster status description" ::= { rhcCluster 3 } rhcClusterVotesNeededForQuorum OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Minimum number of votes required for quorum. If cluster is not quorate, all services are stopped." ::= { rhcCluster 4 } rhcClusterVotes OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Current number of votes" ::= { rhcCluster 5 } rhcClusterQuorate OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "1 if cluster is quorate, 0 otherwise" ::= { rhcCluster 6 } rhcClusterNodesNum OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Number of nodes configured to participate in cluster" ::= { rhcCluster 7 } rhcClusterNodesNames OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Names of nodes configured to participate in cluster" ::= { rhcCluster 8 } rhcClusterAvailNodesNum OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Number of nodes currently participating in cluster" ::= { rhcCluster 9 } rhcClusterAvailNodesNames OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Names of nodes currently participating in cluster" ::= { rhcCluster 10 } rhcClusterUnavailNodesNum OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Number of nodes currently NOT participating in cluster" ::= { rhcCluster 11 } rhcClusterUnavailNodesNames OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Names of nodes currently NOT participating in cluster" ::= { rhcCluster 12 } rhcClusterServicesNum OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Number of configured services" ::= { rhcCluster 13 } rhcClusterServicesNames OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Names of configured services" ::= { rhcCluster 14 } rhcClusterRunningServicesNum OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Number of running services" ::= { rhcCluster 15 } rhcClusterRunningServicesNames OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Names of running services" ::= { rhcCluster 16 } rhcClusterStoppedServicesNum OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Number of stopped services" ::= { rhcCluster 17 } rhcClusterStoppedServicesNames OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Names of stopped services" ::= { rhcCluster 18 } rhcClusterFailedServicesNum OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Number of failed services" ::= { rhcCluster 19 } rhcClusterFailedServicesNames OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Names of failed services" ::= { rhcCluster 20 } rhcClusterConfigurationVersion OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Cluster configuration version" ::= { rhcCluster 21 } -- ##### nodes ##### -- rhcNodeTable OBJECT-TYPE SYNTAX SEQUENCE OF RhcNodeEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Table of cluster nodes" ::= { rhcTables 1 } rhcNodeEntry OBJECT-TYPE SYNTAX RhcNodeEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Cluster node" INDEX { rhcNodeName } ::= { rhcNodeTable 1 } RhcNodeEntry ::= SEQUENCE { rhcNodeName OCTET STRING, rhcNodeStatusCode Integer32, rhcNodeStatusDesc OCTET STRING, rhcNodeRunningServicesNum Integer32, rhcNodeRunningServicesNames OCTET STRING, rhcNodeID Integer32 } rhcNodeName OBJECT-TYPE SYNTAX OCTET STRING (SIZE(0..64)) MAX-ACCESS not-accessible STATUS current DESCRIPTION "Node name" ::= { rhcNodeEntry 1 } rhcNodeStatusCode OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Node status code. Values: 0 Participating in cluster 1 Running, but not participating in cluster 2 Not running " ::= { rhcNodeEntry 2 } rhcNodeStatusDesc OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Node status description" ::= { rhcNodeEntry 3 } rhcNodeRunningServicesNum OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Number of services running on node" ::= { rhcNodeEntry 4 } rhcNodeRunningServicesNames OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Names of services running on node" ::= { rhcNodeEntry 5 } rhcNodeID OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Node ID" ::= { rhcNodeEntry 6 } -- ##### services ##### -- rhcServiceTable OBJECT-TYPE SYNTAX SEQUENCE OF RhcServiceEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Table of cluster services" ::= { rhcTables 2 } rhcServiceEntry OBJECT-TYPE SYNTAX RhcServiceEntry MAX-ACCESS not-accessible STATUS current DESCRIPTION "Cluster service" INDEX { rhcServiceName } ::= { rhcServiceTable 1 } RhcServiceEntry ::= SEQUENCE { rhcServiceName OCTET STRING, rhcServiceStatusCode Integer32, rhcServiceStatusDesc OCTET STRING, rhcServiceStartMode OCTET STRING, rhcServiceRunningOnNode OCTET STRING } rhcServiceName OBJECT-TYPE SYNTAX OCTET STRING (SIZE(0..64)) MAX-ACCESS not-accessible STATUS current DESCRIPTION "Service name" ::= { rhcServiceEntry 1 } rhcServiceStatusCode OBJECT-TYPE SYNTAX Integer32 MAX-ACCESS read-only STATUS current DESCRIPTION "Service status code. Codes: 0 running 1 stopped 2 failed " ::= { rhcServiceEntry 2 } rhcServiceStatusDesc OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Service status description" ::= { rhcServiceEntry 3 } rhcServiceStartMode OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Service start mode, automatic or manual" ::= { rhcServiceEntry 4 } rhcServiceRunningOnNode OBJECT-TYPE SYNTAX OCTET STRING MAX-ACCESS read-only STATUS current DESCRIPTION "Name of node the service runs on" ::= { rhcServiceEntry 5 } -- ##### notifications for cluster ##### -- rhcConfigUpdate NOTIFICATION-TYPE OBJECTS { rhcClusterConfigurationVersion } STATUS current DESCRIPTION "Cluster configuration update" ::= { rhcNotifications 1 } rhcQuorumUpdate NOTIFICATION-TYPE OBJECTS { rhcClusterQuorate } STATUS current DESCRIPTION "Quorum state change" ::= { rhcNotifications 2 } rhcNodeStatusUpdate NOTIFICATION-TYPE OBJECTS { rhcClusterNodesNames, rhcNodeStatusCode, rhcNodeID } STATUS current DESCRIPTION "Cluster node state change" ::= { rhcNotifications 3 } rhcServiceStatusUpdate NOTIFICATION-TYPE OBJECTS { rhcClusterServicesNames, rhcServiceStatusDesc, rhcServiceRunningOnNode } STATUS current DESCRIPTION "Cluster service state change" ::= { rhcNotifications 4 } -- CONFORMANCE rhcCompliances OBJECT IDENTIFIER ::= { rhcConformance 1 } rhcGroups OBJECT IDENTIFIER ::= { rhcConformance 2 } rhcCompliance MODULE-COMPLIANCE STATUS current DESCRIPTION "Red Hat Clustering Compliance Information" MODULE -- this module MANDATORY-GROUPS { rhcObjectGroup, rhcNotificationGroup } ::= { rhcCompliances 1 } rhcObjectGroup OBJECT-GROUP OBJECTS { rhcMIBVersion, rhcClusterName, rhcClusterStatusCode, rhcClusterStatusDesc, rhcClusterVotesNeededForQuorum, rhcClusterVotes, rhcClusterQuorate, rhcClusterNodesNum, rhcClusterNodesNames, rhcClusterAvailNodesNum, rhcClusterAvailNodesNames, rhcClusterUnavailNodesNum, rhcClusterUnavailNodesNames, rhcClusterServicesNum, rhcClusterServicesNames, rhcClusterRunningServicesNum, rhcClusterRunningServicesNames, rhcClusterStoppedServicesNum, rhcClusterStoppedServicesNames, rhcClusterFailedServicesNum, rhcClusterFailedServicesNames, rhcClusterConfigurationVersion, rhcNodeStatusCode, rhcNodeStatusDesc, rhcNodeRunningServicesNum, rhcNodeRunningServicesNames, rhcNodeID, rhcServiceStatusCode, rhcServiceStatusDesc, rhcServiceStartMode, rhcServiceRunningOnNode } STATUS current DESCRIPTION "Red Hat Clustering Objects" ::= { rhcGroups 1 } rhcNotificationGroup NOTIFICATION-GROUP NOTIFICATIONS { rhcConfigUpdate, rhcQuorumUpdate, rhcNodeStatusUpdate, rhcServiceStatusUpdate } STATUS current DESCRIPTION "Red Hat Clustering Notifications" ::= { rhcGroups 2 } END