arnaudsj / monit

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)
http://mmonit.com/monit/
Other
515 stars 63 forks source link

NFS Filesystem Monitoring - no alert #12

Open andocromn opened 6 years ago

andocromn commented 6 years ago

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