From b622554020a1bd2942a46a69e97f79de9af5e26e Mon Sep 17 00:00:00 2001 From: Nils Jakobi Date: Sun, 19 Jul 2020 23:18:02 +0200 Subject: [PATCH] added test example output --- example.json | 92 ++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 example.json diff --git a/example.json b/example.json new file mode 100644 index 0000000..78a8a2d --- /dev/null +++ b/example.json @@ -0,0 +1,92 @@ +{ + "nodes": [ + { + "is_gateway": false, + "clients_wifi24": 0, + "mac": "18:e8:29:dc:c3:7e", + "firstseen": "2020-05-05T20:08:00+0200", + "clients": 0, + "firmware": { + "release": "8.7.1", + "base": "Ubiquiti - Stock" + }, + "domain": "rifu", + "clients_other": 0, + "nproc": 1, + "lastseen": "2020-07-19T21:10:00+0200", + "is_online": true, + "clients_wifi5": 0, + "uptime": "2020-07-06T20:44:00+0200", + "model": "NBE-5AC-Gen2", + "gateway": "a28cae6ff604", + "addresses": [ + "10.188.9.36" + ], + "location": { + "longitude": 7.19449045, + "latitude": 50.85705025 + }, + "loadavg": 4, + "gateway_nexthop": "a28cae6ff604", + "hostname": "Bahnhof-TDF", + "autoupdater": { + "enabled": false, + "branch": "stable" + }, + "memory_usage": 64, + "owner": "Freifunk Rhein-Sieg", + "rootfs_usage": 0, + "node_id": "18e829dcc37e" + }, + { + "is_gateway": false, + "clients_wifi24": 0, + "mac": "18:e8:29:8e:c6:4d", + "firstseen": "2020-01-20T17:38:00+0200", + "clients": 0, + "firmware": { + "release": "8.7.1", + "base": "Ubiquiti - Stock" + }, + "domain": "rifu", + "clients_other": 0, + "nproc": 1, + "lastseen": "2020-07-19T21:10:00+0200", + "is_online": true, + "clients_wifi5": 0, + "uptime": "2020-06-28T19:46:00+0200", + "model": "NBE-5AC-Gen2", + "gateway": "a28cae6ff604", + "addresses": [ + "10.188.13.133" + ], + "location": { + "longitude": 7.19449045, + "latitude": 50.85705025 + }, + "loadavg": 2, + "gateway_nexthop": "a28cae6ff604", + "hostname": "Port 5 - zu Bahnhof", + "autoupdater": { + "enabled": false, + "branch": "stable" + }, + "memory_usage": 73, + "owner": "Freifunk Rhein-Sieg", + "rootfs_usage": 0, + "node_id": "18e8298ec64d" + } + ], + "timestamp": "2020-07-19T23:10:00+0200", + "links": [ + { + "type": "wifi", + "target_tq": 0.798, + "target": "18e8298ec64d", + "target_addr": "18:e8:29:8e:c6:4d", + "source_addr": "18:e8:29:dc:c3:7e", + "source": "18e829dcc37e", + "source_tq": 0.798 + } + ] +}