Forum Discussion
toots_93669
Nimbostratus
Sep 16, 2009snmpget problem with ltmPoolMemberPort = 0
Hi folks,
I've got a problem with the snmp polling of a LTM :
I'd like to monitor the status of a pool member (with snmp) to see if it has been deactivated by its health monitor :
- I'v seen the following entry with snmpwalk :
$ snmpwalk -v2c -c xxxx ltmhost .iso.org.dod.internet.private.enterprises.f5.bigipTrafficMgmt.bigipLocalTM.ltmPools.ltmPoolMember.ltmPoolMemberTable.ltmPoolMemberEntry.ltmPoolMemberSessionStatus | grep 10.255.1.28
F5-BIGIP-LOCAL-MIB::ltmPoolMemberSessionStatus."MyPool".ipv4."10.255.1.28".0 = INTEGER: enabled(1)
- When trying to get it with snmpget I ran into the following problem :
$ snmpget -On -Oq -Oe -v2c -c xxxx ltmhost .iso.org.dod.internet.private.enterprises.f5.bigipTrafficMgmt.bigipLocalTM.ltmPools.ltmPoolMember.ltmPoolMemberTable.ltmPoolMemberEntry.ltmPoolMemberSessionStatus.\"MyPool\".ipv4.\"10.255.1.28\".0
.iso.org.dod.internet.private.enterprises.f5.bigipTrafficMgmt.bigipLocalTM.ltmPools.ltmPoolMember.ltmPoolMemberTable.ltmPoolMemberEntry.ltmPoolMemberSessionStatus."MyPool".ipv4."10.255.1.28".0: Unknown Object Identifier (Index out of range: 0 (ltmPoolMemberPort))
It refuses the value of 0 for the ltmPoolMemberPort (althought it appears in the output of the previous snmpwalk). This value of zero correspond to a pool member wich has a service port of "any" (wildcard).
- I looked into the MIB and the "out of range" error looks right :
ltmPoolMemberPort OBJECT-TYPE
SYNTAX INTEGER(1..2147483647)
-> Finaly... what is wrong with my snmpget and how can I get the value of ltmPoolMemberSessionStatus when the pool member has a zero service port ?
Thank you for your help!
- JRahm
Admin
I'm seeing similar results, I'd open a case on this issue. - toots_93669
Nimbostratus
case opened, thanks!
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