mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* 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...
50 lines
1.4 KiB
JSON
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"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|