vinfra cluster alert list

List alert log entries:

usage: vinfra cluster alert list [--long] [--all]
--long
Enable access and listing of all fields of objects.
--all
Show both enabled and disabled alerts.

Example:

# vinfra cluster alert list --all
+----+-----------------+---------------------+----------+---------+
| id | type            | datetime            | severity | enabled |
+----+-----------------+---------------------+----------+---------+
|  1 | Network warning | 2018-08-30T18:02:14 | warning  | True    |
|  2 | Network warning | 2018-08-30T18:02:14 | warning  | True    |
|  3 | Network warning | 2018-08-30T18:02:14 | warning  | True    |
|  4 | Network warning | 2018-08-31T13:02:15 | warning  | True    |
|  5 | Network warning | 2018-08-31T13:02:15 | warning  | True    |
|  6 | Network warning | 2018-08-31T13:02:15 | warning  | True    |
|  7 | Network warning | 2018-08-31T13:02:15 | warning  | True    |
|  8 | Network warning | 2018-08-31T13:02:15 | warning  | True    |
|  9 | Network warning | 2018-08-31T13:02:15 | warning  | True    |
| 10 | Network warning | 2018-08-31T13:02:15 | warning  | True    |
| 11 | Network warning | 2018-08-31T13:02:15 | warning  | True    |
| 12 | Network warning | 2018-08-31T13:02:15 | warning  | True    |
| 13 | Network warning | 2018-08-31T13:02:15 | warning  | True    |
| 14 | Network warning | 2018-08-31T13:02:15 | warning  | True    |
| 15 | Network warning | 2018-08-31T13:02:15 | warning  | True    |
+----+-----------------+---------------------+----------+---------+

This command lists all alerts in the log and shows whether they are enabled or disabled.