Skip to content

Commit

Permalink
Merge pull request #27 from pkarkazis/master
Browse files Browse the repository at this point in the history
modify rules
  • Loading branch information
pkarkazis authored May 18, 2017
2 parents cfb90d8 + 66d6b5a commit 8657ad9
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions prometheus/sonataConf/rules/alert.rules
Original file line number Diff line number Diff line change
@@ -1,3 +1,22 @@
ALERT VTC_ALL_PACKET
IF mbits_packets_all{exported_job = "vtc_db"} > 1500
FOR 5s
LABELS {exported_job = "vtc_db"}
ANNOTATIONS {
summary = "VTC all packet threshold exceeded ",
description = "VTC all packet threshold exceeded {{$labels.exported_instance}} {{$labels.id}} (current value {{$value}})"
}

ALERT VTC_HTTP_PACKET
IF mbits_packets_http{exported_job = "vtc_db"} > 10000
FOR 5s
LABELS {exported_job = "vtc_db"}
ANNOTATIONS {
summary = "VTC HTTP packet threshold exceeded ",
description = "VTC HTTP packet threshold exceeded {{$labels.exported_instance}} {{$labels.id}} (current value {{$value}})"
}


ALERT sp_cpu_usage_95_perc
IF vm_cpu_perc{exported_job = "vm"} > 95
FOR 30m
Expand Down

0 comments on commit 8657ad9

Please sign in to comment.