Monitor Statistics for USSD Services

Run the print_blade_stats.py script with the -X option to display statistics for Unstructured Supplementary Service Data (USSD) notifications, and with the -U option to display statistics for the USSD incoming service. Use the --ussd_call_back option to display USSD callback statistics, and the --call_start option to display callback call start statistics for voice charging services.

About this task

Perform this task on any processing pod.

Procedure

  1. Run the following command to view the USSD Notifications statistics:
    kubectl exec -it engine_pod_name -n matrixx -- bash --login -c"print_blade_stats.py -U"
    Information like the following is displayed:
    USSD Call Out Ussd Query Stats
    ---------------------------------------
      Requests    Success    Timeout      Error      Abort  Routing Error  System Failure
    =====================================================================================
             1          0          0          1          0              0               0
    
  2. Enter the following command to view statistics for the USSD incoming service
    print_blade_stats.py -X
    Information like the following is displayed:
    USSD Incoming Stats
    ---------------------------------------
      Requests    Sent Mtx Notification      Error Mtx Notification
    =====================================================================================
             1              1                    0  
    
    Note: You can combine the request for USSD incoming service and USSD notifications statistics: print_blade_stats.py -X -U
  3. Enter the following command to view the USSD callback statistics.
    print_blade_stats.py --ussd_call_back
    Information like the following is displayed:
    USSD Call Back Ussd Stats
    -------------------------------------------------------------------
           Requests-Notif   Bad Msg   Start success   Start failure    
    ===================================================================
                  1               0               1               0
    
  4. Enter the following command to view callback call start statistics for the voice charging service.
    print_blade_stats.py --call_start
    Information like the following is displayed:
    Call Start Stats part 1
    ------------------------------------------------------------------------------------
    Requests    Attempts   Start success    Sys failure       Bad Msg   Route failure
    ====================================================================================
          1            1              1              0               0              0
    
    
    Call Start Stats part 2
    ------------------------------------------------------------------------------------
    No Credit    Unknow Sub  Unknown Reason     Time out  Calling No Ans    Calling Busy
    ====================================================================================
            0             0               0            0               0            0
    
    
    Call Start Stats part 3
    -------------------------------------------------------------------------------------
    Calling RSF   Calling Disc   Called No Ans   Called Busy    Called RSF    Called Disc
    =====================================================================================
             0               1               0              0             0             0