diff options
author | Odysseas Lamtzidis <odyslam@gmail.com> | 2021-07-19 18:16:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-19 18:16:21 +0300 |
commit | d10fead9978880a71e328a4176f9c5a5ef4e157b (patch) | |
tree | 44378741cc2cbfec56ef9affc3cb1de0bf87ee68 /health | |
parent | 67d8438d38fe172929e21e69b870d4fb2a6affa8 (diff) |
add geth default config (#11341)
Co-authored-by: Ilya Mashchenko <ilya@netdata.cloud>
Diffstat (limited to 'health')
-rw-r--r-- | health/Makefile.am | 1 | ||||
-rw-r--r-- | health/health.d/geth.conf | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/health/Makefile.am b/health/Makefile.am index 2a180c6ff2..08fbc68488 100644 --- a/health/Makefile.am +++ b/health/Makefile.am @@ -44,6 +44,7 @@ dist_healthconfig_DATA = \ health.d/entropy.conf \ health.d/exporting.conf \ health.d/fping.conf \ + health.d/geth.conf \ health.d/ioping.conf \ health.d/fronius.conf \ health.d/gearman.conf \ diff --git a/health/health.d/geth.conf b/health/health.d/geth.conf new file mode 100644 index 0000000000..35fc2857ae --- /dev/null +++ b/health/health.d/geth.conf @@ -0,0 +1,12 @@ +#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. + template: geth_chainhead_diff_between_header_block + on: geth.chainhead + class: Workload + type: ethereum_node +component: geth + every: 10s + calc: $chain_head_block - $chain_head_header + units: blocks + warn: $this != 0 + crit: $this > 5 + delay: down 1m multiplier 1.5 max 1h |