graylog2-server icon indicating copy to clipboard operation
graylog2-server copied to clipboard

Alert Notifications - Default Notification Types

Open deeshe opened this issue 7 years ago • 0 comments

The previous alerting implementation has shipped two alarm callbacks, HTTP Request and Email. Both of these need to be shipped in the new alerting implementation as well.

In the Enterprise Integrations package, we ship a Script Alert plugin that can execute external scripts. This needs to be ported to the new notifications, too.

HTTP Notification

The current HTTP notification is pretty simple and only takes a title and an URL where it should send a POST request. The payload of the POST request currently contains information about the alerted stream and the check result.

We need to check what information we should include in the request. Since notifications are now created for events, parts of the old payload might be obsolete.

Email Notification

The current email notification can send an email based on a text template to one ore more recipients. (email addresses and internal Graylog users) The current implementation is using a global email transport configuration in the Graylog server configuration file.

In the new email notification implementation this should use a global email configuration that can be configured in the web interface at runtime without requiring a server restart. (e.g. "System / Configurations")

Script Notification

This is a pretty new notification that got introduced in Graylog Enterprise 3.0 and can probably ported over to the new system without much changes to how it works and how it is configured.

deeshe avatar Apr 15 '19 08:04 deeshe