monit-general
[Top][All Lists]
Advanced

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

Re: monit-general Digest, Vol 151, Issue 2


From: K. Adam Wolfe
Subject: Re: monit-general Digest, Vol 151, Issue 2
Date: Thu, 13 Aug 2015 11:04:38 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.8.0

You would want to use 'directory' instead of 'filesystem'

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

On 08/13/2015 11:00 AM, address@hidden wrote:
Send monit-general mailing list submissions to
	address@hidden

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.nongnu.org/mailman/listinfo/monit-general
or, via email, send a message with subject or body 'help' to
	address@hidden

You can reach the person managing the list at
	address@hidden

When replying, please edit your Subject line so it is more specific
than "Re: Contents of monit-general digest..."


Today's Topics:

   1. Monit not picking up when usb drive unmounts itself (anon)


----------------------------------------------------------------------

Message: 1
Date: Thu, 13 Aug 2015 14:47:16 +1000
From: anon <address@hidden>
To: address@hidden
Subject: Monit not picking up when usb drive unmounts itself
Message-ID: <address@hidden>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nongnu.org/archive/html/monit-general/attachments/20150813/e815d793/attachment.html>

------------------------------

_______________________________________________
monit-general mailing list
address@hidden
https://lists.nongnu.org/mailman/listinfo/monit-general


End of monit-general Digest, Vol 151, Issue 2
*********************************************


reply via email to

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