Implement configurable slack channel names

This commit is contained in:
emanuele-f 2018-07-09 19:19:24 +02:00
parent 0921f88ce6
commit 25a1a961c2
4 changed files with 53 additions and 4 deletions

View file

@ -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},