mirror of
https://github.com/ntop/ntopng.git
synced 2026-04-29 07:29:32 +00:00
parent
d9b16e7fc4
commit
2849267af8
13 changed files with 72 additions and 72 deletions
|
|
@ -7,14 +7,14 @@ local json = require "dkjson"
|
|||
|
||||
local webhook = {
|
||||
name = "Webhook",
|
||||
conf_params = {
|
||||
endpoint_params = {
|
||||
{ param_name = "webhook_url" },
|
||||
{ param_name = "webhook_sharedsecret", optional = true },
|
||||
{ param_name = "webhook_username", optional = true },
|
||||
{ param_name = "webhook_password", optional = true },
|
||||
-- TODO: configure severity (Errors, Errors and Warnings, All)
|
||||
},
|
||||
conf_template = {
|
||||
endpoint_template = {
|
||||
plugin_key = "webhook_alert_endpoint",
|
||||
template_name = "webhook_endpoint.template"
|
||||
},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue