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 c8b18bb commit 92f410aCopy full SHA for 92f410a
mamonsu/plugins/pgsql/instance.py
@@ -124,11 +124,10 @@ def graphs(self, template):
124
125
def keys_and_queries(self, template_zabbix):
126
result = []
127
- all_items = []
128
- if LooseVersion(self.VersionPG) > LooseVersion('11'):
129
- all_items = self.Items + self.Items_pg_12
130
- else:
+ if LooseVersion(self.VersionPG) < LooseVersion('12'):
131
all_items = self.Items
+ else:
+ all_items = self.Items + self.Items_pg_12
132
for item in all_items:
133
# split each item to get values for keys of both agent type and mamonsu type
134
keys = item[1].split('[')
0 commit comments