mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
Minor SNMP localization fix
This commit is contained in:
parent
d723c54b10
commit
251cc57970
2 changed files with 2 additions and 3 deletions
|
|
@ -2819,12 +2819,11 @@ local function notify_ntopng_status(started)
|
|||
end
|
||||
|
||||
function notify_snmp_device_interface_status_change(snmp_host, snmp_interface)
|
||||
local msg = i18n("alerts_dashboard.snmp_port_changed_status_from_to",
|
||||
local msg = i18n("alerts_dashboard.snmp_port_changed_operational_status",
|
||||
{device = snmp_host,
|
||||
port = snmp_interface["name"] or snmp_interface["index"],
|
||||
url = ntop.getHttpPrefix()..string.format("/lua/pro/enterprise/snmp_device_details.lua?host=%s", snmp_host),
|
||||
port_url = ntop.getHttpPrefix()..string.format("/lua/pro/enterprise/snmp_interface_details.lua?host=%s&snmp_port_idx=%d", snmp_host, snmp_interface["index"]),
|
||||
old_op = snmp_ifstatus(snmp_interface["prev_status"]),
|
||||
new_op = snmp_ifstatus(snmp_interface["status"])})
|
||||
|
||||
local entity_value = string.format("%s_ifidx%d", snmp_host, snmp_interface["index"])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue