diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2023-04-18 18:43:57 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-18 18:43:57 +0300 |
commit | 70cc696312269d9a0cd80286b87592e771445a7d (patch) | |
tree | f51ded1e24aecdf0d26156deab40b3db047e31d3 /health | |
parent | 2e168e9a74eceeb058ce77d9512cee37579a7c3f (diff) |
bump go.d.plugin to v0.52.1 (#14921)
Diffstat (limited to 'health')
-rw-r--r-- | health/Makefile.am | 2 | ||||
-rw-r--r-- | health/health.d/docker.conf | 11 | ||||
-rw-r--r-- | health/health.d/dockerd.conf | 11 |
3 files changed, 12 insertions, 12 deletions
diff --git a/health/Makefile.am b/health/Makefile.am index 775b051dca..ea1b6e961e 100644 --- a/health/Makefile.am +++ b/health/Makefile.am @@ -40,7 +40,7 @@ dist_healthconfig_DATA = \ health.d/disks.conf \ health.d/dnsmasq_dhcp.conf \ health.d/dns_query.conf \ - health.d/dockerd.conf \ + health.d/docker.conf \ health.d/elasticsearch.conf \ health.d/entropy.conf \ health.d/exporting.conf \ diff --git a/health/health.d/docker.conf b/health/health.d/docker.conf new file mode 100644 index 0000000000..f17028472e --- /dev/null +++ b/health/health.d/docker.conf @@ -0,0 +1,11 @@ + template: docker_container_unhealthy + on: docker.container_health_status + class: Errors + type: Containers +component: Docker + units: status + every: 10s + lookup: average -10s of unhealthy + crit: $this > 0 + info: ${label:container_name} docker container health status is unhealthy + to: sysadmin diff --git a/health/health.d/dockerd.conf b/health/health.d/dockerd.conf deleted file mode 100644 index 220ddd664b..0000000000 --- a/health/health.d/dockerd.conf +++ /dev/null @@ -1,11 +0,0 @@ - template: docker_unhealthy_containers - on: docker.unhealthy_containers - class: Errors - type: Containers -component: Docker - units: unhealthy containers - every: 10s - lookup: average -10s - crit: $this > 0 - info: average number of unhealthy docker containers over the last 10 seconds - to: sysadmin |