Skip to content

Commit 751ed98

Browse files
committed
fix: change trigger expression
1 parent 1d67717 commit 751ed98

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mamonsu/plugins/pgsql/health.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ def triggers(self, template):
7777
'expression': '{#TEMPLATE:' + self.right_type(self.key_cache, "hit") + '.last()}<' +
7878
str(self.plugin_config('cache'))
7979
}) + template.trigger({
80-
'name': 'PostgreSQL no ping from PostgreSQL for 90 seconds '
80+
'name': 'PostgreSQL no ping from PostgreSQL for 2 minutes '
8181
'{HOSTNAME} ',
82-
'expression': '{#TEMPLATE:' + self.right_type(self.key_ping) + '.nodata(90)}=1'
82+
'expression': '{#TEMPLATE:' + self.right_type(self.key_ping) + '.nodata(120)}=1'
8383
})
8484
return result
8585

0 commit comments

Comments
 (0)