Events - list all events

Use this command to list events.

Format:

admin.events.list({<propertyName>:<value>,...})
The hidden attribute can have one of the following values:
  • 1: Lists all hidden events
  • 0: Lists all unhidden events

Example:

>>> admin.events.list
[ {
  "created_time": "Fri 11 Oct 2013 16:47:14.175 UTC",
  "switch_ports": "/admin/resources/switch_ports/9e218006-d060-4e56-858b-edfd37bc3e04",
  "extra_data_table": null,
  "count": 1,
  "updated_time": "Fri 11 Oct 2013 16:47:14.175 UTC",
  "state": "pending",
  "object_detail": "9e218006-d060-4e56-858b-edfd37bc3e04",
  "label_key": "pure1100",
  "label_text": "Events",
  "version": "1.1.0.2",
  "resource_oid": -1,
  "id": "/admin/resources/events/3da7a88f-319b-46b2-a5e6-456a2011765e",
  "trap_time": 0,
  "msg_key": "CWZIP2326(\"8283/SRVG03\",\"disabled\")",
  "extra_data_id": null,
  "event_timestamps": [
  "/admin/resources/event_timestamps/0428cdf6-4367-46dc-a5b0-871ca0ca0c98"
  ],
  "hidden": 0,
  "msg_text": "CWZIP2326I An appliance port in rack 8283/SRVG03 is now disabled",
  "created_time_raw": 1381510034175,
  "trap_id": "239.5.1",
  "severity_value": 16,
  "parent_type": "switch_ports",
  "comments": [
  ],
  "type_detail": "Cloud Pak System General Event Top of Rack Switch",
  "updated_time_raw": 1381510034175,
  "type": "Top of Rack Switch",
  "problem_id": null,
  "severity": "Informational",
  "category": "Alert",
  "isas_rn": 24,
  "originator_ip_address": "fd8c:215d:178e:c0de:5ef3:fcff:fe5f:778"  }
]