Forum Discussion

Jay_Wilson_2460's avatar
Jay_Wilson_2460
Icon for Nimbostratus rankNimbostratus
Jan 25, 2016

Polling Pool Member Status via SNMP?

Hello...

 

I've been working thru the documentation at https://devcentral.f5.com/questions/bigip-snmp-pool-members-info. I can successfully query the pool member status OIDs after using snmptranslate to find them. However if I disable a pool member from the UI the result of the query of the pool member status OID always seems to be "4" even though the pool member shows 'Available (Disabled) - Pool member is available, user disabled' in the UI. I am assuming the query result should return "25" if the pool member has been manually disabled?

 

What should be the correct value returned from the pool member monitor state if the pool member has been manually disabled in the UI?

 

Thanks!

 

  • I now have new information, so re-writing this answer.

    The OID you're querying (ltmPoolMemberMonitorState) shows the status of the monitor, not of the pool member itself. Polling this simply tells you that the monitor is enabled.

     snmpwalk -v2c -c public localhost F5-BIGIP-LOCAL-MIB::ltmPoolMemberMonitorState
    F5-BIGIP-LOCAL-MIB::ltmPoolMemberMonitorState."/Common/swimming"."/Common/8.8.8.8".80 = INTEGER: up(4)
    

    To get the status of the pool member, you need to read ltmPoolMemberSessionStatus:

     snmpwalk -v2c -c public localhost F5-BIGIP-LOCAL-MIB::ltmPoolMemberSessionStatus
    F5-BIGIP-LOCAL-MIB::ltmPoolMemberSessionStatus."/Common/swimming"."/Common/8.8.8.8".80 = INTEGER: disabled(4)
    
  • An updated answer has been added to this question