Forum Discussion

Jack_Bruno_3968's avatar
Jack_Bruno_3968
Icon for Nimbostratus rankNimbostratus
Jul 28, 2014

iControl REST: Getting pool member status

Hello,

 

Is it possible to get the health monitor status for the members of a pool using the REST API? It looks like only the state is returned from /tm/ltm/pool/POOL_ID/members.

 

  • Have you tried :

    https://mgmt-ip/mgmt/tm/ltm/pool/'MyPoolNameXYZ'/members/stats

  • Have you tried :

    https://mgmt-ip/mgmt/tm/ltm/pool/'MyPoolNameXYZ'/members/stats

    • CChartier's avatar
      CChartier
      Icon for Nimbostratus rankNimbostratus
      This only gives you the pool stats, not the individual member stats. Is there anyway to get the individual member stats? IE: enabled, availability, total connections, current connections?
    • nitass's avatar
      nitass
      Icon for Employee rankEmployee
      are you using the url kunjan suggested (there is "members" in the url)?
  • kunjan's avatar
    kunjan
    Icon for Nimbostratus rankNimbostratus

    Have you tried :

    https://mgmt-ip/mgmt/tm/ltm/pool/'MyPoolNameXYZ'/members/stats

    • CChartier's avatar
      CChartier
      Icon for Nimbostratus rankNimbostratus
      This only gives you the pool stats, not the individual member stats. Is there anyway to get the individual member stats? IE: enabled, availability, total connections, current connections?
    • nitass's avatar
      nitass
      Icon for Employee rankEmployee
      are you using the url kunjan suggested (there is "members" in the url)?
  • The two values you want to look for in a TMSH call to show pool member information are state and session. The first will show you the state of the monitored member, and the second will show if the member has been marked down. Is that not what you're looking for?