We are monitoring a cluster with Zabbix where several hosts transition between master/slave roles.
Masters and slaves have the same items, but need to have different triggers -- for example, a Postgres database slave will be running pg_standby, so the trigger needs to check whether it's...