Univention Bugzilla – Bug 50504
check_univention_replication should go CRITICAL on DC backup if NID is smaller than LID
Last modified: 2022-06-27 17:48:19 CEST
/usr/lib/nagios/plugins/check_univention_replication should return a "CRITICAL" state and an appropriate error message on a DC backup, if the notifier ID (of the DC master) is smaller than the listener ID (of the DC backup). This situation might happen, if snapshots are reverted in the wrong order (or only the DC master is reverted). check_univention_replication should NOT go into "CRITICAL" state on a DC slave/member if the nid is smaller than the lid → if the listener of the dc slave switches e.g. from master to backup, the NID may jump to a smaller value, because the backup is not yet up to date. So this would be no problem.
(In reply to Sönke Schwardt-Krummrich from comment #0) > check_univention_replication should NOT go into "CRITICAL" state on a DC > slave/member if the nid is smaller than the lid → > if the listener of the dc slave switches e.g. from master to backup, the NID > may jump to a smaller value, because the backup is not yet up to date. So > this would be no problem. Addition: If check_univention_replication is checking against the DC master and the master's NID is smaller than the local LID, the check HAS TO complain.