Forum Discussion
Pavlos_Parissis
Nimbostratus
Jul 25, 2012Query cluster status over SNMP
Hi all,
I am trying to find out if a node is either in Active or in Standby status using SNMP but when I query sysClusterTable I get nothing back
snmptable -r 1 -r 1 -v2c -c public lb01 sysClusterTable
sysClusterTable: Unknown Object Identifier (Sub-id not found: (top) -> sysClusterTable)
According to MIB file I am querying the correct table
[root@lb01:Standby] config grep -A 20 sysClusterTable /usr/share/snmp/mibs/F5-BIGIP-SYSTEM-MIB.txt
sysClusterTable OBJECT-TYPE
SYNTAX SEQUENCE OF SysClusterEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"A table containing cluster information of the system."
::= { sysCluster 2 }
sysClusterEntry OBJECT-TYPE
SYNTAX SysClusterEntry
MAX-ACCESS not-accessible
STATUS current
DESCRIPTION
"Columns in the sysCluster Table"
INDEX {
sysClusterName
}
::= { sysClusterTable 1 }
SysClusterEntry ::=
SEQUENCE {
sysClusterName LongDisplayString,
sysClusterEnabled INTEGER,
sysClusterFloatMgmtIpType InetAddressType,
sysClusterFloatMgmtIp InetAddress,
sysClusterFloatMgmtNetmaskType InetAddressType,
sysClusterFloatMgmtNetmask InetAddress,
sysClusterMinUpMbrs Integer32,
sysClusterMinUpMbrsEnable INTEGER,
sysClusterMinUpMbrsAction INTEGER,
sysClusterAvailabilityState INTEGER,
sysClusterEnabledStat INTEGER,
sysClusterDisabledParentType Integer32,
sysClusterStatusReason LongDisplayString,
sysClusterHaState INTEGER,
sysClusterPriSlotId INTEGER,
sysClusterLastPriSlotId INTEGER,
sysClusterPriSelTime Counter64
Any ideas how I can get this piece of information over SNMP?
Cheers,
Pavlos
- Pavlos_Parissis
Nimbostratus
Found it via our support channel,- Peter_Soppe_715
Nimbostratus
I am unable to reproduce this on an BigIP 1600 - 11.5.1 HF6 Cluster: [admin@lb1:Active:In Sync] log snmpget -v 2c -c xxx localhost .1.3.6.1.4.1.3375.2.1.1.1.1.19.0 F5-BIGIP-SYSTEM-MIB::sysAttrFailoverUnitMask.0 = INTEGER: 0 [admin@lb2:Standby:In Sync] log snmpget -v 2c -c xxx localhost .1.3.6.1.4.1.3375.2.1.1.1.1.19.0 F5-BIGIP-SYSTEM-MIB::sysAttrFailoverUnitMask.0 = INTEGER: 0 According to the MIB file (/usr/local/www/docs/mibs/mibs_f5.tar.gz) this is deprecated and you should query another OID: sysCmTrafficGroupStatus [admin@lb1:Active:In Sync] log snmpget -v 2c -c xxx localhost .1.3.6.1.4.1.3375.2.1.14.3.4.0 F5-BIGIP-SYSTEM-MIB::sysCmFailoverStatusSummary.0 = STRING: 1/1 active [admin@lb2:Standby:In Sync] log snmpget -v 2c -c xxx localhost .1.3.6.1.4.1.3375.2.1.14.3.4.0 F5-BIGIP-SYSTEM-MIB::sysCmFailoverStatusSummary.0 = STRING: 1/1 standby This works in my setup.
- alex100
Cirrostratus
I believe that sysAttrFailoverUnitMask (OID 1.3.6.1.4.1.3375.2.1.1.1.1.19.0) is now deprecated as off 11.6 HF5.
According to this KB article sysCmFailoverStatusId should now be used (OID 1.3.6.1.4.1.3375.2.1.14.3.1)
Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects