Files
librenms-librenms/tests/data/linux_asterisk-v1.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

118 lines
3.7 KiB
JSON

{
"applications": {
"discovery": {
"applications": [
{
"app_type": "asterisk",
"app_state": "UNKNOWN",
"discovered": 1,
"app_state_prev": null,
"app_status": "",
"app_instance": ""
}
]
},
"poller": {
"applications": [
{
"app_type": "asterisk",
"app_state": "OK",
"discovered": 1,
"app_state_prev": "UNKNOWN",
"app_status": "",
"app_instance": ""
}
],
"application_metrics": [
{
"metric": "iax2_iax2offline",
"value": 292,
"value_prev": null,
"app_type": "asterisk"
},
{
"metric": "iax2_iax2online",
"value": 687,
"value_prev": null,
"app_type": "asterisk"
},
{
"metric": "iax2_iax2peers",
"value": 979,
"value_prev": null,
"app_type": "asterisk"
},
{
"metric": "iax2_iax2unmonitored",
"value": 0,
"value_prev": null,
"app_type": "asterisk"
},
{
"metric": "stats_calls",
"value": 0,
"value_prev": null,
"app_type": "asterisk"
},
{
"metric": "stats_channels",
"value": 0,
"value_prev": null,
"app_type": "asterisk"
},
{
"metric": "stats_sipmonoffline",
"value": 20,
"value_prev": null,
"app_type": "asterisk"
},
{
"metric": "stats_sipmononline",
"value": 28,
"value_prev": null,
"app_type": "asterisk"
},
{
"metric": "stats_sippeers",
"value": 48,
"value_prev": null,
"app_type": "asterisk"
},
{
"metric": "stats_sipunmonoffline",
"value": 0,
"value_prev": null,
"app_type": "asterisk"
},
{
"metric": "stats_sipunmononline",
"value": 0,
"value_prev": null,
"app_type": "asterisk"
}
]
}
},
"os": {
"discovery": {
"devices": [
{
"sysName": "<private>",
"sysObjectID": ".1.3.6.1.4.1.8072.3.2.10",
"sysDescr": "Linux joseph.tingiris 3.10.0-693.17.1.el7.x86_64 #1 SMP Thu Jan 25 20:13:58 UTC 2018 x86_64",
"sysContact": "<private>",
"version": "3.10.0-693.17.1.el7.x86_64",
"hardware": "Generic x86 64-bit",
"features": null,
"os": "linux",
"type": "server",
"serial": null,
"icon": "linux.svg",
"location": "<private>"
}
]
},
"poller": "matches discovery"
}
}