Files
librenms-librenms/tests/data/linux_asterisk-v1.json
Joseph Tingiris 02bc15c206 Asterisk app: add IAX2 peer graphs (#11078)
* Asterisk app: add IAX2 peer graphs

* It's an entirely new graph and will not break existing graphs.
* The asterisk extend script must be updated to provide the appropriate poller data.
* The PR for librenms-agent/snmp/asterisk is here: https://github.com/librenms/librenms-agent/pull/274

* code climate, round 1

* clarified unit text

* code climate, round 2

* changes needed to properly generate test data

* linux_asterisk-v1 test data
2020-02-03 18:47:27 +01:00

98 lines
3.0 KiB
JSON

{
"applications": {
"discovery": {
"applications": [
{
"app_type": "asterisk",
"app_state": "UNKNOWN",
"discovered": 1,
"app_state_prev": null,
"app_status": "",
"app_instance": ""
}
],
"application_metrics": []
},
"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_sipeers",
"value": 48,
"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_sipunmonoffline",
"value": 0,
"value_prev": null,
"app_type": "asterisk"
},
{
"metric": "stats_sipunmononline",
"value": 0,
"value_prev": null,
"app_type": "asterisk"
}
]
}
}
}