diff options
author | Ilya Mashchenko <ilya@netdata.cloud> | 2022-07-04 14:25:28 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-04 14:25:28 +0300 |
commit | 05748b54b600abe7eed5c97b702a948538b4d155 (patch) | |
tree | bb33731e313351bf0ecb63e31798a89267ccd756 /health | |
parent | f429d1b0e45f6df326643c0a4f4f1df2d5061ab0 (diff) |
fix(health): fix incorrect Redis dimension names (#13296)
Diffstat (limited to 'health')
-rw-r--r-- | health/health.d/redis.conf | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/health/health.d/redis.conf b/health/health.d/redis.conf index dfb771e8ca..cad5230c51 100644 --- a/health/health.d/redis.conf +++ b/health/health.d/redis.conf @@ -6,7 +6,7 @@ type: KV Storage component: Redis every: 10s - crit: $rdb_last_bgsave_status != 0 + crit: $last_bgsave != nan AND $last_bgsave != 0 units: ok/failed info: status of the last RDB save operation (0: ok, 1: error) delay: down 5m multiplier 1.5 max 1h @@ -19,8 +19,9 @@ component: Redis type: KV Storage component: Redis every: 10s - warn: $rdb_bgsave_in_progress > 600 - crit: $rdb_bgsave_in_progress > 1200 + calc: $current_bgsave_time + warn: $this > 600 + crit: $this > 1200 units: seconds info: duration of the on-going RDB save operation delay: down 5m multiplier 1.5 max 1h |