librenms/tests/data/linux_fail2ban-v1.json
Tony Murray 184f5a5f99
Fix invalid json in test data (#9015)
* Fix invalid json in test data
Most simply needed the syntax fixed
fail2ban needed updated data (added non-zero values in test data too)
awplus: ntp application cannot be enabled by tests since it doesn't use snmp extend... ntp app is enabled by ntp module... pass on that for now.

* missed awplus change somehow...
2018-08-16 11:11:03 -05:00

50 lines
1.4 KiB
JSON

{
"applications": {
"discovery": {
"applications": [
{
"app_type": "fail2ban",
"app_state": "UNKNOWN",
"discovered": "1",
"app_state_prev": null,
"app_status": "",
"app_instance": ""
}
],
"application_metrics": []
},
"poller": {
"applications": [
{
"app_type": "fail2ban",
"app_state": "OK",
"discovered": "1",
"app_state_prev": "UNKNOWN",
"app_status": "",
"app_instance": ""
}
],
"application_metrics": [
{
"metric": "jail_dovecot_banned",
"value": "5",
"value_prev": null,
"app_type": "fail2ban"
},
{
"metric": "jail_sshd_banned",
"value": "3",
"value_prev": null,
"app_type": "fail2ban"
},
{
"metric": "total_banned",
"value": "8",
"value_prev": null,
"app_type": "fail2ban"
}
]
}
}
}