Skip to content

Commit ff0087c

Browse files
authored
Merge pull request #9 from thin-edge/feat-increase-cloud-test-interval
feat(cloud): increase cloud test interval to reduce bandwidth usage
2 parents daaa210 + 656c6f0 commit ff0087c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/conf.d/tedge-monitoring.conf

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ check program c8y-enabled with path "/usr/bin/tedge config get c8y.url"
4545

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

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

8080
check program aws-connectivity with path "/usr/bin/tedge connect aws --test"
8181
with timeout 60 seconds
82-
every 2 cycles
82+
every 120 cycles
8383
if status != 0 then alert
8484
if status != 0 for 10 cycles then exec "/usr/bin/tedge reconnect aws"
8585
depends on aws-enabled

0 commit comments

Comments
 (0)