mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 15:39:33 +00:00
Implement configurable slack channel names
This commit is contained in:
parent
0921f88ce6
commit
25a1a961c2
4 changed files with 53 additions and 4 deletions
|
|
@ -1225,6 +1225,7 @@ local special_parameters = { --[[Suffix validator]] --[[Value Validator]]
|
|||
-- ALERTS (see alert_utils.lua)
|
||||
["op_"] = {validateAlertDescriptor, validateOperator}, -- key: an alert descriptor, value: alert operator
|
||||
["value_"] = {validateAlertDescriptor, validateEmptyOr(validateNumber)}, -- key: an alert descriptor, value: alert value
|
||||
["slack_ch_"] = {validateNumber, validateSingleWord}, -- slack channel name
|
||||
|
||||
-- Protocol to categories match
|
||||
["proto_"] = {validateProtocolId, validateCategory},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue