mirror of
https://github.com/librenms/librenms.git
synced 2024-10-07 16:52:45 +00:00
add Linux Softnet Stat app (#15094)
* 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
This commit is contained in:
committed by
GitHub
parent
3190bdb8b2
commit
0ed68e33de
86
tests/data/linux_linux_softnet_stat-v1.json
Normal file
86
tests/data/linux_linux_softnet_stat-v1.json
Normal file
@@ -0,0 +1,86 @@
|
||||
{
|
||||
"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"
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
10
tests/snmpsim/linux_linux_softnet_stat-v1.snmprec
Normal file
10
tests/snmpsim/linux_linux_softnet_stat-v1.snmprec
Normal file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user