mirror of
https://github.com/ntop/ntopng.git
synced 2026-05-05 19:15:03 +00:00
Add support for AS checks in scripts/lua/modules/check_definitions/as/
This commit is contained in:
parent
1dd5076118
commit
0d6e639772
7 changed files with 139 additions and 7 deletions
|
|
@ -96,6 +96,15 @@ end
|
|||
|
||||
-- ##############################################
|
||||
|
||||
function alert_entity_builders.asAlertEntity(as)
|
||||
return {
|
||||
alert_entity = alert_entities.as,
|
||||
entity_val = as
|
||||
}
|
||||
end
|
||||
|
||||
-- ##############################################
|
||||
|
||||
function alert_entity_builders.systemEntity(system_entity_name)
|
||||
return {
|
||||
alert_entity = alert_entities.system,
|
||||
|
|
@ -112,4 +121,4 @@ function alert_entity_builders.iec104Entity(flow)
|
|||
}
|
||||
end
|
||||
|
||||
return alert_entity_builders
|
||||
return alert_entity_builders
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue