moira-alert / notifier

[DEPRECATED]
GNU General Public License v3.0
16 stars 8 forks source link

How are subscriptions defined? #6

Closed warmfusion closed 8 years ago

warmfusion commented 8 years ago

I've been setting up a docker installation of Moira ( https://github.com/warmfusion/moira-docker) and while I've been able to set the cluster up and accept events (See the readme on my repo) i've yet to work out how to send notifications through Slack.

The notifier logs appear to show that its trying to do something, but is missing subscription configuration - how is this set up?

2016-02-14 13:16:31 DEBUG   Processing trigger id %s for metric %s == %f, %s -> %s 13ef97df-122b-4bb8-8338-1ec4b59e06de local.random.diceroll 193 WARN ERROR
2016-02-14 13:16:31 DEBUG   Getting subscriptions for tags %v [diceroll ERROR WARN]
2016-02-14 13:16:31 DEBUG   Getting tags %v subscriptions [diceroll ERROR WARN]
2016-02-14 13:16:31 DEBUG   No subscriptions found for tag set %v [diceroll ERROR WARN]
gmlexx commented 8 years ago
  1. Setup possible contacts type in config.json https://github.com/moira-alert/web/blob/master/config.json.example
  2. Open settings page
  3. Fill contacts
  4. +Notification. Choose tags and contact
  5. Save and test
gmlexx commented 8 years ago

screen shot 2016-02-14 at 19 30 05

warmfusion commented 8 years ago

Ahhhh! So THATS what the settings thing is for!

screenshot 2016-02-14 14 34 42

Now i'm getting somewhere!

gmlexx commented 8 years ago

P.S. Also i've fixed log messages.

warmfusion commented 8 years ago

Yup - this works like a charm!! Awesome.

screenshot 2016-02-14 14 39 06