summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorIlya Mashchenko <ilya@netdata.cloud>2021-07-01 15:26:27 +0300
committerGitHub <noreply@github.com>2021-07-01 15:26:27 +0300
commit799b757b96707500fb7394cc246d4f11a01eb2cf (patch)
tree4f351f1a474bd2e8404bb769ffc534572f72c914
parent365a8fb8bad397856f110595a65373c0b5ec47a1 (diff)
health: remove pythond modules specific last_collected alarms (#11307)
-rw-r--r--health/Makefile.am2
-rw-r--r--health/health.d/elasticsearch.conf15
-rw-r--r--health/health.d/haproxy.conf13
-rw-r--r--health/health.d/varnish.conf12
4 files changed, 0 insertions, 42 deletions
diff --git a/health/Makefile.am b/health/Makefile.am
index f5ec7dcaec..2a180c6ff2 100644
--- a/health/Makefile.am
+++ b/health/Makefile.am
@@ -41,7 +41,6 @@ dist_healthconfig_DATA = \
health.d/dnsmasq_dhcp.conf \
health.d/dns_query.conf \
health.d/dockerd.conf \
- health.d/elasticsearch.conf \
health.d/entropy.conf \
health.d/exporting.conf \
health.d/fping.conf \
@@ -89,7 +88,6 @@ dist_healthconfig_DATA = \
health.d/tcp_resets.conf \
health.d/udp_errors.conf \
health.d/unbound.conf \
- health.d/varnish.conf \
health.d/vcsa.conf \
health.d/vernemq.conf \
health.d/vsphere.conf \
diff --git a/health/health.d/elasticsearch.conf b/health/health.d/elasticsearch.conf
deleted file mode 100644
index dfec133b82..0000000000
--- a/health/health.d/elasticsearch.conf
+++ /dev/null
@@ -1,15 +0,0 @@
-
-# make sure elasticsearch is running
-
- template: elasticsearch_last_collected
- on: elasticsearch.cluster_health_status
- class: Latency
- type: Search engine
-component: Elasticsearch
- calc: $now - $last_collected_t
- units: seconds ago
- every: 10s
- warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
- crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
- info: number of seconds since the last successful data collection
- to: sysadmin
diff --git a/health/health.d/haproxy.conf b/health/health.d/haproxy.conf
index c1375351e5..a0ab52bca8 100644
--- a/health/health.d/haproxy.conf
+++ b/health/health.d/haproxy.conf
@@ -21,16 +21,3 @@ component: HAProxy
crit: $this > 0
info: average number of failed haproxy backends over the last 10 seconds
to: sysadmin
-
- template: haproxy_last_collected
- on: haproxy_hb.down
- class: Latency
- type: Web Proxy
-component: HAProxy
- calc: $now - $last_collected_t
- units: seconds ago
- every: 10s
- warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
- crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
- info: number of seconds since the last successful data collection
- to: sysadmin
diff --git a/health/health.d/varnish.conf b/health/health.d/varnish.conf
deleted file mode 100644
index 4d12a6666b..0000000000
--- a/health/health.d/varnish.conf
+++ /dev/null
@@ -1,12 +0,0 @@
- alarm: varnish_last_collected
- on: varnish.uptime
- class: Latency
- type: Web Proxy
-component: Varnish
- calc: $now - $last_collected_t
- units: seconds ago
- every: 10s
- warn: $this > (($status >= $WARNING) ? ($update_every) : ( 5 * $update_every))
- crit: $this > (($status == $CRITICAL) ? ($update_every) : (60 * $update_every))
- info: number of seconds since the last successful data collection
- to: sysadmin