Forum Discussion

tmoteki_90396's avatar
tmoteki_90396
Icon for Nimbostratus rankNimbostratus
Jun 02, 2010

To get current connection num with OID.

hi, I'm tring to get current connections num(of virtual server pool) with below OID. ==== Name:ltmVirtualServStatClientCurConns OID:1.3.6.1.4.1.3375.2.2.10.2.3.1.12 DESC:The current connections from client side. ===== With the OID, i could get num of current connections, but there was a problem. At BIGIP, I've configured ristricted connection with iRule. I've set ristricted connection num 60, but i could see current connections num over 60. I guess iRule have set properly. Can anyone tell me what the OID gets, or any other OID to get current connections num correctly?

1 Reply

  • Hamish's avatar
    Hamish
    Icon for Cirrocumulus rankCirrocumulus
    Is that the ACTUAL OID you're using? (Because the actual OID would have the virtual server name used as an index into a table (And you haven't given any information on what the name of the VS is).

     

     

    Can you post your iRule? You haven't shown any logs or iRule in order to PROVE that it's the OID gathering that's incorrect instead of just your iRule that's not working correctly.

     

     

    For instance, does the OID gauge equal the number of connections shown in statistics? Does your iRUle log anything when it discards connections? If so, is it logging? If not, how do you know it's working?

     

     

    TIA

     

    H