librenms/tests/data/linux_ntp-client-legacy.json
Tony Murray d5656d826e
Tests dont include empty tables (#13619)
* Do not include empty tables in test data

* empty data is simpler to check now

* Update test data

* revert comment options that block update all test data

* clean existing data

* fixes

* another fix

* remov extra sensors???

* why is that using that ip...

* missed an empty table

* missed one

* restore ftos

* revert another ftos

* revert ird

* restore timos

* restore timos_7705

* oops

* double oops

* timos mpls

* timos_hc

* another timos_hc fix
2021-12-15 19:48:44 -06:00

82 lines
2.5 KiB
JSON

{
"applications": {
"discovery": {
"applications": [
{
"app_type": "ntp-client",
"app_state": "UNKNOWN",
"discovered": 1,
"app_state_prev": null,
"app_status": "",
"app_instance": ""
}
]
},
"poller": {
"applications": [
{
"app_type": "ntp-client",
"app_state": "OK",
"discovered": 1,
"app_state_prev": "UNKNOWN",
"app_status": "",
"app_instance": ""
}
],
"application_metrics": [
{
"metric": "frequency",
"value": 91.141,
"value_prev": null,
"app_type": "ntp-client"
},
{
"metric": "jitter",
"value": 2.581995,
"value_prev": null,
"app_type": "ntp-client"
},
{
"metric": "noise",
"value": 0.853,
"value_prev": null,
"app_type": "ntp-client"
},
{
"metric": "offset",
"value": 0.7029,
"value_prev": null,
"app_type": "ntp-client"
},
{
"metric": "stability",
"value": 0.025,
"value_prev": null,
"app_type": "ntp-client"
}
]
}
},
"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,
"os": "linux",
"type": "server",
"serial": null,
"icon": "linux.svg",
"location": "<private>"
}
]
},
"poller": "matches discovery"
}
}