mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-28 23:19:33 +00:00
82 lines
2.5 KiB
JSON
82 lines
2.5 KiB
JSON
{
|
|
"id": "alert_snmp_device",
|
|
"data_url": "lua/pro/rest/v2/get/snmp/device/alert/list.lua",
|
|
"use_current_page": false,
|
|
"enable_search": false,
|
|
"paging": true,
|
|
"rsp_records_field": "records",
|
|
"rsp_query_info_field": "stats",
|
|
"display_empty_rows": true,
|
|
"columns": [
|
|
{
|
|
"id": "actions",
|
|
"title_i18n": "actions",
|
|
"sortable": false,
|
|
"sticky": true,
|
|
"min-width" : "80px",
|
|
"class": ["text-nowrap", "text-center"],
|
|
"render_v_node_type": "button_list",
|
|
"button_def_array": [
|
|
{ "id": "snmp_info", "icon": "fas fa fa-search-plus", "title_i18n": "info", "event_id": "click_button_snmp_info" },
|
|
{ "id": "historical_data", "icon": "fas fa-stream", "title_i18n": "db_explorer.historical_data", "event_id": "click_button_historical_flows" },
|
|
{ "id": "acknowledge", "icon": "fas fa fa-user-check", "title_i18n": "acknowledge", "event_id": "click_button_acknowledge" },
|
|
{ "id": "disable", "icon": "fas fa fa-bell-slash", "title_i18n": "disable", "event_id": "click_button_disable" },
|
|
{ "id": "settings", "icon": "fas fa fa-cog", "title_i18n": "settings", "event_id": "click_button_settings" },
|
|
{ "id": "remove", "icon": "fas fa fa-trash", "title_i18n": "remove", "event_id": "click_button_remove" }
|
|
]
|
|
},
|
|
{
|
|
"title_i18n": "show_alerts.alert_datetime",
|
|
"data_field": "tstamp",
|
|
"sortable": true,
|
|
"min-width" : "115px",
|
|
"render_type": "formatValueLabelEngaged",
|
|
"class": ["text-center", "text-nowrap"]
|
|
},
|
|
{
|
|
"title_i18n": "score",
|
|
"data_field": "score",
|
|
"sortable": true,
|
|
"min-width" : "80px",
|
|
"render_type": "formatValueLabel",
|
|
"class": ["text-center"]
|
|
},
|
|
{
|
|
"title_i18n": "alerts_dashboard.alert",
|
|
"data_field": "msg",
|
|
"sortable": false,
|
|
"min-width" : "155px",
|
|
"render_type": "formatNameDescription",
|
|
"class": ["text-nowrap"]
|
|
},
|
|
{
|
|
"title_i18n": "snmp.device_ip",
|
|
"data_field": "ip",
|
|
"sortable": false,
|
|
"min-width" : "155px",
|
|
"render_type": "formatSNMPIP",
|
|
"class": ["text-nowrap"]
|
|
},
|
|
{
|
|
"title_i18n": "if_id",
|
|
"data_field": "port",
|
|
"sortable": false,
|
|
"min-width" : "155px",
|
|
"render_type": "formatSNMPInterface",
|
|
"class": ["text-nowrap"]
|
|
},
|
|
{
|
|
"title_i18n": "flow_devices.snmp_devname",
|
|
"data_field": "name",
|
|
"sortable": true,
|
|
"min-width" : "180px",
|
|
"class": ["text-nowrap"]
|
|
},
|
|
{
|
|
"title_i18n": "description",
|
|
"data_field": "description",
|
|
"sortable": false,
|
|
"class": ["text-nowrap"]
|
|
}
|
|
]
|
|
}
|