Add Pushover alert notifications

Pushover is a service for getting real-time
notifications on your mobile devices and desktop
computers: https://pushover.net
This commit is contained in:
Jörg Thalheim
2016-12-25 20:57:08 +00:00
committed by Alfred Krohmer
parent 900230890f
commit f069aae576
4 changed files with 238 additions and 0 deletions

View File

@@ -50,6 +50,7 @@ var (
M_Alerting_Notification_Sent_OpsGenie Counter
M_Alerting_Notification_Sent_Telegram Counter
M_Alerting_Notification_Sent_Sensu Counter
M_Alerting_Notification_Sent_Pushover Counter
M_Aws_CloudWatch_GetMetricStatistics Counter
M_Aws_CloudWatch_ListMetrics Counter
@@ -120,6 +121,7 @@ func initMetricVars(settings *MetricSettings) {
M_Alerting_Notification_Sent_Telegram = RegCounter("alerting.notifications_sent", "type", "telegram")
M_Alerting_Notification_Sent_Sensu = RegCounter("alerting.notifications_sent", "type", "sensu")
M_Alerting_Notification_Sent_LINE = RegCounter("alerting.notifications_sent", "type", "LINE")
M_Alerting_Notification_Sent_Pushover = RegCounter("alerting.notifications_sent", "type", "pushover")
M_Aws_CloudWatch_GetMetricStatistics = RegCounter("aws.cloudwatch.get_metric_statistics")
M_Aws_CloudWatch_ListMetrics = RegCounter("aws.cloudwatch.list_metrics")