Statistics Variables
Server statistics counters record the number of certain types of events. The LCI allows you to read these statistics to monitor the performance of your Steel-Belted Radius Carrier server.
Counter Statistics
The statistics counters can be accessed via the LCI by executing the following one line command:
ldapsearch -V 2 -h 127.0.0.1 -p 667 -D "cn=admin,o=radius" -w radius -s sub -T -b "radiusstatus=statistics,o=radius" stattype=typeofstatusThe following sections illustrate the variables displayed for different settings of the stattype parameter.
stattype: server
dn: stattype=server,radiusstatus=statistics,o=radiusobjectclass: topobjectclass: radiusstatusradiusstatus: statisticsstattype: serverstart-time: 2002/05/08 13:29:08up-time: 26188ip-address: 192.168.21.142version: v 2.20.33authentication-threads: 0accounting-threads: 0total-threads: 0max-auth-threads: 100max-acct-threads: 100max-total-threads: 200high-auth-threads: 2high-acct-threads: 0high-total-threads: 2stattype: authentication
dn: stattype=authentication,radiusstatus=statistics,o=radiusobjectclass: topobjectclass: radiusstatusradiusstatus: statisticsstattype: authenticationaccept: 1reject: 0silent-discard: 0total-transactions: 8invalid-request: 0failed-authentication: 0failed-on-check-list: 0insufficient-resources: 0proxy-failure: 0rejected-by-proxy: 0transactions-retried: 0total-retry-packets: 0stattype: accounting
dn: stattype=accounting,radiusstatus=statistics,o=radiusobjectclass: topobjectclass: radiusstatusradiusstatus: statisticsstattype: accountingstart: 0stop: 0on: 0off: 0total-transactions: 0invalid-request: 0invalid-client: 0invalid-shared-secret: 0insufficient-resources: 0proxy-failure: 0transactions-retried: 0total-retry-packets: 0stattype: proxy
dn: stattype=proxy,radiusstatus=statistics,o=radiusobjectclass: topobjectclass: radiusstatusradiusstatus: statisticsstattype: proxyauthentication: 0accounting: 0total-transactions: 0timed-out: 0invalid-response: 0invalid-shared-secret: 0insufficient-resources: 0transactions-retried: 0total-retry-packets: 0Rate Statistics
Rate statistics are derived from existing counter statistics by taking time into consideration. Rate values calculated for each of these counter statistics consist of the following:
- Current rate—The rate measured over the most recent rate interval.
- Average rate—The rate measured since the Steel-Belted Radius Carrier server was started or since the last time statistics were reset to zero.
- Peak rate—The highest rate observed since the Steel-Belted Radius Carrier server was started or since the last time statistics were reset to zero.
Additionally, there is a (read-only) time value used in calculations:
- Rate statistics seconds-per interval—The duration (in seconds) of the interval over which the rate statistics are gathered.
To read rate statistics from the LCI, you must set stattype: rate. This results in output such as the following:
rate-statistics-seconds-per-interval: 1auth-request-current-rate: 0auth-request-average-rate: 0auth-request-peak-rate: 7auth-accept-current-rate: 0auth-accept-average-rate: 0auth-accept-peak-rate: 1auth-reject-current-rate: 0auth-reject-average-rate: 0auth-reject-peak-rate: 0acct-start-current-rate: 0acct-start-average-rate: 0acct-start-peak-rate: 0acct-stop-current-rate: 0acct-stop-average-rate: 0acct-stop-peak-rate: 0proxy-auth-request-current-rate: 0proxy-auth-request-average-rate: 0proxy-auth-request-peak-rate: 0proxy-acct-request-current-rate: 0proxy-acct-request-average-rate: 0proxy-acct-request-peak-rate: 0proxy-fail-timeout-current-rate: 0proxy-fail-timeout-average-rate: 0proxy-fail-timeout-peak-rate: 0proxy-fail-badresp-current-rate: 0proxy-fail-badresp-average-rate: 0proxy-fail-badresp-peak-rate: 0proxy-fail-badsecret-current-rate: 0proxy-fail-badsecret-average-rate: 0proxy-fail-badsecret-peak-rate: 0proxy-fail-missingresr-current-rate: 0proxy-fail-missingresr-average-rate: 0proxy-fail-missingresr-peak-rate: 0proxy-retries-current-rate: 0proxy-retries-average-rate: 0proxy-retries-peak-rate: 0proxy-auth-rej-proxy-current-rate: 0proxy-auth-rej-proxy-average-rate: 0proxy-auth-rej-proxy-peak-rate: 0proxy-acct-fail-prox-current-rate: 0proxy-acct-fail-prox-average-rate: 0proxy-acct-fail-prox-peak-rate: 0proxy-auth-rej-proxy-error-current-rate: 0proxy-auth-rej-proxy-error-average-rate: 0proxy-auth-rej-proxy-error-peak-rate: 0