CrowdStrike/seyren

Name: seyren

Owner: Crowdstrike

Description: An alerting dashboard for Graphite

Forked from: scobal/seyren

Created: 2016-05-09 17:12:16.0

Updated: 2016-07-07 16:24:56.0

Pushed: 2016-05-09 17:43:56.0

Homepage:

Size: 1955

Language: Java

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Seyren (/?sa?.r?n/) is an alerting dashboard for Graphite. It supports the following notification channels:

Build Status Gitter chat

Prerequisites
Run
 https://github.com/scobal/seyren/releases/download/1.3.0/seyren-1.3.0.jar
rt GRAPHITE_URL=http://graphite.foohost.com:80
 -jar seyren-1.3.0.jar
 http://localhost:8080

To run seyren on another port:

rt SEYREN_URL="http://localhost:8081/seyren"
 -jar seyren-1.3.0.jar -httpPort=8081
Config

The following options can be supplied as system properties or environment variables.

Base Graphite Email [HTTP] Flowdock

Use a Flow API token as Target when adding a new subscription.

HipChat Hubot IRCcat PagerDuty Pushover Real-time metrics Slack

The target for a Slack subscription will be the channel name (including the #, for example #channel). You can optionally suffix the channel name with ! and that will cause the alerts to include a @channel mention (for example #channel!).

SNMP TEMPLATE Twilio Victorops Proxy

The Proxy settings are changed by using JAVA_OPTS. It important that you exclude your graphite server or you will proxy these requests also.

Seyren API

See Seyren API

Chef

You can use Seyren Cookbook to deploy Seyren with Chef.

Docker

You can use the Docker Seyren Image to deploy a seyren instance in a docker container.

Docker compose

You can use docker-compose to create containers and hack seyren. First, you need to install Docker and Docker Compose. Then, you just need to start Docker Compose:

er-compose up

and open http://localhost:8080/seyren. Graphite is available on http://localhost:8081/ with Basic Auth guest/guest.

Init script

Seyren-Init is an init.d script which allows you to start the service.

Development

Build Status

To run the acceptance tests with Maven:

clean verify

To run the integration tests with Maven:

clean verify -Pkarma

To fire-up the app using Maven and wait (meaning you can run the tests separately from your IDE):

clean verify -Dwait

You should then be able to browse to http://localhost:8080/seyren and have a play.

To package up a new jar file without running the tests:

package -DskipTests
t environment variables as needed.
 -jar seyren-web/target/seyren-web-*-war-exec.jar

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.