Applies To:

Show Versions Show Versions

Manual Chapter: Using the Statistics Profile
Manual Chapter
Table of Contents   |   << Previous Chapter   |   Next Chapter >>

17 
In addition to the profiles described in previous chapters, you can configure the Statistics profile, which provides user-defined statistical counters.
For each profile type, the BIG-IP® system provides a pre-configured profile with default settings. In most cases, you can use these default profiles as is. If you want to change these settings, you can configure profile settings when you create a profile, or after profile creation by modifying the profiles settings.
The Statistics profile provides user-defined statistical counters. Each profile contains 32 settings (Field1 through Field32), which define named counters. Using a Tcl-based iRule command, you can use the names to manipulate the counters while processing traffic.
For example, you can create a profile named my_stats, which assigns the counters tot_users, cur_users, and max_users to the profile settings Field1, Field2, and Field3 respectively. You can then write an iRule named track_users, and then assign the my_stats profile and the track_users iRule to a virtual server named stats-1. Figure 17.1 shows this configuration.
In this example, the counter tot_users counts the total number of connections, the counter cur_users counts the current number of connections, and the counter max_users retains the largest value of the counter cur_users.
For information on iRules STATS commands, see the F5 Networks DevCentral web site http://devcentral.f5.com, and Chapter 18, Writing iRules.
Table of Contents   |   << Previous Chapter   |   Next Chapter >>

Was this resource helpful in solving your issue?




NOTE: Please do not provide personal information.



Incorrect answer. Please try again: Please enter the words to the right: Please enter the numbers you hear:

Additional Comments (optional)