monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Monit not picking up when usb drive unmounts itself


From: anon
Subject: Monit not picking up when usb drive unmounts itself
Date: Thu, 13 Aug 2015 14:47:16 +1000

Hi Monit mailing list,

I have several external hdd enclosures that sometimes like to unmount themselves for no apparent reason.  I installed Monit to overcome this issue and so it could monitor and remount without me having to do it.  Unfortunately Monit doesn't seem to pick that the drives unmounted.  Here is what I have in the monitrc file.

check filesystem citan-uzuki with path /mnt/citan-uzuki
     start program = "/bin/mount /mnt/citan-uzuki"
     stop program = "/bin/umount /mnt/citan-uzuki"

check filesystem hideo-kojima with path /mnt/hideo-kojima
     start program = "/bin/mount /mnt/hideo-kojima"
     stop program = "/bin/umount /mnt/hideo-kojima"

check filesystem snake-pliskin with path /mnt/snake-pliskin
     start program = "/bin/mount /mnt/snake-pliskin"
     stop program = "/bin/umount /mnt/snake-pliskin"

check filesystem holder with path /mnt/holder
     start program = "/bin/mount /mnt/holder"
     stop program = "/bin/umount /mnt/holder"

check filesystem lucas-hood with path /mnt/lucas-hood
     start program = "/bin/mount /mnt/lucas-hood"
     stop program = "/bin/umount /mnt/lucas-hood"

check filesystem mr-robot with path /mnt/mr-robot
     start program = "/bin/mount /mnt/mr-robot"
     stop program = "/bin/umount /mnt/mr-robot

Any ideas?

Regards,
Dean

reply via email to

[Prev in Thread] Current Thread [Next in Thread]