diff options
Diffstat (limited to 'health/health.d/postgres.conf')
-rw-r--r-- | health/health.d/postgres.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/health/health.d/postgres.conf b/health/health.d/postgres.conf index 6c04ef13f4..67b25673bc 100644 --- a/health/health.d/postgres.conf +++ b/health/health.d/postgres.conf @@ -161,7 +161,7 @@ component: PostgreSQL type: Database component: PostgreSQL hosts: * - calc: $bloat + calc: ($table_size > (1024 * 1024 * 100)) ? ($bloat) : (0) units: % every: 1m warn: $this > (($status >= $WARNING) ? (60) : (70)) @@ -204,7 +204,7 @@ component: PostgreSQL type: Database component: PostgreSQL hosts: * - calc: $bloat + calc: ($index_size > (1024 * 1024 * 10)) ? ($bloat) : (0) units: % every: 1m warn: $this > (($status >= $WARNING) ? (60) : (70)) |