telegraf/plugins/outputs/pagerduty
Ranjib Dey 2b67d3b886 fix spec 2016-08-21 01:37:56 -07:00
..
README.md make tag separate type 2016-08-21 00:35:45 -07:00
pagerduty.go fix spec 2016-08-21 01:37:56 -07:00
pagerduty_test.go fix spec 2016-08-21 01:37:56 -07:00
util.go resolve event when its triggered, resend incident key for existing alerts 2016-06-06 10:35:07 -07:00

README.md

PagerDuty output plugin

This plugin is used to send PagerDuty alerts based on a metric field.

Following is an example of send PagerDuty alerts based on "time_iowait" field of the "cpu" metric. It will send PagerDyty alert any time the "time_iowait" value is more than 50

Optionally, alerts can be restriced to metrics with a given set of tags

[[outputs.pagerduty]]
  service_key = "<SERVICE KEY>"
  metric = "cpu"
  description = "Check CPU"
  field = "time_iowait"
  expression = "> 50.0"
  [[outputs.pagerduty.tags]]
    name = "role"
    value = "web"