AOS-CX Switch Alerts—Sample JSON
This section includes sample JSON JavaScript Object Notation. JSON is an open-standard, language-independent, lightweight data-interchange format used to transmit data objects consisting of attribute–value pairs. JSON uses a "self-describing" text format that is easy for humans to read and write, and that can be used as a data format by any programming language. content for the following alerts:

{ "id": "AXdpfWeFo68tULajSfwu", "nid": 201, "alert_type": "New Switch Connected", "setting_id": "f1ae23ba9025490cb53efb0993e05f17-201", "device_id": "CN80HKW2Z6", "description": "New Switch with serial CN80HKW2Z6, MAC address 54:80:28:61:b3:20 IP address 10.21.20.231 and Hostname Aruba-2930F-24G-PoEP-4SFPP connected, Group:unprovisioned, Site:Bangalore Site", "state": "Open", "severity": "Major", "operation": "create", "timestamp": 1612382562, "details": { "group": "1", "labels": "46", "_rule_number": "0", "params": [ "CN80HKW2Z6", "54:80:28:61:b3:20", "10.21.20.231", "Aruba-2930F-24G-PoEP-4SFPP" ], "serial": "CN80HKW2Z6", "time": "2021-02-03 20:02:42 UTC", "group_name": "unprovisioned", "site_name": "Bangalore Site" }, "webhook": "8077a55e-f8d3-43af-a67f-12263f5b778e", "text": "New Switch with serial CN80HKW2Z6, MAC address 54:80:28:61:b3:20 IP address 10.21.20.231 and Hostname Aruba-2930F-24G-PoEP-4SFPP connected, Group:unprovisioned, Site:Bangalore Site" } |

{ "id": "AXbhjMPpKHBn24BIWnGc", "nid": 203, "alert_type": "Switch Disconnected", "setting_id": "f1ae23ba9025490cb53efb0993e05f17-203", "device_id": "CN80HKW2Z6", "description": "Switch with serial CN80HKW2Z6, MAC address 54:80:28:61:b3:20 IP address 10.21.20.231 and Hostname Aruba-2930F-24G-PoEP-4SFPP reconnected", "state": "Close", "severity": "Major", "operation": "update", "timestamp": 1612383547, "details": { "params": [ "CN80HKW2Z6", "54:80:28:61:b3:20", "10.21.20.231", "Aruba-2930F-24G-PoEP-4SFPP", "", "" ], "serial": "CN80HKW2Z6", "time": "2021-01-08 10:31:07 UTC", "conn_status": "reconnected" }, "webhook": "8077a55e-f8d3-43af-a67f-12263f5b778e", "text": "Switch with serial CN80HKW2Z6, MAC address 54:80:28:61:b3:20 IP address 10.21.20.231 and Hostname Aruba-2930F-24G-PoEP-4SFPP reconnected" } |

{ "id": "AXdr9zozo68tULajS0Xo", "nid": 1301, "alert_type": "SWITCH_MEMORY_OVER_UTILIZATION", "setting_id": "f1ae23ba9025490cb53efb0993e05f17-1301", "device_id": "SG92GPT00K", "description": "Memory utilization for Switch with serial SG92GPT00K has been above 1% for about 5 minutes since 2021-02-04 07:30:00 UTC", "state": "Open", "severity": "Critical", "operation": "create", "timestamp": 1612424100, "details": { "name": "", "unit": "%", "serial": "SG92GPT00K", "group": "212", "_rule_number": "0", "ds_key": "f1ae23ba9025490cb53efb0993e05f17.SG92GPT00K.memory_utilization.5m", "duration": "5", "threshold": "1", "time": "2021-02-04 07:30:00 UTC" }, "webhook": "8077a55e-f8d3-43af-a67f-12263f5b778e", "text": "Memory utilization for Switch with serial SG92GPT00K has been above 1% for about 5 minutes since 2021-02-04 07:30:00 UTC" } |

{ "id": "AXdrVwIbo68tULajSsgm", "nid": 1300, "alert_type": "SWITCH_CPU_OVER_UTILIZATION", "setting_id": "f1ae23ba9025490cb53efb0993e05f17-1300", "device_id": "SG53FLZ0RX", "description": "CPU utilization for Switch HP-2920-48G-POEP with serial SG53FLZ0RX has been above 1% for about 5 minutes since 2021-02-04 04:35:00 UTC.", "state": "Open", "severity": "Critical", "operation": "create", "timestamp": 1612413600, "details": { "name": "HP-2920-48G-POEP", "unit": "%", "serial": "SG53FLZ0RX", "group": "211", "_rule_number": "0", "ds_key": "f1ae23ba9025490cb53efb0993e05f17.SG53FLZ0RX.cpu_utilization.5m", "duration": "5", "threshold": "1", "time": "2021-02-04 04:35:00 UTC" }, "webhook": "8077a55e-f8d3-43af-a67f-12263f5b778e", "text": "CPU utilization for Switch HP-2920-48G-POEP with serial SG53FLZ0RX has been above 1% for about 5 minutes since 2021-02-04 04:35:00 UTC." } |

{ "alert_type": "SWITCH_INTERFACE_RX_RATE", "description": "Receive rate for Interface 15 on Switch Aruba-2930F-24G-PoEP-4SFPP has been above 1 % for about 5 minutes since 2019-09-26 13:18:00 UTC.", "timestamp": 1569504180, "webhook": "4d588353-3355-487d-81af-c97f62b0abb0", "setting_id": "e344d961bccd411dbd279bf92f61b989-1303", "state": "Open", "nid": 1303, "details": { "_rule_number": "0", "group": "1", "name": "Aruba-2930F-24G-PoEP-4SFPP", "max_value_for_percentage": "1000.0", "threshold": "1", "intf_name": "15", "time": "2019-09-26 13:18:00 UTC", "duration": "5", "ds_key": "e344d961bccd411dbd279bf92f61b989.CN8AHKW095.intf.rx_utilization.5m", "serial": "CN8AHKW095", "unit": "%" }, "operation": "create", "device_id": "CN8AHKW095", "id": "AW1tvTgBYu0OgJ2 aoCgl", "severity": "Critical" } |

{ "alert_type": "SWITCH_INTERFACE_TX_RATE", "description": "Transfer rate for Interface 19 on Switch Aruba-2930F-24G-PoEP-4SFPP has been above 1 % for about 5 minutes since 2019-09-26 13:18:00 UTC.", "timestamp": 1569504180, "webhook": "4d588353-3355-487d-81af-c97f62b0abb0", "setting_id": "e344d961bccd411dbd279bf92f61b989-1302", "state": "Open", "nid": 1302, "details": { "_rule_number": "0", "group": "1", "name": "Aruba-2930F-24G-PoEP-4SFPP", "max_value_for_percentage": "1000.0", "threshold": "1", "intf_name": "19", "time": "2019-09-26 13:18:00 UTC", "duration": "5", "ds_key": "e344d961bccd411dbd279bf92f61b989.CN8AHKW095.intf.tx_utilization.5m", "serial": "CN8AHKW095", "unit": "%" }, "operation": "create", "device_id": "CN8AHKW095", "id": "AW1tvTgBYu0OgJ2aoCgk", "severity": "Critical" } |

{ "alert_type": "SWITCH_POE_UTILIZATION", "description": "PoE utilization for Switch Aruba-2930F-24G-PoEP-4SFPP with serial CN69HKW05T MAC address e0:07:1b:c4:8d:80 and IP address 10.22.182.78 has been above 1%", "timestamp": 1569505920, "webhook": "4d588353-3355-487d-81af-c97f62b0abb0", "setting_id": "e344d961bccd411dbd279bf92f61b989-1307", "state": "Open", "nid": 1307, "details": { "group": "0", "name": "Aruba-2930F-24G-PoEP-4SFPP", "ip": "10.22.182.78", "labels": [], "mac": "e0:07:1b:c4:8d:80", "time": "2019-09-26 13:52:00 UTC", "threshold": "1", "serial": "CN69HKW05T" }, "operation": "create", "device_id": "CN69HKW05T", "id": "AW1t18ccYu0OgJ2aoDYw", "severity": "Critical" } |

{ "alert_type": "SWITCH_INTERFACE_INPUT_ERRORS", "description": "Input errors for Interface 19 on Switch Aruba-2930F-24G-PoEP-4SFPP has been above 90% for about 30 minutes since 2019-09-26 06:07:00 UTC .", "timestamp": 1569505920, "webhook": "4d588353-3355-487d-81af-c97f62b0abb0", "setting_id": "e344d961bccd411dbd279bf92f61b989-1307", "state": "Open", "nid": 1304, "details": { "group": "0", "name": "Aruba-2930F-24G-PoEP-4SFPP", "ip": "10.22.182.78", "labels": [], "mac": "e0:07:1b:c4:8d:80", "time": "2019-09-26 13:52:00 UTC", "threshold": "1", "serial": "CN69HKW05T" }, "operation": "create", "device_id": "CN69HKW05T", "id": "AW1t18ccYu0OgJ2aoDYw", "severity": "Critical" } |

{ "alert_type": "SWITCH_INTERFACE_OUTPUT_ERRORS", "description": "Output errors for Interface 19 on Switch Aruba-2930F-24G-PoEP-4SFPP has been above 90% for about 30 minutes since 2019-09-26 06:07:00 UTC. ", "timestamp": 1569505920, "webhook": "4d588353-3355-487d-81af-c97f62b0abb0", "setting_id": "e344d961bccd411dbd279bf92f61b989-1307", "state": "Open", "nid": 1305, "details": { "group": "0", "name": "Aruba-2930F-24G-PoEP-4SFPP", "ip": "10.22.182.78", "labels": [], "mac": "e0:07:1b:c4:8d:80", "time": "2019-09-26 13:52:00 UTC", "threshold": "1", "serial": "CN69HKW05T" }, "operation": "create", "device_id": "CN69HKW05T", "id": "AW1t18ccYu0OgJ2aoDYw", "severity": "Critical" } |

{ "alert_type": "SWITCH_CONFIG_MISMATCH", "description": "Config mismatch occurred in switch with serial CN69HKW05T MAC address e0:07:1b:c4:8d:80 and IP address 10.22 .182 .78 and Hostname Aruba - 2930 F - 48 G - PoEP - 4 SFPP ", "timestamp": 1569505920, "webhook": "4d588353-3355-487d-81af-c97f62b0abb0", "setting_id": "e344d961bccd411dbd279bf92f61b989-1307", "state": "Open", "nid": 206, "details": { "group": "0", "name": "Aruba-2930F-24G-PoEP-4SFPP", "ip": "10.22.182.78", "labels": [], "mac": "e0:07:1b:c4:8d:80", "time": "2019-09-26 13:52:00 UTC", "threshold": "1", "serial": "CN69HKW05T" }, "operation": "create", "device_id": "CN69HKW05T", "id": "AW1t18ccYu0OgJ2aoDYw", "severity": "Critical" } |

{ "id": "AXvJXn_oo68tULajUT9W", "nid": 207, "alert_type": "SWITCH_HARDWARE_FAILURE", "setting_id": "6ec75df161974434b54e298a353d11f3-207", "device_id": "SG9ZKN7078", "description": "Switch with serial SG9ZKN7078 : eMMC storage reached critical utilization level.Please contact HPE Aruba support for further assistance.", "state": "Open", "severity": "Critical", "operation": "create", "timestamp": 1631171018, "details": { "group": "1", "labels": "", "serial": "SG9ZKN7078", "name": "6300", "site": "", "device_id": "SG9ZKN7078", "hostname": "6300", "description": "eMMC storage reached critical utilization level.Please contact HPE Aruba support for further assistance.", "event_id": "9104", "time": "2021-09-09 07:03:38 UTC" }, "webhook": "5ef178b6-4916-46e6-bed2-ab61a8cd7271", "text": "Switch with serial SG9ZKN7078 : eMMC storage reached critical utilization level.Please contact HPE Aruba support for further assistance.", "cluster_hostname": "app-yoda.arubathena.com" } |

{ "id": "AXs01pfTKYUYZt8VfT9m", "nid": 208, "alert_type": "Switch NAE Status", "setting_id": "424a17fea2a24d46859a33699cd6b3d4-208", "device_id": "SG9ZEFB7F2", "description": "Aggregated NAE status reached or exceeds the desired severity level for the switch with serial SG9ZEFB7F2 MAC address 70:72:cf:ef:b7:f2 IP address 10.101.60.40 and Hostname 6300", "state": "Open", "severity": "Critical", "operation": "create", "timestamp": 1628679083, "details": { "group": "1", "labels": "", "serial": "SG9ZEFB7F2", "name": "{\\'hostname\\': \\'6300\\'}", "site": "", "device_id": "SG9ZEFB7F2", "mac": "70:72:cf:ef:b7:f2", "ip": "10.101.60.40", "hostname": "6300", "time": "2021-08-11 10:51:23 UTC" }, "webhook": "b18819a2-75a1-4bf8-951e-037b9fd1914a", "text": "Aggregated NAE status reached or exceeds the desired severity level for the switch with serial SG9ZEFB7F2 MAC address 70:72:cf:ef:b7:f2 IP address 10.101.60.40 and Hostname 6300" } |

{ "id": "AXvGFP59KFHq3kj2rOJu", "nid": 1310, "alert_type": "SWITCH_STACK_COMMANDER_CHANGE", "setting_id": "698e8e55b6294a7daf4de0f80f51b231-1310", "device_id": "SG9ZKN709Y", "description": "New Commander with Serial ID: SG9ZKN70B5, MAC Address: 38:21:c7:5c:c4:c0, Hostname: Commander, Stack ID: 6a9cb0fb-2346-48df-a0c4-90237ea71afa, Group: 322 Connected, Old Commander Serial ID: SG9ZKN709Y, Mac Address: 38:21:c7:5d:70:c0", "state": "Open", "severity": "Critical", "operation": "create", "timestamp": 1631115869, "details": { "old_serial": "SG9ZKN709Y", "old_mac": "38:21:c7:5d:70:c0", "new_serial": "SG9ZKN70B5", "new_mac": "38:21:c7:5c:c4:c0", "host": "Commander", "stack_id": "6a9cb0fb-2346-48df-a0c4-90237ea71afa", "group": "322", "labels": "", "serial": "SG9ZKN709Y", "time": "2021-09-08 15:44:29 UTC" }, "webhook": "374b4438-dff9-464c-a03e-a781c6c9a68f", "text": "New Commander with Serial ID: SG9ZKN70B5, MAC Address: 38:21:c7:5c:c4:c0, Hostname: Commander, Stack ID: 6a9cb0fb-2346-48df-a0c4-90237ea71afa, Group: 322 Connected, Old Commander Serial ID: SG9ZKN709Y, Mac Address: 38:21:c7:5d:70:c0" } |

{ "id": "AXvGRNvsKFHq3kj2rOYF", "nid": 1309, "alert_type": "SWITCH_STACK_MEMBER_ADDED_REMOVED", "setting_id": "698e8e55b6294a7daf4de0f80f51b231-1309", "device_id": "SG9ZKN702T", "description": "Stack Member with Serial ID: SG9ZKN702T, MAC Address: 38:21:c7:5a:c5:80, Member ID: 4 and Role: ['Member'] Added To stack with Hostname: 6300, Stack ID: 6a9cb0fb-2346-48df-a0c4-90237ea71afa", "state": "Open", "severity": "Major", "operation": "create", "timestamp": 1631119006, "details": { "serial": "SG9ZKN702T", "mac": "38:21:c7:5a:c5:80", "mem_id": "4", "role": [ "Member" ], "action": "Added To", "host": "6300", "stack_id": "6a9cb0fb-2346-48df-a0c4-90237ea71afa", "group": "326", "time": "2021-09-08 16:36:46 UTC" }, "webhook": "374b4438-dff9-464c-a03e-a781c6c9a68f", "text": "Stack Member with Serial ID: SG9ZKN702T, MAC Address: 38:21:c7:5a:c5:80, Member ID: 4 and Role: ['Member'] Added To stack with Hostname: 6300, Stack ID: 6a9cb0fb-2346-48df-a0c4-90237ea71afa" } |

{ "id": "AXvGQ0JcKFHq3kj2rOXu", "nid": 1309, "alert_type": "SWITCH_STACK_MEMBER_ADDED_REMOVED", "setting_id": "698e8e55b6294a7daf4de0f80f51b231-1309", "device_id": "SG9ZKN702T", "description": "Stack Member with Serial ID: SG9ZKN702T, MAC Address: , Member ID: 4 and Role: ['Member'] Removed From stack with Hostname: 6300, Stack ID: 6a9cb0fb-2346-48df-a0c4-90237ea71afa", "state": "Open", "severity": "Major", "operation": "create", "timestamp": 1631118901, "details": { "serial": "SG9ZKN702T", "mac": "", "mem_id": "4", "role": [ "Member" ], "action": "Removed From", "host": "6300", "stack_id": "6a9cb0fb-2346-48df-a0c4-90237ea71afa", "group": "326", "time": "2021-09-08 16:35:01 UTC" }, "webhook": "374b4438-dff9-464c-a03e-a781c6c9a68f", "text": "Stack Member with Serial ID: SG9ZKN702T, MAC Address: , Member ID: 4 and Role: ['Member'] Removed From stack with Hostname: 6300, Stack ID: 6a9cb0fb-2346-48df-a0c4-90237ea71afa" } |

{ "id": "AXvFH4hFo68tULajP1c9", "nid": 1306, "alert_type": "SWITCH_INTERFACE_DUPLEX_MODE", "setting_id": "6ec75df161974434b54e298a353d11f3-1306", "device_id": "SG9ZKN7050", "description": "Interface 1/1/2 on switch 6300 with serial SG9ZKN7050 is operating at Half-Duplex mode", "state": "Open", "severity": "Critical", "operation": "create", "timestamp": 1631099783, "details": { "group": "2848", "labels": "", "name": "6300", "serial": "SG9ZKN7050", "intf_name": "1/1/2", "mode": "Half", "time": "2021-09-08 11:16:23 UTC" }, "webhook": "76f4af2c-a47c-4726-b9d3-133c45e8f436", "text": "Interface 1/1/2 on switch 6300 with serial SG9ZKN7050 is operating at Half-Duplex mode", "cluster_hostname": "app-yoda.arubathena.com" } |