Skip to content

Commit

Permalink
Merge pull request #9 from thin-edge/feat-increase-cloud-test-interval
Browse files Browse the repository at this point in the history
feat(cloud): increase cloud test interval to reduce bandwidth usage
  • Loading branch information
reubenmiller authored May 21, 2024
2 parents daaa210 + 656c6f0 commit ff0087c
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/conf.d/tedge-monitoring.conf
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ check program c8y-enabled with path "/usr/bin/tedge config get c8y.url"

check program c8y-connectivity with path "/usr/bin/tedge connect c8y --test"
with timeout 60 seconds
every 2 cycles
every 120 cycles
if status != 0 then alert
if status != 0 for 10 cycles then exec "/usr/bin/tedge reconnect c8y"
depends on c8y-enabled
Expand All @@ -62,7 +62,7 @@ check program az-enabled with path "/usr/bin/tedge config get az.url"

check program az-connectivity with path "/usr/bin/tedge connect az --test"
with timeout 60 seconds
every 2 cycles
every 120 cycles
if status != 0 then alert
if status != 0 for 10 cycles then exec "/usr/bin/tedge reconnect az"
depends on az-enabled
Expand All @@ -79,7 +79,7 @@ check program aws-enabled with path "/usr/bin/tedge config get aws.url"

check program aws-connectivity with path "/usr/bin/tedge connect aws --test"
with timeout 60 seconds
every 2 cycles
every 120 cycles
if status != 0 then alert
if status != 0 for 10 cycles then exec "/usr/bin/tedge reconnect aws"
depends on aws-enabled
Expand Down

0 comments on commit ff0087c

Please sign in to comment.