Forum Discussion

Todd_H's avatar
Todd_H
Icon for Nimbostratus rankNimbostratus
Apr 23, 2014

Statistics Profile not sync'd between TMM processes

We have configured an iRule to display a maintenance window following article https://devcentral.f5.com/articles/irule-maintenance-windows.U1fOtPldXmh. Works great; however, we are seeing issues when there are multiple tmm processes running. The values in the statistics profile are different between the tmm processes. How do you sync/reload the statistics profile when the profile is updated across the tmm processes?

 

5 Replies

  • we are seeing issues when there are multiple tmm processes running. The values in the statistics profile are different between the tmm processes.

    STATS::get returns value from tmm instance it is executed. anyway, gui and snmp are accumulated from all tmm instance.

    Statistics Profiles
    
    9.x, statistics profiles not CMP compatible
    
    VS is not demoted if added to a virtual server.
    
    10.0, statistics profiles are not fully CMP compatible. Each TMM instance uses a separate instance of the statistic profile. The cumulative counts are shown in the GUI and when polled via SNMP.
    

    CMP Compatibility

    https://devcentral.f5.com/wiki/iRules.cmpcompatibility.ashx

    by the way, you may consider whether istats is usable. anyway, istats is cmp compatible but it is not real time and not available via snmp.

    Introduction to iStats Part 1: Overview by Colin Walker

    https://devcentral.f5.com/articles/introduction-to-istats-part-1-overview
    • Todd_H's avatar
      Todd_H
      Icon for Nimbostratus rankNimbostratus
      Thank you. Just what the doctor ordered. Only problem is the ISTATS::remove command does not work for string measure type, so we just clear out the value.
  • we are seeing issues when there are multiple tmm processes running. The values in the statistics profile are different between the tmm processes.

    STATS::get returns value from tmm instance it is executed. anyway, gui and snmp are accumulated from all tmm instance.

    Statistics Profiles
    
    9.x, statistics profiles not CMP compatible
    
    VS is not demoted if added to a virtual server.
    
    10.0, statistics profiles are not fully CMP compatible. Each TMM instance uses a separate instance of the statistic profile. The cumulative counts are shown in the GUI and when polled via SNMP.
    

    CMP Compatibility

    https://devcentral.f5.com/wiki/iRules.cmpcompatibility.ashx

    by the way, you may consider whether istats is usable. anyway, istats is cmp compatible but it is not real time and not available via snmp.

    Introduction to iStats Part 1: Overview by Colin Walker

    https://devcentral.f5.com/articles/introduction-to-istats-part-1-overview
    • Todd_H's avatar
      Todd_H
      Icon for Nimbostratus rankNimbostratus
      Thank you. Just what the doctor ordered. Only problem is the ISTATS::remove command does not work for string measure type, so we just clear out the value.
  • Only problem is the ISTATS::remove command does not work for string measure type

     

    same here. :-/