From c24edc45e33edae4c9060c4887b6fa0bee9b24d9 Mon Sep 17 00:00:00 2001 From: Bob Ippolito Date: Fri, 1 May 2015 18:17:42 -0700 Subject: [PATCH] ignore rdsadmin database in postgres check to avoid permission error --- checks.d/postgres.py | 1 + 1 file changed, 1 insertion(+) diff --git a/checks.d/postgres.py b/checks.d/postgres.py index c26debfce3..603c46492a 100644 --- a/checks.d/postgres.py +++ b/checks.d/postgres.py @@ -36,6 +36,7 @@ class PostgreSql(AgentCheck): FROM pg_stat_database WHERE datname not ilike 'template%%' AND datname not ilike 'postgres' + AND datname not ilike 'rdsadmin' """, 'relation': False, }