mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
* add linux_softnet_stat poller * add graphs and app page for linux_softnet_stat * fix polling * rename a few items, clean up the app specific page, and add to the apps page * convert from derive to counter * save the budget and budget_usecs to app data * display current value of the budgets * now track budget values * add tests data * rename it * add docs for Linux Softnet Stat * re-order and add budget for app page graph order * style fix * correct data location * fix metrics for the json
87 lines
2.8 KiB
JSON
87 lines
2.8 KiB
JSON
{
|
|
"applications": {
|
|
"discovery": {
|
|
"applications": [
|
|
{
|
|
"app_type": "linux_softnet_stat",
|
|
"app_state": "UNKNOWN",
|
|
"discovered": "1",
|
|
"app_state_prev": null,
|
|
"app_status": "",
|
|
"app_instance": "",
|
|
"data": null
|
|
}
|
|
]
|
|
},
|
|
"poller": {
|
|
"applications": {
|
|
"0": {
|
|
"app_type": "linux_softnet_stat",
|
|
"app_state": "OK",
|
|
"discovered": "1",
|
|
"app_state_prev": "UNKNOWN",
|
|
"app_status": "",
|
|
"app_instance": "",
|
|
"data": "{\"budget\":\"300\",\"budget_usecs\":\"8000\"}"
|
|
}
|
|
},
|
|
"application_metrics": [
|
|
{
|
|
"metric": "backlog_length",
|
|
"value": "0",
|
|
"value_prev": null,
|
|
"app_type": "linux_softnet_stat"
|
|
},
|
|
{
|
|
"metric": "budget",
|
|
"value": "300",
|
|
"value_prev": null,
|
|
"app_type": "linux_softnet_stat"
|
|
},
|
|
{
|
|
"metric": "budget_usecs",
|
|
"value": "8000",
|
|
"value_prev": null,
|
|
"app_type": "linux_softnet_stat"
|
|
},
|
|
{
|
|
"metric": "cpu_collision",
|
|
"value": 0,
|
|
"value_prev": null,
|
|
"app_type": "linux_softnet_stat"
|
|
},
|
|
{
|
|
"metric": "flow_limit",
|
|
"value": 0,
|
|
"value_prev": null,
|
|
"app_type": "linux_softnet_stat"
|
|
},
|
|
{
|
|
"metric": "packet_dropped",
|
|
"value": 0,
|
|
"value_prev": null,
|
|
"app_type": "linux_softnet_stat"
|
|
},
|
|
{
|
|
"metric": "packets",
|
|
"value": 395382025,
|
|
"value_prev": null,
|
|
"app_type": "linux_softnet_stat"
|
|
},
|
|
{
|
|
"metric": "received_rps",
|
|
"value": 0,
|
|
"value_prev": null,
|
|
"app_type": "linux_softnet_stat"
|
|
},
|
|
{
|
|
"metric": "time_squeeze",
|
|
"value": 0,
|
|
"value_prev": null,
|
|
"app_type": "linux_softnet_stat"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
}
|