fix: change type for non_active_slots count
@@ -140,7 +140,7 @@ class Xlog(Plugin):
'name': 'PostgreSQL number of non-active replication slots '
'on {HOSTNAME} (value={ITEM.LASTVALUE})',
'expression': '{#TEMPLATE:' + self.right_type(self.key_replication, "sec") + '.last()}&ne;' +
- NUMBER_NON_ACTIVE_SLOTS
+ str(NUMBER_NON_ACTIVE_SLOTS)
})
return triggers
