Displaying system alerts
You can use the ap commands to monitor alerts for Cloud Pak for Data System.
Procedure
Use one of the following approaches:
- 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
--from <time>
--to <time>
where the <time>
value can be provided in three
forms:
where--from YYYY-MM-DD-hh:mm --to YYYY-MM-DD-hh:mm
YYYY-MM-DD-hh:mm
is date and time.
where--from YYYY-MM-DD --to YYYY-MM-DD
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.
where N is a number of days before the current date, so, for example,--from -N --to -N
--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.
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
For more information, see ap command.