/etc/xymon/misc.d/mount-ro is in hobbit-plugins 20170628.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 | #!/bin/sh
if egrep ' ro[, ]' /proc/mounts | egrep -v ' (iso9660|nfs4?|udf|cifs|smbfs|tmpfs) ' ; then
exit 2
else
echo "No filesystems mounted read-only"
fi
|