This script checks yout ZFS replication an generates reports in different flavours or can act as checkmk agent plugin.
wget -O /usr/local/bin/checkzfs https://raw.githubusercontent.com/bashclub/check-zfs-replication/main/checkzfs.py
chmod +x /usr/local/bin/checkzfs
checkzfs --help