Skip to content

Commit

Permalink
Update no_data_timeframe value to be represented in minutes for alb a…
Browse files Browse the repository at this point in the history
…nd elb monitors
  • Loading branch information
nagarajankannan authored and spearki committed Sep 22, 2023
1 parent 0f822e5 commit 01f669b
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 12 deletions.
12 changes: 6 additions & 6 deletions src/shared/alb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ export default function alb(name: string, titlePrefix: string = ""): Component {
{{/is_alert}}`,
options: {
include_tags: false,
no_data_timeframe: 900,
no_data_timeframe: 15, // in minutes
notify_no_data: true,
new_host_delay: 300,
evaluation_delay: 900,
new_host_delay: 300, // in seconds
evaluation_delay: 900, // in seconds
thresholds: {
critical: 1,
},
Expand All @@ -67,10 +67,10 @@ export default function alb(name: string, titlePrefix: string = ""): Component {
{{/is_alert}}`,
options: {
include_tags: false,
no_data_timeframe: 900,
no_data_timeframe: 15, // in minutes
notify_no_data: true,
new_host_delay: 300,
evaluation_delay: 900,
new_host_delay: 300, // in seconds
evaluation_delay: 900, // in seconds
thresholds: {
critical: 0.05,
},
Expand Down
12 changes: 6 additions & 6 deletions src/shared/elb.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@ export default function elb(name: string): Component {
{{/is_alert}}`,
options: {
include_tags: false,
no_data_timeframe: 900,
no_data_timeframe: 15, // in minutes
notify_no_data: true,
new_host_delay: 300,
evaluation_delay: 900,
new_host_delay: 300, // in seconds
evaluation_delay: 900, // in seconds
thresholds: {
critical: 1,
},
Expand All @@ -53,10 +53,10 @@ export default function elb(name: string): Component {
{{/is_alert}}`,
options: {
include_tags: false,
no_data_timeframe: 900,
no_data_timeframe: 15, // in minutes
notify_no_data: true,
new_host_delay: 300,
evaluation_delay: 900,
new_host_delay: 300, // in seconds
evaluation_delay: 900, // in seconds
thresholds: {
critical: 0.05,
},
Expand Down

0 comments on commit 01f669b

Please sign in to comment.