[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [monit] Monitor mounts with monit
From: |
Eric Pailleau |
Subject: |
Re: [monit] Monitor mounts with monit |
Date: |
Tue, 04 Aug 2009 12:21:25 +0200 |
User-agent: |
Thunderbird 2.0.0.22 (X11/20090625) |
Roman a écrit :
Hi Eric,
This is not that I really need, I need my mount to stay mounted all
the time, and if it accidentally unmounts or becomes unavailable I
need it remounted back.
Read my lips : "the master map allowing them to be automatically mounted when
accessed"
automount will mount it when a process whant to access the mount point, so when
it accidentally
(or due to inactivity) unmount, any access (including monit) will mount the
mount point.
If a real failure occurs, you should better test presence of a generic file on
the mountpoint with monit.
check file mount.ref with path /mnt/mymount/.mount.ref
start = " ... "
Extracted from monit doc :
_______________________________________________________________________________________
# CHECK FILE <unique name> PATH <path>
<path> is the absolute path to the file. If the file does not exist or disappeared, Monit will call the entry's start method if defined, if <path>
does not point to a regular file type (for instance a directory), Monit will disable monitoring of this entry. If Monit runs in passive mode or the
start methods is not defined, Monit will just send alerts on errors.
________________________________________________________________________________________
- [monit] Monitor mounts with monit, Roman, 2009/08/03
- Re: [monit] Monitor mounts with monit, Alex Soto, 2009/08/03
- Re: [monit] Monitor mounts with monit, Roman, 2009/08/04
- Re: [monit] Monitor mounts with monit, Eric Pailleau, 2009/08/04
- Re: [monit] Monitor mounts with monit, Roman, 2009/08/04
- Re: [monit] Monitor mounts with monit,
Eric Pailleau <=
- Re: [monit] Monitor mounts with monit, Roman, 2009/08/04
- Re: [monit] Monitor mounts with monit, Eric Pailleau, 2009/08/04
- Re: [monit] Monitor mounts with monit, Roman, 2009/08/04
- Re: [monit] Monitor mounts with monit, Aleksander Kamenik, 2009/08/04