mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
parent
8abdb926cd
commit
4ed8cfecc3
7 changed files with 128 additions and 39 deletions
|
|
@ -1539,7 +1539,7 @@ function toggleAlert(disable) {
|
|||
{
|
||||
title: "]]print(i18n("show_alerts.alert_count"))print[[",
|
||||
field: "column_count",
|
||||
hidden: ]] print(ternary(t["status"] ~= "historical-flows", "true", "false")) print[[,
|
||||
hidden: ]] print(ternary(t["status"] ~= "historical-flows" and t["status"] ~= "historical", "true", "false")) print[[,
|
||||
sortable: true,
|
||||
css: {
|
||||
textAlign: 'center'
|
||||
|
|
|
|||
|
|
@ -672,6 +672,9 @@ end
|
|||
function alerts_api.broadcastDomainTooLargeType(src_mac, dst_mac, vlan, spa, tpa)
|
||||
return({
|
||||
alert_type = alert_consts.alert_types.alert_broadcast_domain_too_large,
|
||||
-- Subtype is the concatenation of src and dst macs and ips and the VLAN. This
|
||||
-- allows the elerts engine to properly aggregate alerts when they have the same type and subtype
|
||||
alert_subtype = string.format("%u_%s_%s_%s_%s", vlan, src_mac, spa, dst_mac, tpa),
|
||||
alert_severity = alert_consts.alert_severities.warning,
|
||||
alert_type_params = {
|
||||
src_mac = src_mac, dst_mac = dst_mac,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue