Forum Discussion

Shoaib_Muhammad's avatar
Shoaib_Muhammad
Icon for Nimbostratus rankNimbostratus
Mar 14, 2006

Current Connections on the Node

 

Is there a way in the iRules to read Current Connections on the particular node in the pool.

 

 

 

Like in the command line we can see the numbers in the following way ...

 

 

[root@bigiptest:Active] config b node 172.31.1.109

 

NODE 172.31.1.109 UNCHECKED SESSIONS ENABLED

 

| conns (cur, max, limit, tot) = (13, 11, 0, 41)

 

| (pkts,bits) in = (1701, 1.453M), out = (2595, 28.59M)

 

| requests (total) = 41

 

 

Any hints / suggestions appreciated.

 

 

Thank you,

 

Shoaib
  • Deb_Allen_18's avatar
    Deb_Allen_18
    Historic F5 Account
    no, there is currently no way to access those statistics from within an iRule.

     

     

    There have been a number of requests for this functionality, so I wouldn't be surprised to see more access in future releases to current statistics relevant to load balancing decisions.

     

     

    /d