Skip to content

Hitask/graylog-redmine-plugin

 
 

Repository files navigation

Redmine Plugin for Graylog

Build Status Coverage Status Dependency Status codebeat badge Coverity Scan License

Graylog alarm callback plugin for Redmine issue tracker.

Required Graylog version: 2.0 and later

Installation

NOTE: Currently this plugin conflict with graylog-map-widget-plugin and any other plugins bundle org.apache.httpcomponents.httpclient. Before install remove graylog-map-widget-plugin from plugins directory.

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

In the fields subject and description can use templates. As a template engine used jmte.

Example subject:

Graylog alert for stream: ${stream.title}. Stream ID: ${stream.id}. Date: ${check_result.triggeredAt}

Example description:

##########
Alert Description: ${check_result.resultDescription}
Date: ${check_result.triggeredAt}
Stream ID: ${stream.id}
Stream title: ${stream.title}
Stream description: ${stream.description}
${if stream_url}Stream URL: ${stream_url}${end}

Triggered condition: ${check_result.triggeredCondition}

##########
${if backlog}
Last messages accounting for this alert:
${foreach backlog message}
${message}
${end}
${else}
<No backlog>
${end}

Available template parameters:

  • stream
  • backlog
  • backlog_size
  • stream_url
  • check_result
  • alert_condition

Screenshots

Plugin configuration form

Plugin configuration form

Sample alert configuration

Sample alert configuration

Redmine task received from graylog

Redmine task received from graylog

Copiright

Plugin based on some code EmailAlarmCallback plugin. Inspired by graylog-jira-alarmcallback

Copyright (c) 2016 Vitaly Sidorov. See LICENSE for further details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 98.9%
  • Smarty 1.1%