Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Customize triggers severities
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasponce committed Oct 14, 2015
1 parent 8aa0067 commit c12d560
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ module HawkularMetrics {
autoDisable: true, // Disable trigger after firing, to not have repeated alerts of same issue
autoEnable: true, // Enable trigger once an alert is resolved
autoResolve: false, // Don't change into AUTORESOLVE mode as we don't have AUTORESOLVE conditions
severity: 'MEDIUM',
actions: {email: [this.defaultEmail]},
context: {
resourceType: 'App Server',
Expand Down Expand Up @@ -148,6 +149,7 @@ module HawkularMetrics {
autoDisable: true, // Disable trigger after firing, to not have repeated alerts of same issue
autoEnable: true, // Enable trigger once an alert is resolved
autoResolve: false, // Don't change into AUTORESOLVE mode as we don't have AUTORESOLVE conditions
severity: 'HIGH',
actions: {email: [this.defaultEmail]},
context: {
resourceType: 'App Server',
Expand Down Expand Up @@ -202,6 +204,7 @@ module HawkularMetrics {
autoDisable: true, // Disable trigger after firing, to not have repeated alerts of same issue
autoEnable: true, // Enable trigger once an alert is resolved
autoResolve: false, // Don't change into AUTORESOLVE mode as we don't have AUTORESOLVE conditions
severity: 'HIGH',
actions: {email: [this.defaultEmail]},
context: {
resourceType: 'App Server',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ module HawkularMetrics {
autoDisable: true, // Disable trigger after firing, to not have repeated alerts of same issue
autoEnable: true, // Enable trigger once an alert is resolved
autoResolve: false, // Don't change into AUTORESOLVE mode as we don't have AUTORESOLVE conditions
severity: 'MEDIUM',
actions: {email: [this.defaultEmail]},
context: {
resourceType: 'App Server',
Expand Down Expand Up @@ -149,6 +150,7 @@ module HawkularMetrics {
autoDisable: true, // Disable trigger after firing, to not have repeated alerts of same issue
autoEnable: true, // Enable trigger once an alert is resolved
autoResolve: false, // Don't change into AUTORESOLVE mode as we don't have AUTORESOLVE conditions
severity: 'LOW',
actions: {email: [this.defaultEmail]},
context: {
resourceType: 'App Server',
Expand Down Expand Up @@ -205,6 +207,7 @@ module HawkularMetrics {
autoDisable: true, // Disable trigger after firing, to not have repeated alerts of same issue
autoEnable: true, // Enable trigger once an alert is resolved
autoResolve: false, // Don't change into AUTORESOLVE mode as we don't have AUTORESOLVE conditions
severity: 'LOW',
actions: {email: [this.defaultEmail]},
context: {
resourceType: 'App Server',
Expand Down
2 changes: 2 additions & 0 deletions console/src/main/scripts/plugins/metrics/ts/urlList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -215,6 +215,7 @@ module HawkularMetrics {
id: triggerId,
name: url,
description: 'Response Time for URL ' + url,
severity: 'HIGH',
actions: {email: [defaultEmail]},
context: {
resourceType: 'URL',
Expand Down Expand Up @@ -277,6 +278,7 @@ module HawkularMetrics {
id: triggerId,
name: url,
description: 'Availability for URL ' + url,
severity: 'CRITICAL',
actions: {email: [defaultEmail]},
context: {
resourceType: 'URL',
Expand Down

0 comments on commit c12d560

Please sign in to comment.