We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a86453 commit f874640Copy full SHA for f874640
mamonsu/plugins/pgsql/xlog.py
@@ -83,7 +83,7 @@ def run(self, zbx):
83
result = Pooler.run_sql_type('count_xlog_files')
84
zbx.send(self.key_count_wall.format("[]"), int(result[0][0]))
85
86
- non_active_slots = Pooler.run_sql_type("""SELECT count(*) FROM pg_replication_slots WHERE active = 'false';""")
+ non_active_slots = Pooler.query("""SELECT count(*) FROM pg_replication_slots WHERE active = 'false';""")
87
zbx.send(self.key_non_active_slots.format("[]"), int(non_active_slots[0][0]))
88
89
def items(self, template):
0 commit comments