diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2023-06-07 18:18:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-07 18:18:01 +0300 |
commit | 892255b23728fde076402b7300f13c80de32e5fc (patch) | |
tree | 8d34207a9b2a318c98e8b88f45b7cd7db3c26c62 /health | |
parent | 5de5b6531331e6ca59948f6465e26851843651d0 (diff) |
freeipmi: add availability status chart and alarm (#15151)
Diffstat (limited to 'health')
-rw-r--r-- | health/Makefile.am | 1 | ||||
-rw-r--r-- | health/health.d/plugin.conf | 11 |
2 files changed, 12 insertions, 0 deletions
diff --git a/health/Makefile.am b/health/Makefile.am index ea1b6e961e..0ef55c75e2 100644 --- a/health/Makefile.am +++ b/health/Makefile.am @@ -69,6 +69,7 @@ dist_healthconfig_DATA = \ health.d/nvme.conf \ health.d/nut.conf \ health.d/pihole.conf \ + health.d/plugin.conf \ health.d/ping.conf \ health.d/postgres.conf \ health.d/portcheck.conf \ diff --git a/health/health.d/plugin.conf b/health/health.d/plugin.conf new file mode 100644 index 0000000000..0a891db792 --- /dev/null +++ b/health/health.d/plugin.conf @@ -0,0 +1,11 @@ + template: plugin_availability_status + on: netdata.plugin_availability_status + class: Errors + type: Netdata + calc: $now - $last_collected_t + units: seconds ago + every: 10s + warn: $this > (($status >= $WARNING) ? ($update_every) : (20 * $update_every)) + delay: down 5m multiplier 1.5 max 1h + info: the amount of time that ${label:_collect_plugin} did not report its availability status + to: sysadmin |