Forum Discussion

sundogbrew's avatar
sundogbrew
Icon for Altocumulus rankAltocumulus
Mar 15, 2013

Pool monitor status from cli

So this is more on this big project I am working where applications can be running on any number of nodes based on the admin starting the tomcat port. I was looking at tmsh show /ltm pool but it only shows you there are x number of members. What I was hoping to find is something where you could show the pool and it would show you the active members or even the monitor because I have a custom monitor for each application.

 

So I could say show monitor jose-9999 and it would tell me that nodes 1.1.1.1, 1.1.1.2, 1.1.1.3 are available on that port basicly saying if you are monitoring all the nodes these are the ones that would be in the pool. Then I could list that back through nodes and get the names or whatever.

 

Any help would be greatly appreciated!

 

Thanks

 

Joe

 

1 Reply

  • you are running 11.x, aren't you? may "tmsh show ltm pool members" be usable?

    e.g.

    root@(ve11a)(cfg-sync Changes Pending)(Active)(/Common)(tmos) show ltm pool members|grep -i "ltm::pool\ member\|monitor\ status"
      | Ltm::Pool Member: 200.200.200.103:389
      |   Monitor Status : unchecked
      | Ltm::Pool Member: 200.200.200.113:389
      |   Monitor Status : unchecked
      | Ltm::Pool Member: 200.200.200.101:80
      |   Monitor Status : up
      | Ltm::Pool Member: 200.200.200.101:81
      |   Monitor Status : down