We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a811d7f commit f715077Copy full SHA for f715077
mamonsu/plugins/pgsql/health.py
@@ -76,6 +76,10 @@ def triggers(self, template):
76
'{HOSTNAME} ({ITEM.LASTVALUE})',
77
'expression': '{#TEMPLATE:' + self.right_type(self.key_cache, "hit") + '.last()}<' +
78
str(self.plugin_config('cache'))
79
+ }) + template.trigger({
80
+ 'name': 'PostgreSQL no ping from PostgreSQL for 1 minute '
81
+ '{HOSTNAME} ',
82
+ 'expression': '{#TEMPLATE:' + self.right_type(self.key_ping) + '.nodata(90)}=1'
83
})
84
return result
85
0 commit comments