graylog-labs / graylog-plugin-pagerduty

A Graylog plugin that triggers PagerDuty events
https://www.graylog.org/
GNU General Public License v3.0
11 stars 11 forks source link
alarm-callback alerting graylog graylog-plugin monitoring pagerduty

PagerDutyNotificationPlugin Plugin for Graylog

A Notification plugin to integrate Graylog with PagerDuty as documented here.

Required Graylog version: 3.3 and later

Deprecated

As of Graylog version 4.0.0, PagerDuty notifications are integrated into the core product. Do not use the graylog-labs plugin on versions 4.x and above as it lacks support for new notification types.

Installation

Download the plugin and place the .jar file in your Graylog plugin directory. The plugin directory is the plugins/ folder relative from your graylog-server directory by default and can be configured in your graylog.conf file.

Restart graylog-server and you are done.

Usage

After deploying the plugin, a new Notification type will be available to select in the alerts screen. For more information about setting up an alert please see.

Screenshot: Notification Type

The following configuration parameters are required,

Screenshot: Notification Type

The following configuration parameters are optional,

This is an example of a notification triggered from Graylog.

Screenshot: Notification Type

Development

You can improve your development experience for the web interface part of your plugin dramatically by making use of hot reloading. To do this, do the following:

Getting started

This project is using Maven 3 and requires Java 8 or higher.

Plugin Release

We are using the maven release plugin:

$ mvn release:prepare
[...]
$ mvn release:perform

This sets the version numbers, creates a tag and pushes to GitHub. Travis CI will build the release artifacts and upload to GitHub automatically.