Displaying appliance alerts

You can use both the web console and CLI to monitor alerts for Integrated Analytics System.

Procedure

  1. Use one of the following approaches to view information about the alerts in your system:
    • Use the web console:
      • On the main page, view the number of issues and events in the top right corner. When you click on the icons the Notifications tab opens.
      • On the main page, click Monitor > System.
      In the Notifications tab, you can use the drop down list and filter the results by alert type and its state. You can also mark a specific alert and click the View details button to view more information.
    • Use the ap command:
      • ap issues displays all open issues.
      • ap events or ap issues -e displays all events.
      • ap issues -c displays all closed issues.
      • ap issues <ID> displays details for the issue or event with a given ID
      Note that you can set the time frame for which to display the alerts by using the following parameters with ap issues and ap events:
      --from <time> 
      --to <time>
      where the <time> value can be provided in three forms:
      • --from YYYY-MM-DD-hh:mm
        --to YYYY-MM-DD-hh:mm
        where YYYY-MM-DD-hh:mm is date and time.
      • --from YYYY-MM-DD
        --to YYYY-MM-DD
        where YYYY-MM-DD is a date. In this case, the start time is assumed to be 00:00:00 and the end time is 23:59:59.
      • --from -N
        --to -N
        where N is a number of days before the current date, so, for example, --from -32 sets the start date to 32 days before the current date. The starts time is assumed to be 00:00:00 and the end time is 23:59:59.
      Example output:
      [root@node0101 ~]# ap issues 1001
      
      
      General Information
      	ID                       : 1001
      	Date                     : 2017-08-02 06:13:14.465388
      	Close Date               : None
      	Target                   : appliance://
      	Target Type              : appliance-application
      	Severity                 : INFORMATION
      	Title                    : Application start requested
      	Stateful                 : 0
      
      Classification
      	Group                    : SW
      	Type                     : APPLIANCE_EVENT
      	Reason Code              : 807
      
      Processing Status
      	State                    : DELIVERED
      	Log Collection Status    : NOT_APPLICABLE
      	SMTP Status              : NOT_APPLICABLE
      	Call Home Status         : NOT_APPLICABLE
      	SRID                     : None
      
      Collected Logs
      	Log File Path            : None
      	Log File Node            : None
      
      
  2. To view a list of all possible alerts, run the following command:
    [root@node0101 ~]# ap issues --show_registry
    
    Alerts Registry
    +-------------+----------------------------+-------+---------------------------------------------------------------+----------+
    | Reason Code | Type                       | Group | Title                                                         | Stateful |
    +-------------+----------------------------+-------+---------------------------------------------------------------+----------+
    | 101         | HW_SERVICE_REQUESTED       | HW    | Server is unreachable and cannot be recovered                 | YES      |
    | 102         | HW_SERVICE_REQUESTED       | HW    | Server failed and was disabled                                | YES      |
    | 103         | HW_SERVICE_REQUESTED       | HW    | Major component is unreachable                                | YES      |
    | 104         | HW_SERVICE_REQUESTED       | HW    | Major component failed                                        | YES      |
    | 105         | HW_SERVICE_REQUESTED       | HW    | Subcomponent failed                                           | YES      |
    | 106         | HW_SERVICE_REQUESTED       | HW    | FSP unrecoverable events detected                             | NO       |
    | 107         | HW_SERVICE_REQUESTED       | HW    | FSN thermal issues                                            | YES      |
    | 108         | HW_SERVICE_REQUESTED       | HW    | Subcomponent is unreachable                                   | YES      |
    ...
    | 849         | APPLIANCE_EVENT            | SW    | Application initialization has failed                         | NO       |
    | 901         | STORAGE_UTILIZATION        | SW    | Storage utilization above threshold                           | YES      |
    +-------------+----------------------------+-------+---------------------------------------------------------------+----------+
    
    Generated: 2019-08-07 10:55:39
    
    For more information on the ap command options, see ap command.