Forum Discussion

Bret_McGinnis_1's avatar
Bret_McGinnis_1
Icon for Nimbostratus rankNimbostratus
Aug 02, 2005

Number of defined nodes in a pool

Is there a way in irules to determine the number of defined nodes in a pool. I'm trying to automate syslog notification when a pool is getting low on nodes. The number of active node is good but I need the context of how many nodes are in the pool. I would take a different action if I have 3 or 20 nodes active then I would if I have 3 out of 4 nodes active.

 

 

thanks

13 Replies

  • Until something like "configured_members" is available, is there a less manual way to provide this information? Something I can code in an iRule, even it I have to run the iRule at specific intervals. It doesn't have to be pretty.

     

     

     

    Regards,

     

     

  • Colin_Walker_12's avatar
    Colin_Walker_12
    Historic F5 Account
    Unfortunately there isn't currently a command to return the number of nodes defined in a pool, just to return how many are currently active, as Deb stated above with the active_members command.

     

     

    Colin
  • As Deb said above works great. However i was going to add a question to it. And me being a newb have to ask. I don't want this check to happen everytime a request is made to my vip so how do I do it so that it happens say every 2 mins?