mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 23:49:33 +00:00
Interface Status Change Alerts and Interface Discards/Errors Alerts preferences
This commit is contained in:
parent
305d2c14d4
commit
bb6937ca66
5 changed files with 27 additions and 1 deletions
|
|
@ -3214,7 +3214,7 @@ function notify_snmp_device_interface_errors(snmp_host, snmp_interface)
|
|||
local entity_value = string.format("%s_ifidx%d", snmp_host, snmp_interface["index"])
|
||||
local obj = {entity_type = alertEntity("snmp_device"),
|
||||
entity_value = entity_value,
|
||||
type = alertType("port_error"),
|
||||
type = alertType("port_errors"),
|
||||
severity = alertSeverity("info"),
|
||||
message = msg, when = os.time()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue