diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2020-03-11 17:50:49 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-11 17:50:49 +0300 |
commit | e4d4a12c8b264d9f53dcc3520429db1a48361148 (patch) | |
tree | a0b039bfb7a0792df0285001189bc55befd733bd /health | |
parent | 50bf101ceec3cda37831eea0597197a20cf4d9f5 (diff) |
new version of godplugin and pulsar alarms, dashboard info (#8364)
bump godplugin to v0.17.0 and add pulsar alarms, dashboard_info
Diffstat (limited to 'health')
-rw-r--r-- | health/Makefile.am | 1 | ||||
-rw-r--r-- | health/health.d/pulsar.conf | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/health/Makefile.am b/health/Makefile.am index a767abf1d3..5ed8523fcb 100644 --- a/health/Makefile.am +++ b/health/Makefile.am @@ -75,6 +75,7 @@ dist_healthconfig_DATA = \ health.d/portcheck.conf \ health.d/postgres.conf \ health.d/processes.conf \ + health.d/pulsar.conf \ health.d/qos.conf \ health.d/ram.conf \ health.d/redis.conf \ diff --git a/health/health.d/pulsar.conf b/health/health.d/pulsar.conf new file mode 100644 index 0000000000..014789451a --- /dev/null +++ b/health/health.d/pulsar.conf @@ -0,0 +1,13 @@ + +# Availability + +template: pulsar_last_collected_secs + on: pulsar.broker_components + 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)) + delay: down 5m multiplier 1.5 max 1h + info: number of seconds since the last successful data collection + to: sysadmin |