Statistics Support

RADIUS Authentication Statistics

This feature supports the following statistics related to RADIUS Authentication:

  • SMF-Service:

    • Number of Secondary-Authentication requests sent

    • Number of Secondary-Authentication response received

  • RADIUS-EP:

    • Number of Secondary-Authentication requests sent

    • Number of Secondary-Authentication response received

    • Number of RADIUS packets sent

    • Number of RADIUS packets received

RADIUS Accounting Statistics

The SMF maintains the following statistics to track the total number of attempted, successful, and failed RADIUS Accounting Start, Accounting Update Interim and Accounting Terminate requests and responses.

  • SMF_SERVICE_STATS for the following procedure types:

    • radius_initial: This counter gets incremented for Accounting Start request and response.

    • radius_update: This counter gets incremented for Accounting Interim Update request and response.

    • radius_terminate: This counter gets incremented for Accounting Terminate request and response.

RADIUS Access Management Statistics

The following statistics track the number of times the AVP is received in the RADIUS Access-Accept messages at SMF.

  • SmfRadiusMessageStats

    INBOUND:

    • radius_access_accept

      • radius_avp_session_timeout

      • radius_avp_idle_timeout

PAP, CHAP, or MSCHAP-based Authentication Statistics

The SMF supports the following statistics to track the number of times the AVP sent in Access-Request messages.

Group: smf_radius_message_stats

Format: {app_name, cluster, data_center, direction, instance_id, message_type, radius_avp_type, rat_type, service_name}

message_type: radius_access_request

radius_avp_type:

  • radius_avp_pap_user_password

  • radius_avp_pap_username

  • radius_avp_chap_challenge

  • radius_avp_chap_response

  • radius_avp_mschap_challenge

  • radius_avp_mschap_response

Example:

smf_radius_message_stats{app_name="SMF",cluster="Local",data_center="DC",direction="outbound",
instance_id="0",message_type="radius_access_request",radius_avp_type="radius_avp_pap_user_password",
rat_type="NR",service_name="smf-service"} 1
smf_radius_message_stats{app_name="SMF",cluster="Local",data_center="DC", 
direction="outbound",instance_id="0",message_type="radius_access_request", 
radius_avp_type="radius_avp_pap_username",rat_type="NR",service_name="smf-service"} 1

The SMF supports these additional statistics to track the number of attempted, successful and failed responses received due to PAP, CHAP, and MSCHAP authentication.

Group: radius_authentication_message_stats

Format: {app_name, cluster, data_center, dnn, instance_id, radius_auth_algorithm, rat_type, reason, service_name, status}

radius_auth_algorithm:

  • radius_auth_algorithm_default

  • radius_auth_algorithm_pap

  • radius_auth_algorithm_chap

  • radius_auth_algorithm_mschap

rat_type:

  • NR

  • EUTRA

  • WLAN

status:

  • decode_failed

  • encode_failed

  • attempted

  • success

  • failed

  • timeout

reason:

  • parse_error

  • invalid_code

  • invalid_option

  • invalid_pco

  • invalid_epco

  • invalid_apco

  • write_error

Example:

radius_authentication_message_stats{app_name="SMF",cluster="Local",
data_center="DC",dnn="intershat2",instance_id="0",
radius_auth_algorithm="radius_auth_algorithm_default",rat_type="NR",reason="",
service_name="smf-service",status="attempted"} 2
 radius_authentication_message_stats{app_name="SMF",cluster="Local",
data_center="DC",dnn="intershat2",instance_id="0",radius_auth_algorithm="radius_auth_algorithm_default",
rat_type="NR",reason="",service_name="smf-service",status="success"} 2
radius_authentication_message_stats{app_name="SMF",cluster="Local",data_center="DC",
dnn="intershat",instance_id="0",radius_auth_algorithm="radius_auth_algorithm_chap",
rat_type="EUTRA",reason="",service_name="smf-service",status="attempted"} 2
radius_authentication_message_stats{app_name="SMF",cluster="Local", 
data_center="DC",dnn="intershat",instance_id="0",radius_auth_algorithm="radius_auth_algorithm_chap", 
rat_type="EUTRA",reason="",service_name="smf-service",status="failed"} 2

RADIUS Disconnect and CoA Request Related Statistics

The RADIUS endpoint (radius-ep) pod supports the following statistics.

Radius_Server_Status

Description: Display the active or inactive status of RADIUS server.

Metrics-Type: Gauge

Metrics-Value: 1 – ActiveServer, 0 – Inactive Server

Labels:

  • Label: radSvrIP

    • Description: Server IP Address

    • Value: <any-ip-address>

  • Label: radSvrPort

    • Description: Server Port

    • Value: <any-port>

  • Label: radSvrPortType

    • Description: Authentication or Accounting type

    • Value: Auth, Acct

Radius_Requests_Current

Description: Displays the outstanding authentication and accounting requests

Metrics-Type: Gauge

Labels:

  • Label: radMsgCode

    • Description: RADIUS Message Type

    • Values: SecondaryAuthenReq, RadiusAcctReq, TestAuth, TestAcct

  • Label: radSvrIP

    • Description: Server IP Address

    • Value: <any-ip-address>

  • Label: radSvrPort

    • Description: Server Port

    • Value: <any-port>

  • Label: radSvrPortType

    • Description: Authentication or Accounting type

    • Value: Auth, Acct

  • Label: dnn

    • Description: DNN of subscriber

    • Value: <string>

  • Label: procType

    • Description: Procedure-type

    • Value: <string>

  • Label: ratType

    • Description: RAT type of subscriber

    • Value: <string>

  • Label: sessType

    • Description: Session-type of subscriber

    • Value: <string>

Radius_Requests_Statistics

Description: Displays the total authentication and accounting requests transmitted, retransmitted, and responses received

Metrics-Type: Counter

Labels:

  • Label: radMsgCode

    • Description: Radius Message Type

    • Values: SecondaryAuthenReq, RadiusAcctReq, TestAuth, TestAcct

  • Label: radPacketType

    • Description: Direction of packet

    • Value: Tx, Rx, Retry_Tx

  • Label: radResult

    • Description: Result of operation

    • Value: Success, Failed, Timeout, Failure_Reject, ...

  • Label: radSvrIP

    • Description: Server IP Address

    • Value: <any-ip-address>

  • Label: radSvrPort

    • Description: Server Port

    • Value: <any-port>

  • Label: radSvrPortType

    • Description: Authentication or Accounting type

    • Value: Auth, Acct

  • Label: dnn

    • Description: DNN of subscriber

    • Value: <string>

  • Label: procType

    • Description: Procedure-type

    • Value: <string>

  • Label: ratType

    • Description: RAT type of subscriber

    • Value: <string>

  • Label: sessType

    • Description: Session-type of subscriber

    • Value: <string>

Radius_CoaDM_Requests_Current

Description: Displays the outstanding CoA and DM requests being processed.

Metrics-Type: Gauge

Labels:

  • Label: radMsgCode

    • Description: RADIUS Message Type

    • Values: DisconnectRequest, CoARequest

  • Label: radSvrIP

    • Description: Server IP Address

    • Value: <any-ip-address>

Radius_CoaDM_Requests_Statistics

Description: Displays the total CoA and DM requests received and processed.

Metrics-Type: Counter

Labels:

  • Label: radMsgCode

    • Description: Radius Message Type

    • Values: DisconnectRequest, DisconnectACK, DisconnectNAK, CoARequest, CoaDMReq, CoAACK

  • Label: radPacketType

    • Description: Direction of packet

    • Value: Tx, Rx

  • Label: radResult

    • Description: Result of operation

    • Value: Success, Failure_Invalid_Request, Failure_Drop_Retry_Coa, Failure_Unknown_Error...

  • Label: radSvrIP

    • Description: Server IP Address

    • Value: <any-ip-address>

  • Label: nakErrorCause

    • Description: Error-cause set during COA-NAK / DM-NAK (not applicable for other cases)

    • Value: Missing-Attribute, NAS-Identification-Mismatch, Unsupported-Service, Invalid-Attribute-Value, Session-Context-Not-Found, Internal-Error