Skip to content

krystal/myops-slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 

Repository files navigation

MyOps Slack Module

This module provides a MyOps notifier for Slack. It will notify a given Slack Web Hook URL on various events. The supported events currently include:

  • Whenever a collection changes its trigger
  • Whenever a server status changes (up or down)

Screenshot

Installation

Add myops-slack plus required configuration to your MyOps configuration file at /opt/myops/config/myops.yml.

modules:
  -
    name: myops-slack
    repo: adamcooke/myops-slack
    config:
      url: https://hooks.slack.com/services/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

      # The following configuration is optional

      # This is the channel name which messages will be posted to if you don't
      # wish to send them to the channel confiured in the URL
      channel: #ops
      # The username which will appear on messages sent by MyOps
      username: MyOps
      # This is the emoji icon. By default, there is no icon.
      icon: cow

Once, you've done this you can update the modules the application and restart it.

$ myops update-modules
$ myops restart

About

A slack notification module for MyOps

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages