Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 670 Bytes

README.md

File metadata and controls

26 lines (16 loc) · 670 Bytes

mackerel-notification-alerts

20151120105942_original

This is a program to notify slack of mackerel's open alert.

Used

https://github.com/mackerelio/mackerel-client-go

used mackerel-client-go.

How to

$ go get github.com/ashwanthkumar/slack-go-webhook
$ go get github.com/mackerelio/mackerel-client-go
$ export MACKEREL_APIKEY="XXXXXXXX"
add slack webhook,cannnel
$ go run main.go

Slack

スクリーンショット_2019-05-06_20_09_50