Link

ZE METRIC ALERT WEBHOOK

THIS FEATURE IS NOT YET GA - PLEASE CONTACT ZEBRIUM

Metric Alerts Payload

Name Type Description
event_type string Always: zebrium_metric_alert
customer_name string Customer name of Zebrium instance
deployment_name string Name of the deployment where metric alert was raised
incident_group string Name of the incident group where metric alert was raised
metric_alerts metric alert object list All metric alerts

Metric Alert Object

incident_group string Name of the incident group where metric alert was raised
metric_alert_host string Host on which metric alert originated
metric_alert_id uuid Unique identifier for the metric
metric_alert_type string Type of alert (One of: METRIC_CPU, METRIC_FS, METRIC_MEM)
metric_alert_text string Textual description of metric alert
metric_alert_epoch_ts timestamp (yyyy-mm-ddThh:mm:ss.nnnnnnZ) UTC timestamp of metric

Example Payload

{
  "event_type" : "zebrium_metric",
  "customer_name" : "Acme",
  "deployment_name" : "default",
  "metric_alerts" : [
    {
      "incident_group" : "production",
      "metric_alert_host" : "dbserver01",
      "metric_alert_id" : "55c8cf11741a18add156014a313e1fb8",
      "metric_alert_type" : "METRIC_MEM",
      "metric_alert_text" : "[ze_deployment_name:\"production\" zid_host:\"dbserver01\" 2020-09-22 00:12:33+00 ALERT: MEM utilization over 90% for at least 5 minutes",
      "metric_alert_epoch_ts" : "2020-09-22T00:12:33.000000Z"
    },
    {
      "incident_group" : "production",
      "metric_alert_host" : "webserver02",
      "metric_alert_id" : "54e53cd8d89b66ad54d7f784cbd43fc1",
      "metric_alert_type" : "METRIC_FS",
      "metric_alert_text" : "[ze_deployment_name=\"production\" zid_host=\"webserver02\" device_name=\"E:\\\"] 2020-09-22 08:34:00+00 ALERT: FS utilization over 90% for at least 5 minutes",
      "metric_alert_epoch_ts" : "2020-09-22T08:34:00.000000Z"
    }
  ]
}