mirror of
https://github.com/jokob-sk/NetAlertX.git
synced 2025-12-07 01:26:11 -08:00
148 lines
4.4 KiB
JSON
Executable File
148 lines
4.4 KiB
JSON
Executable File
[
|
|
{
|
|
"headers": {
|
|
"host": "192.168.1.82:5678",
|
|
"user-agent": "curl/7.74.0",
|
|
"accept": "*/*",
|
|
"content-type": "application/json",
|
|
"content-length": "872"
|
|
},
|
|
"params": {},
|
|
"query": {},
|
|
"body": {
|
|
"username": "NetAlertX",
|
|
"text": "There are new notifications",
|
|
"attachments": [
|
|
{
|
|
"title": "NetAlertX Notifications",
|
|
"title_link": "",
|
|
"text": {
|
|
"new_devices_meta": {
|
|
"title": "🆕New devices",
|
|
"columnNames": [
|
|
"MAC",
|
|
"Datetime",
|
|
"IP",
|
|
"Event Type",
|
|
"Device name",
|
|
"Comments"
|
|
]
|
|
},
|
|
"new_devices": [
|
|
{
|
|
"MAC": "74:ac:74:ac:74:ac",
|
|
"Datetime": "2023-01-30 22:15:09",
|
|
"IP": "192.168.1.1",
|
|
"Event Type": "New Device",
|
|
"Device name": "(name not found)",
|
|
"Comments": null,
|
|
"Device Vendor": null
|
|
}
|
|
],
|
|
"down_devices_meta": {
|
|
"title": "Down devices",
|
|
"columnNames": [
|
|
"MAC",
|
|
"Datetime",
|
|
"IP",
|
|
"Event Type",
|
|
"Device name",
|
|
"Comments"
|
|
]
|
|
},
|
|
"down_devices": [],
|
|
"events_meta": {
|
|
"title": "Events",
|
|
"columnNames": [
|
|
"MAC",
|
|
"Datetime",
|
|
"IP",
|
|
"Event Type",
|
|
"Device name",
|
|
"Comments"
|
|
]
|
|
},
|
|
"down_reconnected": [
|
|
{
|
|
"dev_Name": "Phone - Pixel",
|
|
"eve_MAC": "74:ac:74:ac:74:ac",
|
|
"dev_Vendor": "Google",
|
|
"eve_IP": "192.168.1.167",
|
|
"DownTime": "2024-05-26 09:06:56+10:00",
|
|
"ConnectedTime": "2024-05-26 09:13:24+10:00"
|
|
}
|
|
],
|
|
"down_reconnected_meta": {
|
|
"title": "🔁 Reconnected down devices",
|
|
"columnNames": [
|
|
"dev_Name",
|
|
"eve_MAC",
|
|
"dev_Vendor",
|
|
"eve_IP",
|
|
"DownTime",
|
|
"ConnectedTime"
|
|
]
|
|
},
|
|
"events": [
|
|
{
|
|
"MAC": "74:ac:74:ac:74:ac",
|
|
"Datetime": "2023-01-30 22:15:09",
|
|
"IP": "192.168.1.92",
|
|
"Event Type": "Disconnected",
|
|
"Device name": "(name not found)",
|
|
"Comments": null,
|
|
"Device Vendor": null
|
|
},
|
|
{
|
|
"MAC": "74:ac:74:ac:74:ac",
|
|
"Datetime": "2023-01-30 22:15:09",
|
|
"IP": "192.168.1.150",
|
|
"Event Type": "Disconnected",
|
|
"Device name": "(name not found)",
|
|
"Comments": null,
|
|
"Device Vendor": null
|
|
}
|
|
],
|
|
"plugins_meta": {
|
|
"title": "Plugins",
|
|
"columnNames": [
|
|
"Plugin",
|
|
"Object_PrimaryID",
|
|
"Object_SecondaryID",
|
|
"DateTimeChanged",
|
|
"Watched_Value1",
|
|
"Watched_Value2",
|
|
"Watched_Value3",
|
|
"Watched_Value4",
|
|
"Status",
|
|
"Extra",
|
|
"UserData",
|
|
"ForeignKey",
|
|
"SyncHubNodeName"
|
|
]
|
|
},
|
|
"plugins": [
|
|
{
|
|
"Index": 138,
|
|
"Plugin": "INTRSPD",
|
|
"Object_PrimaryID": "Speedtest",
|
|
"Object_SecondaryID": "2023-10-08 02:01:16+02:00",
|
|
"DateTimeCreated": "2023-10-08 02:01:16",
|
|
"DateTimeChanged": "2023-10-08 02:32:15",
|
|
"Watched_Value1": "-1",
|
|
"Watched_Value2": "-1",
|
|
"Watched_Value3": "null",
|
|
"Watched_Value4": "null",
|
|
"Status": "missing-in-last-scan",
|
|
"Extra": "null",
|
|
"UserData": "null",
|
|
"ForeignKey": "null",
|
|
"SyncHubNodeName": "null"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
] |