Specifications

Chapter 18 - Statistics RTP Statistics
172
Mediatrix 4100
How are Statistics Collected?
When collecting statistics, you can do so in two ways:
Continuous collection of statistics.
In this case, the cumulated statistics are not used (disabled) and the current statistics are constantly
updated.
Collection of statistics for a defined period of time with a user-defined accuracy.
For instance, you could define to keep the statistics for the last 24 periods of 1 hour.
To set statistics collection:
1. In the sysConfigMIB, locate the sysConfigStats group.
2. Set the period length you want to keep in the sysConfigStatsPeriodLength variable.
The length of a period may vary from 5 minutes to 24 hours, by 5-minutes sections. At expiration,
the current statistics are added to the cumulated statistics buffer and then reset. Note that modifying
the value of this variable resets statistics to 0.
3. Set the maximum number of periods to cumulate in the sysConfigStatsNumberPeriods variable.
The maximum number of periods cumulated is 24. If this variable is set to 0, statistics are collected
indefinitely in the current variables. Note that modifying the value of this variable resets statistics to
0.
To reset statistics:
1. In the sysAdminMIB, set the sysAdminCommand variable to resetStats.
This resets all cumulated call statistics.
Example
The following is an example with sysConfigStatsNumberPeriods = 3 and sysConfigStatsPeriodLength = 1 (5
minutes).
1. 50 total octets transmitted in the first 5-minutes period.
2. 30 total octets transmitted in the second 5-minutes period. The previous statistics are transferred to
the corresponding cumulated statistics variable for a cumulated total octets transmitted of 50.
3. 60 total octets transmitted in the third 5-minutes period. The previous statistics are transferred to
the corresponding cumulated statistics variable for a cumulated total octets transmitted of 80.
4. 40 total octets transmitted in the fourth 5-minutes period. The previous statistics are transferred to
the corresponding cumulated statistics variable for a cumulated total octets transmitted of 140.
5. 100 total octets transmitted in the fifth 5-minutes period. The previous statistics are transferred to
the corresponding cumulated statistics variable.
In the above example, the rtpStatsCumulatedxx variables always contain the statistics for the last
15 minutes (sysConfigStatsNumberPeriods X sysConfigStatsPeriodLength) accurate to 5 minutes
(sysConfigStatsPeriodLength). This means that the statistics for the first 5-minutes period are
dropped, for a cumulated total octets transmitted of 130.
Table 121: Statistics Setting Example
Statistics
5-minutes sections
1 2 3 4 5 6
rtpStatsCurrentTotalOctetsTransmitted 50 30 60 40 100 50
rtpStatsCumulatedTotalOctetsTransmitted 0 50 80 140 130 200