add geth default config (#11341)
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
Odysseas Lamtzidis committed
Jul 19, 2021 at 18:16 UTC
d10fead9978880a71e328a4176f9c5a5ef4e157b
2 files changed
+13
health/Makefile.am
+1
@@ -44,6 +44,7 @@ dist_healthconfig_DATA = \
44
health.d/entropy.conf \
45
health.d/exporting.conf \
46
health.d/fping.conf \
47
+ health.d/geth.conf \
48
health.d/ioping.conf \
49
health.d/fronius.conf \
50
health.d/gearman.conf \
health/health.d/geth.conf
new
+12
@@ -0,0 +1,12 @@
1
+#chainhead_header is expected momenterarily to be ahead. If its considerably ahead (e.g more than 5 blocks), then the node is definetely out of sync.
2
+ template: geth_chainhead_diff_between_header_block
3
+ on: geth.chainhead
4
+ class: Workload
5
+ type: ethereum_node
6
+component: geth
7
+ every: 10s
8
+ calc: $chain_head_block - $chain_head_header
9
+ units: blocks
10
+ warn: $this != 0
11
+ crit: $this > 5
12
+ delay: down 1m multiplier 1.5 max 1h