All Projects → graylog-labs → Graylog Plugin Slack

graylog-labs / Graylog Plugin Slack

Licence: apache-2.0
Graylog alarm callback for Slack

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Graylog Plugin Slack

Gatus
⛑ Gatus - Automated service health dashboard
Stars: ✭ 1,203 (+993.64%)
Mutual labels:  mattermost, slack, monitoring, alerting
Karma
Alert dashboard for Prometheus Alertmanager
Stars: ✭ 1,007 (+815.45%)
Mutual labels:  monitoring, alerting
Mattermost Openshift
An OpenShift 3 application template for mattermost
Stars: ✭ 27 (-75.45%)
Mutual labels:  mattermost, slack
Graylog Plugin Metrics Reporter
Graylog Metrics Reporter Plugins
Stars: ✭ 71 (-35.45%)
Mutual labels:  monitoring, graylog
Vigil
🚦 Microservices Status Page. Monitors a distributed infrastructure and sends alerts (Slack, SMS, etc.).
Stars: ✭ 804 (+630.91%)
Mutual labels:  slack, monitoring
Graylog Plugin Metrics
Graylog output plugin for Graphite and Ganglia
Stars: ✭ 16 (-85.45%)
Mutual labels:  monitoring, graylog
Cronmon
PHP Web app to monitor cron/scheduled tasks
Stars: ✭ 55 (-50%)
Mutual labels:  monitoring, alerting
Cabot
Self-hosted, easily-deployable monitoring and alerts service - like a lightweight PagerDuty
Stars: ✭ 5,209 (+4635.45%)
Mutual labels:  monitoring, alerting
Sampler
Tool for shell commands execution, visualization and alerting. Configured with a simple YAML file.
Stars: ✭ 9,203 (+8266.36%)
Mutual labels:  monitoring, alerting
Ciao
HTTP checks & tests (private & public) monitoring - check the status of your URL
Stars: ✭ 1,322 (+1101.82%)
Mutual labels:  monitoring, alerting
Grafana
The open and composable observability and data visualization platform. Visualize metrics, logs, and traces from multiple sources like Prometheus, Loki, Elasticsearch, InfluxDB, Postgres and many more.
Stars: ✭ 45,930 (+41654.55%)
Mutual labels:  monitoring, alerting
Awesome Sre
A curated list of Site Reliability and Production Engineering resources.
Stars: ✭ 7,687 (+6888.18%)
Mutual labels:  monitoring, alerting
Unsee
Alert dashboard for Prometheus Alertmanager
Stars: ✭ 700 (+536.36%)
Mutual labels:  monitoring, alerting
Versionmonitor
Monitors different kinds of software projects for new releases
Stars: ✭ 9 (-91.82%)
Mutual labels:  slack, monitoring
Sensu Go
Simple. Scalable. Multi-cloud monitoring.
Stars: ✭ 625 (+468.18%)
Mutual labels:  monitoring, alerting
Octoslack
OctoPrint plugin for Slack, Mattermost, Pushbullet, Pushover, Rocket.Chat, Discord, Riot/Matrix, & Microsoft Teams
Stars: ✭ 50 (-54.55%)
Mutual labels:  mattermost, slack
Usb Canary
A Linux or OSX tool that uses psutil to monitor devices while your computer is locked. In the case it detects someone plugging in or unplugging devices it can be configured to send you an SMS or alert you via Slack or Pushover.
Stars: ✭ 561 (+410%)
Mutual labels:  slack, monitoring
Opennms
Enterprise-Grade Open-Source Network Management Platform
Stars: ✭ 568 (+416.36%)
Mutual labels:  monitoring, alerting
Zabbix
Real-time monitoring of IT components and services, such as networks, servers, VMs, applications and the cloud.
Stars: ✭ 1,914 (+1640%)
Mutual labels:  monitoring, alerting
Amon
Amon is a modern server monitoring platform.
Stars: ✭ 1,331 (+1110%)
Mutual labels:  monitoring, alerting

Slack/Mattermost Plugin for Graylog

Github Downloads GitHub Release Build Status

Required Graylog version: 2.0 and later.

Please use version 2.1.0 of this plugin if you are still running Graylog 1.x

Detailed alarm notification and message output:

This plugin can notify Slack or Mattermost channels about triggered alerts in Graylog (Alarm Callback) and also forward each message routed into a stream (Message Output) in realtime.

Short mode message output:

Great for streams with higher message throughput. The screenshot shows the output of a nightly task that updates information of the Graylog Marketplace.

Changes in v3.0

  • Templated message are now supported. They use the same format as email alerts.

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

For Slack:

Step 1: Create Slack Incoming Webhook

Create a new Slack Incoming Webhook (https://<organization>.slack.com/services/new/incoming-webhook) and copy the URL it will present to you. It will ask you to select a Slack channel but you can override it in the plugin configuration later.

For Mattermost:

Step 1: Create Mattermost Incoming Webhook

Enable Webhooks in general and create an incoming Webhook for Graylog as described in the Mattermost docs.

Step 2: Create alarm callback or message output

Create a "Slack alarm callback" on the "Manage alerts" page of your stream. Enter the requested configuration (use the Incoming Webhook URL you created in step 1) and save. Make sure you also configured alert conditions for the stream so that the alerts are actually triggered.

The same applies for message outputs which you can configure in Stream - > Manage Outputs.

Troubleshooting

HTTPS connection fails

If the Java runtime environment and the included SSL certificate trust store is too old, HTTPS connections to Slack might fail with the following error message:

Caused by: javax.net.ssl.SSLHandshakeException: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

In this case, add the Slack SSL certificate manually to Java's trust store similar to the process described in the Graylog documentation.

Build

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

You can build a plugin (JAR) with mvn package.

DEB and RPM packages can be build with mvn jdeb:jdeb and mvn rpm:rpm respectively.

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. TravisCI will build the release artifacts and upload to GitHub automatically.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].