Skip to content

Commit f9d70d8

Browse files
committed
fix: change time for trigger expression
1 parent 751ed98 commit f9d70d8

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 2 minutes '
80+
'name': 'PostgreSQL no ping from PostgreSQL for 3 minutes '
8181
'{HOSTNAME} ',
82-
'expression': '{#TEMPLATE:' + self.right_type(self.key_ping) + '.nodata(120)}=1'
82+
'expression': '{#TEMPLATE:' + self.right_type(self.key_ping) + '.nodata(180)}=1'
8383
})
8484
return result
8585

0 commit comments

Comments
 (0)