Added comments in the discord endpoint and removed dead code

Commentede dead code in example nd syslog alert endpoints
This commit is contained in:
Luca Deri 2020-09-10 14:53:38 +02:00
parent 227e6531ab
commit 2893167b51
6 changed files with 25 additions and 17 deletions

View file

@ -24,9 +24,8 @@ local example = {
-- How often this script will be called (in seconds)
example.EXPORT_FREQUENCY = 5
-- The minimum severity for an alert in order to be exported by this
-- endpoint
example.DEFAULT_SEVERITY = "warning"
-- The minimum severity for an alert in order to be exported by this endpoint
-- example.DEFAULT_SEVERITY = "warning"
-- This determines the invocation priority of this endpoint.
-- Higher priority endpoints are invoked first for the alert export.