Production tools and monitoring plugins by RDEM Systems.
Bash-based, zero external dependencies, compatible with Nagios/NRPE/MRPE and CheckMK local check.
Target: Debian 12/13 and derivatives.
| Tool | Description |
|---|---|
| check_cluster_time_sync | Verify time synchronization across a Corosync cluster (Proxmox VE, generic HA, etc.) — inter-node drift, NTP source consistency, chrony health |
| Tool | Description |
|---|---|
| check_ntp_sync | Verify local NTP synchronization — supports chrony, ntpd, systemd-timesyncd, ntpdate |
# Cluster time sync (run on any Corosync node, e.g. Proxmox)
./corosync/check_cluster_time_sync/check_cluster_time_sync -w 1 -c 2
# Local NTP sync (run on any server)
./monitoring/check_ntp_sync/check_ntp_sync -w 50 -c 200# CheckMK (900s cache)
sudo mkdir -p /usr/lib/check_mk_agent/local/900 && sudo curl -fsSL https://raw.githubusercontent.com/rdemsystems/prod-tools/main/monitoring/check_ntp_sync/check_ntp_sync -o /usr/lib/check_mk_agent/local/900/check_ntp_sync && sudo chmod +x /usr/lib/check_mk_agent/local/900/check_ntp_sync
# Nagios / NRPE
sudo curl -fsSL https://raw.githubusercontent.com/rdemsystems/prod-tools/main/monitoring/check_ntp_sync/check_ntp_sync -o /usr/lib/nagios/plugins/check_ntp_sync && sudo chmod +x /usr/lib/nagios/plugins/check_ntp_sync# CheckMK (900s cache)
sudo mkdir -p /usr/lib/check_mk_agent/local/900 && sudo curl -fsSL https://raw.githubusercontent.com/rdemsystems/prod-tools/main/corosync/check_cluster_time_sync/check_cluster_time_sync -o /usr/lib/check_mk_agent/local/900/check_cluster_time_sync && sudo chmod +x /usr/lib/check_mk_agent/local/900/check_cluster_time_sync
# Nagios / NRPE
sudo curl -fsSL https://raw.githubusercontent.com/rdemsystems/prod-tools/main/corosync/check_cluster_time_sync/check_cluster_time_sync -o /usr/lib/nagios/plugins/check_cluster_time_sync && sudo chmod +x /usr/lib/nagios/plugins/check_cluster_time_syncgit clone https://github.com/rdemsystems/prod-tools.git
sudo prod-tools/monitoring/check_ntp_sync/install.sh
sudo prod-tools/corosync/check_cluster_time_sync/install.shEach install script auto-detects CheckMK or Nagios and copies to the right location (CheckMK: /usr/lib/check_mk_agent/local/900/, Nagios: /usr/lib/nagios/plugins/).
Both scripts auto-detect CheckMK context and adjust their output format accordingly. Use --checkmk or --nagios to override.
MIT — see LICENSE.