event list

Prev Next

This command lists all events on the VAST Cluster.

Usage
event list [--start-time START-TIME] 
           [--end-time END-TIME] 
           [--object-type      Vms|Cluster|BMC|CNode|DNode|ReplicationTarget|ReplicationStream|SSD|NVRAM|NIC|Carrier|Quota|Fan|PSU|DBox|CBox|Switch|Port|Ldap|License|NIS|Task|Host|SupportBundle|ActiveDirectory][--object-type]
           [--object-id OBJECT_ID] 
           [--message TEXT] 
           [--event-type AUDIT|ERROR|GENERAL|OBJECT_CREATED|DELETED|OBJECT_MODIFIED|THRESHOLD]
           [--severity CRITICAL|MAJOR|MINOR|INFO] 
           [--event-origin CLUSTER|MANAGEMENT|SECURITY|USER]
           [--page PAGE_NUMBER] 
           [--page-size NUMBER ON PAGE] 
Options

--start-time START-TIME

Starts listing from a specified event time.

Specify START-TIME in the format YYYY-MM-DD HH:MM:SS. For example: 2017-10-19 10:31:47

--end-time END-TIME

Ends listing by a specified event time.

Specify END-TIME in the format YYYY-MM-DD HH:MM:SS. For example: 2017-10-19 10:31:47

--object-type Vms|Cluster|BMC|CNode|DNode|ReplicationTarget|ReplicationStream |SSD|NVRAM|NIC|Carrier|Quota|Fan|PSU|DBox|CBox|Switch|Port|Ldap|License|NIS|Task|Host|SupportBundle|ActiveDirectory

Filters the list by object type.

For example: --object-type Cluster

--object-id OBJECT_ID

Filters the list by object ID.

For example: --object-id 23

--message TEXT

Filters the list by event message text. Specify any text to search for as TEXT. The search is case sensitive.

For example: --message DEGRADED

--event-type AUDIT|ERROR|GENERAL|OBJECT_CREATED|DELETED|OBJECT_MODIFIED|THRESHOLD

--severity CRITICAL|MAJOR|MINOR|INFO

Filters the list by severity.

--event-origin CLUSTER|MANAGEMENT|SECURITY|USER

--page PAGE_NUMBER

Displays a specified page if --page-size is set.

Defaults to the first page.

--page-size NUMBER ON PAGE

Sets the maximum number of alarms to display on a page.

Example
vcli: admin> event list
+-----+---------------------+-------------+-----------+---------------------------------+-----------------+--------------+----------+-----------------------------------------------------------------------------------------------------+
| ID  | Timestamp           | Object-type | Object-id | Cluster                         | Event-type      | Event-origin | Severity | Event-message                                                                                       |
+-----+---------------------+-------------+-----------+---------------------------------+-----------------+--------------+----------+-----------------------------------------------------------------------------------------------------+
| 154 | 2020-10-21 10:35:27 | Vms         | 1         | cluster1 | AUDIT           | USER         | INFO     | Manager: admin, modify eventdefinitionconfig                                                        |
| 152 | 2020-10-21 10:10:43 | CNode       | 1         | cluster1 | OBJECT_MODIFIED | CLUSTER      | INFO     | CNode cnode-1 (10.0.1.23) [centos-7.7-test-new-vm-clean-v1] state changed from ACTIVATING to ACTIVE |
| 151 | 2020-10-21 10:10:33 | CNode       | 1         | cluster1 | OBJECT_MODIFIED | CLUSTER      | INFO     | CNode cnode-1 (10.0.1.23) [centos-7.7-test-new-vm-clean-v1] state changed from FAILED to ACTIVATING |
| 150 | 2020-10-21 10:10:18 | CNode       | 1         | cluster1 | OBJECT_MODIFIED | CLUSTER      | CRITICAL | CNode cnode-1 (10.0.1.23) [centos-7.7-test-new-vm-clean-v1] state changed from ACTIVE to FAILED     |
| 149 | 2020-10-21 09:53:38 | Vms         | 1         | cluster1 | AUDIT           | USER         | INFO     | Manager: admin, modify eventdefinitionconfig                                                        |
| 148 | 2020-10-21 09:30:48 | Vms         | 1         | cluster1 | AUDIT           | USER         | INFO     | Manager: admin, modify eventdefinitionconfig                                                        |
| 147 | 2020-10-21 09:30:40 | Vms         | 1         | cluster1 | ERROR           | USER         | INFO     | Bad Request (400)                                                                                   |
| 146 | 2020-10-21 09:30:40 | Vms         | 1         | cluster1 | AUDIT           | USER         | INFO     | Manager: admin, modify eventdefinitionconfig                                                        |
| 145 | 2020-10-21 09:30:35 | Vms         | 1         | cluster1 | AUDIT           | USER         | INFO     | Manager: admin, modify eventdefinitionconfig                                                        |
| 144 | 2020-10-21 08:54:05 | Carrier     | 23        | cluster1 | OBJECT_MODIFIED | CLUSTER      | INFO     | Carrier dbox-6390c3-FRONT-4-SSD state changed from UNKNOWN to ACTIVE                                |
+-----+---------------------+-------------+-----------+---------------------------------+-----------------+--------------+----------+-----------------------------------------------------------------------------------------------------+