monit
monit copied to clipboard
NFS Filesystem Monitoring - no alert
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