mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
148 lines
No EOL
2.7 KiB
JSON
148 lines
No EOL
2.7 KiB
JSON
{
|
|
"id": "snmp_usage",
|
|
"data_url": "lua/pro/rest/v2/get/snmp/metric/usage.lua",
|
|
"use_current_page": false,
|
|
"enable_search": true,
|
|
"paging": true,
|
|
"display_empty_rows": true,
|
|
"default_sort": {
|
|
"column_id": "ip",
|
|
"sort": 0
|
|
},
|
|
"columns": [
|
|
{
|
|
"id": "actions",
|
|
"title_i18n": "actions",
|
|
"sortable": false,
|
|
"sticky": true,
|
|
"class": [
|
|
"text-nowrap",
|
|
"text-center"
|
|
],
|
|
"render_v_node_type": "button_list",
|
|
"button_def_array": [
|
|
{
|
|
"id": "timeseries_chart",
|
|
"icon": "fas fa-lg fa-chart-area",
|
|
"title_i18n": "prefs.timeseries",
|
|
"event_id": "click_button_timeseries"
|
|
},
|
|
{
|
|
"id": "device_configuration",
|
|
"icon": "fas fa-cog",
|
|
"title_i18n": "snmp_page.device_configuration",
|
|
"event_id": "click_button_device_configuration"
|
|
},
|
|
{
|
|
"id": "interface_configuration",
|
|
"icon": "fas fa-cog",
|
|
"title_i18n": "snmp_page.interface_configuration",
|
|
"event_id": "click_button_interface_configuration"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"title_i18n": "snmp.device_ip",
|
|
"data_field": "ip",
|
|
"sortable": true,
|
|
"class": [
|
|
"text-nowrap"
|
|
]
|
|
},
|
|
{
|
|
"title_i18n": "snmp.device_name",
|
|
"data_field": "device_name",
|
|
"sortable": true,
|
|
"class": [
|
|
"text-nowrap"
|
|
]
|
|
},
|
|
{
|
|
"title_i18n": "snmp.interface",
|
|
"data_field": "interface",
|
|
"sortable": true,
|
|
"class": [
|
|
"text-nowrap"
|
|
]
|
|
},
|
|
{
|
|
"title_i18n": "snmp.interface_alias",
|
|
"data_field": "alias",
|
|
"sortable": true,
|
|
"class": [
|
|
"text-nowrap"
|
|
]
|
|
},
|
|
{
|
|
"title_i18n": "page_stats.type",
|
|
"data_field": "type",
|
|
"sortable": true,
|
|
"class": [
|
|
"text-nowrap"
|
|
]
|
|
},
|
|
{
|
|
"title_i18n": "if_stats_config.link_speed",
|
|
"data_field": "speed",
|
|
"sortable": true,
|
|
"class": [
|
|
"text-nowrap",
|
|
"text-center"
|
|
]
|
|
},
|
|
{
|
|
"title_i18n": "score_usage",
|
|
"data_field": "score",
|
|
"sortable": true,
|
|
"class": [
|
|
"text-nowrap",
|
|
"text-center"
|
|
]
|
|
},
|
|
{
|
|
"title_i18n": "page_stats.congestion_rate",
|
|
"data_field": "congestion_rate",
|
|
"sortable": true,
|
|
"class": [
|
|
"text-nowrap",
|
|
"text-end"
|
|
]
|
|
},
|
|
{
|
|
"title_i18n": "page_stats.min",
|
|
"data_field": "min",
|
|
"sortable": true,
|
|
"class": [
|
|
"text-nowrap",
|
|
"text-end"
|
|
]
|
|
},
|
|
{
|
|
"title_i18n": "page_stats.max",
|
|
"data_field": "max",
|
|
"sortable": true,
|
|
"class": [
|
|
"text-nowrap",
|
|
"text-end"
|
|
]
|
|
},
|
|
{
|
|
"title_i18n": "page_stats.average",
|
|
"data_field": "average",
|
|
"sortable": true,
|
|
"class": [
|
|
"text-nowrap",
|
|
"text-end"
|
|
]
|
|
},
|
|
{
|
|
"title_i18n": "page_stats.last_value",
|
|
"data_field": "last_value",
|
|
"sortable": true,
|
|
"class": [
|
|
"text-nowrap",
|
|
"text-end"
|
|
]
|
|
}
|
|
]
|
|
} |