Skip to content

Commit be0aa67

Browse files
committed
fix: fixed Zabbix trigger syntax
1 parent bf96467 commit be0aa67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mamonsu/plugins/pgsql/xlog.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -201,7 +201,7 @@ def triggers(self, template, dashboard=False):
201201
}) + template.trigger({
202202
'name': 'PostgreSQL number of non-active replication slots '
203203
'on {HOSTNAME} (value={ITEM.LASTVALUE})',
204-
'expression': '{#TEMPLATE:' + self.right_type(self.key_non_active_slots) + '.last()}#' +
204+
'expression': '{#TEMPLATE:' + self.right_type(self.key_non_active_slots) + '.last()}>' +
205205
str(NUMBER_NON_ACTIVE_SLOTS)
206206
})
207207
return triggers

0 commit comments

Comments
 (0)