@cryptotaxi247 / netdata-1 / commits / 799b757b9

health: remove pythond modules specific last_collected alarms (#11307)

Ilya Mashchenko committed Jul 1, 2021 at 15:26 UTC 799b757b96707500fb7394cc246d4f11a01eb2cf
4 files changed -42
health/Makefile.am
-2
@@ -41,7 +41,6 @@ dist_healthconfig_DATA = \
41 health.d/dnsmasq_dhcp.conf \
42 health.d/dns_query.conf \
43 health.d/dockerd.conf \
44 - health.d/elasticsearch.conf \
44 health.d/entropy.conf \
45 health.d/exporting.conf \
46 health.d/fping.conf \
@@ -89,7 +88,6 @@ dist_healthconfig_DATA = \
88 health.d/tcp_resets.conf \
89 health.d/udp_errors.conf \
90 health.d/unbound.conf \
92 - health.d/varnish.conf \
91 health.d/vcsa.conf \
92 health.d/vernemq.conf \
93 health.d/vsphere.conf \
health/health.d/elasticsearch.conf deleted
-15
@@ -1,15 +0,0 @@
1 -
2 -# make sure elasticsearch is running
3 -
4 - template: elasticsearch_last_collected
5 - on: elasticsearch.cluster_health_status
6 - class: Latency
7 - type: Search engine
8 -component: Elasticsearch
9 - calc: $now - $last_collected_t
10 - units: seconds ago
11 - every: 10s
12 - warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
13 - crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
14 - info: number of seconds since the last successful data collection
15 - to: sysadmin
health/health.d/haproxy.conf
-13
@@ -21,16 +21,3 @@ component: HAProxy
21 crit: $this > 0
22 info: average number of failed haproxy backends over the last 10 seconds
23 to: sysadmin
24 -
25 - template: haproxy_last_collected
26 - on: haproxy_hb.down
27 - class: Latency
28 - type: Web Proxy
29 -component: HAProxy
30 - calc: $now - $last_collected_t
31 - units: seconds ago
32 - every: 10s
33 - warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
34 - crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
35 - info: number of seconds since the last successful data collection
36 - to: sysadmin
health/health.d/varnish.conf deleted
-12
@@ -1,12 +0,0 @@
1 - alarm: varnish_last_collected
2 - on: varnish.uptime
3 - class: Latency
4 - type: Web Proxy
5 -component: Varnish
6 - calc: $now - $last_collected_t
7 - units: seconds ago
8 - every: 10s
9 - warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
10 - crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
11 - info: number of seconds since the last successful data collection
12 - to: sysadmin