PagerDuty Plugin for Graylog
An alarm callback plugin for integrating PagerDuty into Graylog.
Required Graylog version: 2.0 and later
Plugin versions starting with 1.3.0 require Graylog 2.0 and higher. For older Graylog versions please use previous releases.
Download the plugin
and place the
.jar file in your Graylog plugin directory. The plugin directory
plugins/ folder relative from your
graylog-server directory by default
and can be configured in your
graylog-server and you are done.
The only thing you need to do in your PagerDuty interface is to add a new service called Graylog. Click Services in the main menu and then hit the Add new service button.
Give the new service any name you’d like, for example graylog and select an escalation policy. Select Graylog from the Integration type dropdown box and click Add Service.
On the next page you will see the Service API Key that Graylog needs to notify PagerDuty about alerts. Copy it.
The last thing to do is to copy that token into the alarm callback configuration in Graylog.
Click Add alert destination and you are done. Your PagerDuty account will now receive alerts of this stream.
This project is using Maven and requires Java 8 or higher.
You can build a plugin (JAR) with
DEB and RPM packages can be build with
mvn jdeb:jdeb and
mvn rpm:rpm respectively.
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. TravisCI will build the release artifacts and upload to GitHub automatically.