statlog.ini File
The statlog.ini initialization file configures the Steel-Belted Radius Carrier statistics log file (
yyyymmdd.statlog), which periodically records server statistics to a comma-delimited ASCII file. The statistics log provides a mechanism for creating snapshots of user-selected server statistics.
- The first line in a *.statlog file lists all column headings in double quotes ("Date", "Time", ...).
- The first column in a *.statlog file identifies the current date in
yyyy-mm-ddformat in double-quotes ("2006-02-13"). The *.statlog file uses the local date, not the date in the UTC time zone, when it records date information.- The second column in a *.statlog file identifies the current time in
hh:mm:ssformat in double-quotes ("14:13:22"). The *.statlog file uses the local time, not the time in the UTC time zone, when it records time information.- If statistics logging is enabled, a new statistics logging file is created the first time the server is started each day. At midnight, the server closes the old statistics log file and starts a new one with a file name that reflects the new date.
- If you restart the Steel-Belted Radius Carrier server and a *.statlog file exists for the current day, the server appends new information to the existing *.statlog file. When the server is restarted, the timer for capturing statistics snapshots is restarted; for example, a server configured to record statistics every 10 minutes captures statistics at 14:10:00. If the server is restarted at 14:15:00, it captures system statistics immediately (14:15:00) and 10 minutes thereafter (14:25:00); it does not try to capture statistics at 14:20:00 (10 minutes after the capture before the restart).
- If you change the order or contents of the list of statistics to be recorded and restart the server, Steel-Belted Radius Carrier detects the change and writes an entry with the new column headers to the current *.statlog file before writing new data records into the file.
[Settings] Section
The [Settings] section of statlog.ini (Table 49) specifies whether the statistics log file is enabled, who can access the statistics log file, how frequently the server writes information to the statistics log file, and the number of days statistics log files are retained.
[Settings]Enable = 0;LogfilePermissions = ralphw:1007 rw-r- - - - -;Interval-Seconds = 600;Days-To-Keep = 7[Statistics] Section
The [Statistics] section of statlog.ini (Table 50) identifies the statistics you want included in the snapshot. Each entry in this section takes the format
Source/Statistic, whereSourceidentifies the LCI statistics container that holds the statistic counter you want andStatisticidentifies the statistic by name.Statistics are written to the log file in the order in which they are listed in the [Statistics] section.
[Statistics]Server/Authentication-ThreadsServer/Accounting-ThreadsServer/Total-ThreadsServer/Max-Acct-ThreadsServer/Max-Auth-ThreadsServer/Max-Total-ThreadsServer/High-Auth-ThreadsServer/High-Acct-ThreadsServer/High-Total-ThreadsServer/High-Acct-Threads-Since-ResetServer/High-Auth-Threads-Since-ResetServer/High-Total-Threads-Since-ResetAuthentication/AcceptAuthentication/RejectAuthentication/Silent-DiscardAuthentication/Total-TransactionsAuthentication/Dropped-PacketAuthentication/Invalid-RequestAuthentication/Failed-AuthenticationAuthentication/Failed-On-Check-ListAuthentication/Insufficient-ResourcesAuthentication/Proxy-FailureAuthentication/Rejected-By-ProxyAuthentication/Transactions-RetriedAuthentication/Total-Retry-PacketsAccounting/StartAccounting/StopAccounting/InterimAccounting/OnAccounting/OffAccounting/Total-TransactionsAccounting/Dropped-PacketAccounting/Invalid-RequestAccounting/Invalid-ClientAccounting/Invalid-Shared-SecretAccounting/Insufficient-ResourcesAccounting/Proxy-FailureAccounting/Transactions-RetriedAccounting/Total-Retry-PacketsProxy/AuthenticationProxy/AccountingProxy/Total-TransactionsProxy/Timed-OutProxy/Invalid-ResponseProxy/Invalid-Shared-SecretProxy/Insufficient-ResourcesProxy/Transactions-RetriedProxy/Total-Retry-PacketsRate/Auth-Request-Current-RateRate/Auth-Request-Average-RateRate/Auth-Request-Peak-RateRate/Auth-Accept-Current-RateRate/Auth-Accept-Average-RateRate/Auth-Accept-Peak-RateRate/Auth-Reject-Current-RateRate/Auth-Reject-Average-RateRate/Auth-Reject-Peak-RateRate/Acct-Start-Current-RateRate/Acct-Start-Average-RateRate/Acct-Start-Peak-RateRate/Acct-Stop-Current-RateRate/Acct-Stop-Average-RateRate/Acct-Stop-Peak-RateRate/Proxy-Auth-Request-Current-RateRate/Proxy-Auth-Request-Average-RateRate/Proxy-Auth-Request-Peak-RateRate/Proxy-Acct-Request-Current-RateRate/Proxy-Acct-Request-Average-RateRate/Proxy-Acct-Request-Peak-RateRate/Proxy-Fail-Timeout-Current-RateRate/Proxy-Fail-Timeout-Average-RateRate/Proxy-Fail-Timeout-Peak-RateRate/Proxy-Fail-Badresp-Current-RateRate/Proxy-Fail-Badresp-Average-RateRate/Proxy-Fail-Badresp-Peak-RateRate/Proxy-Fail-Badsecret-Current-RateRate/Proxy-Fail-Badsecret-Average-RateRate/Proxy-Fail-Badsecret-Peak-RateRate/Proxy-Fail-Missingresr-Current-RateRate/Proxy-Fail-Missingresr-Average-RateRate/Proxy-Fail-Missingresr-Peak-RateRate/Proxy-Retries-Current-RateRate/Proxy-Retries-Average-RateRate/Proxy-Retries-Peak-RateRate/Proxy-Auth-Rej-Proxy-Current-RateRate/Proxy-Auth-Rej-Proxy-Average-RateRate/Proxy-Auth-Rej-Proxy-Peak-RateRate/Proxy-Acct-Fail-Proxy-Current-RateRate/Proxy-Acct-Fail-Proxy-Average-RateRate/Proxy-Acct-Fail-Proxy-Peak-RateRate/Proxy-Auth-Rej-Proxy-Error-Current-RateRate/Proxy-Auth-Rej-Proxy-Error-Average-RateRate/Proxy-Auth-Rej-Proxy-Error-Peak-Rate