Monit is a free open source utility for managing and monitoring, processes, files, directories and filesystems on a UNIX system. Monit conducts automatic maintenance and repair and can execute meaningful causal actions in error situations. (unofficial mirror)
I am trying to use monit to monitor NFS mount points. If I use the local path for the mount point and the filesystem doesn't mount on boot, monit does not seem to notice that it is not mounted. if I specify the NFS path, the monit log does show an error (see below) but monit does not send an alerts.
It seems to me that I'm missing some "if - alert" but all I've been able to file is space and inode usage
check filesystem "nas" with path "nas:/audio"
[EDT May 9 10:59:14] error : Device nas:/audio not found in /etc/mtab
I am trying to use monit to monitor NFS mount points. If I use the local path for the mount point and the filesystem doesn't mount on boot, monit does not seem to notice that it is not mounted. if I specify the NFS path, the monit log does show an error (see below) but monit does not send an alerts.
It seems to me that I'm missing some "if - alert" but all I've been able to file is space and inode usage
check filesystem "nas" with path "nas:/audio"
[EDT May 9 10:59:14] error : Device nas:/audio not found in /etc/mtab
Thanks in advance