mirror of
https://github.com/librenms/librenms.git
synced 2024-09-21 10:28:13 +00:00
8738e978ce
* replace is_int with is_numeric * update the docs for wireguard for the new extend * relocate the app data bit * update the data for the wireguard test * start reworking the wg app page... details part done * app page mostly done * finish the wireguard app page * style fix * now sorted * add additional info to the peer page * style fixes * a small fix for the links * style fix * make the pubkey column in details link to the peer page * escape the pubkey
170 lines
6.6 KiB
JSON
170 lines
6.6 KiB
JSON
{
|
|
"os": {
|
|
"discovery": {
|
|
"devices": [
|
|
{
|
|
"sysName": "<private>",
|
|
"sysObjectID": ".1.3.6.1.4.1.8072.3.2.10",
|
|
"sysDescr": "Linux server 3.10.0-693.5.2.el7.x86_64 #1 SMP Fri Oct 20 20:32:50 UTC 2017 x86_64",
|
|
"sysContact": "<private>",
|
|
"version": "3.10.0-693.5.2.el7.x86_64",
|
|
"hardware": "Generic x86 64-bit",
|
|
"features": null,
|
|
"location": "<private>",
|
|
"os": "linux",
|
|
"type": "server",
|
|
"serial": null,
|
|
"icon": "linux.svg"
|
|
}
|
|
]
|
|
},
|
|
"poller": "matches discovery"
|
|
},
|
|
"applications": {
|
|
"discovery": {
|
|
"applications": [
|
|
{
|
|
"app_type": "wireguard",
|
|
"app_state": "UNKNOWN",
|
|
"discovered": 1,
|
|
"app_state_prev": null,
|
|
"app_status": "",
|
|
"app_instance": "",
|
|
"data": null,
|
|
"deleted_at": null
|
|
}
|
|
]
|
|
},
|
|
"poller": {
|
|
"applications": [
|
|
{
|
|
"app_type": "wireguard",
|
|
"app_state": "OK",
|
|
"discovered": 1,
|
|
"app_state_prev": "UNKNOWN",
|
|
"app_status": "",
|
|
"app_instance": "",
|
|
"data": "{\"mappings\":{\"wg0\":[\"client1.domain.com\",\"client2\",\"my_phone\",\"it_admin.domain.org\",\"computer\"]},\"data\":{\"wg0\":{\"client1.domain.com\":{\"minutes_since_last_handshake\":null,\"bytes_rcvd\":0,\"bytes_sent\":0},\"client2\":{\"minutes_since_last_handshake\":null,\"bytes_rcvd\":0,\"bytes_sent\":0},\"my_phone\":{\"minutes_since_last_handshake\":null,\"bytes_rcvd\":0,\"bytes_sent\":0},\"it_admin.domain.org\":{\"minutes_since_last_handshake\":null,\"bytes_rcvd\":0,\"bytes_sent\":0},\"computer\":{\"minutes_since_last_handshake\":2,\"bytes_rcvd\":14891148,\"bytes_sent\":105501824}}}}",
|
|
"deleted_at": null
|
|
}
|
|
],
|
|
"application_metrics": [
|
|
{
|
|
"metric": "global_bytes_rcvd_total",
|
|
"value": 14891148,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
},
|
|
{
|
|
"metric": "global_bytes_sent_total",
|
|
"value": 105501824,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
},
|
|
{
|
|
"metric": "intf_wg0_bytes_rcvd_total_intf",
|
|
"value": 14891148,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
},
|
|
{
|
|
"metric": "intf_wg0_bytes_sent_total_intf",
|
|
"value": 105501824,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
},
|
|
{
|
|
"metric": "intf_wg0_client_client1.domain.com_bytes_rcvd",
|
|
"value": 0,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
},
|
|
{
|
|
"metric": "intf_wg0_client_client1.domain.com_bytes_sent",
|
|
"value": 0,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
},
|
|
{
|
|
"metric": "intf_wg0_client_client1.domain.com_minutes_since_last_handshake",
|
|
"value": 0,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
},
|
|
{
|
|
"metric": "intf_wg0_client_client2_bytes_rcvd",
|
|
"value": 0,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
},
|
|
{
|
|
"metric": "intf_wg0_client_client2_bytes_sent",
|
|
"value": 0,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
},
|
|
{
|
|
"metric": "intf_wg0_client_client2_minutes_since_last_handshake",
|
|
"value": 0,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
},
|
|
{
|
|
"metric": "intf_wg0_client_computer_bytes_rcvd",
|
|
"value": 14891148,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
},
|
|
{
|
|
"metric": "intf_wg0_client_computer_bytes_sent",
|
|
"value": 105501824,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
},
|
|
{
|
|
"metric": "intf_wg0_client_computer_minutes_since_last_handshake",
|
|
"value": 2,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
},
|
|
{
|
|
"metric": "intf_wg0_client_it_admin.domain.org_bytes_rcvd",
|
|
"value": 0,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
},
|
|
{
|
|
"metric": "intf_wg0_client_it_admin.domain.org_bytes_sent",
|
|
"value": 0,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
},
|
|
{
|
|
"metric": "intf_wg0_client_it_admin.domain.org_minutes_since_last_handshake",
|
|
"value": 0,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
},
|
|
{
|
|
"metric": "intf_wg0_client_my_phone_bytes_rcvd",
|
|
"value": 0,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
},
|
|
{
|
|
"metric": "intf_wg0_client_my_phone_bytes_sent",
|
|
"value": 0,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
},
|
|
{
|
|
"metric": "intf_wg0_client_my_phone_minutes_since_last_handshake",
|
|
"value": 0,
|
|
"value_prev": null,
|
|
"app_type": "wireguard"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|