Skip to content

Send slack notification to slack if any of the health check fails in consul

License

Notifications You must be signed in to change notification settings

skyrocknroll/consul-checks-slack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Consul Check Alerting

  • This tool periodically checks the for failing service check in consul and send an slack message
  • To set the consul url set CONSUL_HTTP_ADDR environment variable

Help

./consul-checks-slack -h:
    -check-interval int
        	Periodic check interval in seconds (default 60)
      -slack-url string
        	Use Slack incoming integration url (default "https://hooks.slack.com/services/xxxx/yyyy/zzzzzz")
      -wait-interval int
        	Greater than this period is considered as check failure seconds (default 300)

About

Send slack notification to slack if any of the health check fails in consul

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages