ntopng/httpdocs/tables_config/snmp_devices.json
2025-05-21 17:11:17 +02:00

115 lines
No EOL
2.2 KiB
JSON

{
"id": "snmp_interfaces",
"data_url": "lua/pro/enterprise/get_snmp_devices_list.lua",
"use_current_page": false,
"enable_search": true,
"paging": false,
"display_empty_rows": true,
"default_sort": {
"column_id": "device",
"sort": 1
},
"columns": [
{
"id": "actions",
"title_i18n": "actions",
"sortable": false,
"min-width": "80px",
"sticky": true,
"class": [
"text-nowrap",
"text-center"
],
"render_v_node_type": "button_list",
"button_def_array": [
{
"id": "edit",
"icon": "fas fa-edit",
"title_i18n": "edit",
"event_id": "click_button_edit"
},
{
"id": "delete",
"icon": "fas fa fa-trash",
"title_i18n": "delete",
"event_id": "click_button_delete"
},
{
"id": "export",
"icon": "fa-solid fa-download",
"title_i18n": "export_snmp_device_data",
"event_id": "click_button_export_snmp_device_data"
}
]
},
{
"title_i18n": "snmp.device_ip",
"data_field": "column_ip",
"min-width": "160px",
"sortable": true,
"class": [
"text-nowrap"
]
},
{
"title_i18n": "snmp.snmp_version",
"data_field": "column_version",
"min-width": "100px",
"sortable": true,
"class": [
"text-center"
]
},
{
"title_i18n": "chart",
"data_field": "column_chart",
"min-width": "80px",
"sortable": false,
"class": [
"text-center"
]
},
{
"title_i18n": "unknown_devices.device_name",
"data_field": "column_name",
"min-width": "80px",
"sortable": true,
"class": []
},
{
"title_i18n": "show_alerts.alert_description",
"data_field": "column_descr",
"min-width": "80px",
"sortable": true,
"class": []
},
{
"title_i18n": "snmp.alerted_interfaces",
"data_field": "column_err_interfaces",
"min-width": "180px",
"sortable": true,
"class": [
"text-right",
"pre-wrap"
]
},
{
"title_i18n": "snmp.snmp_device_last_poll",
"data_field": "column_last_update",
"min-width": "80px",
"sortable": true,
"class": [
"text-center"
]
},
{
"title_i18n": "snmp.snmp_device_last_poll_duration",
"data_field": "column_last_poll_duration",
"min-width": "80px",
"sortable": true,
"class": [
"text-center"
]
}
]
}