monit-general
[Top][All Lists]
Advanced

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

[monit] Monitor mounts with monit


From: Roman
Subject: [monit] Monitor mounts with monit
Date: Mon, 3 Aug 2009 11:16:26 +0300

Hello,

I asked a little earlier the same question but didn't get any luck
with my monitoring of mounted devices. I have an external hard drive
/dev/sdd1 it is mounted in the directory /home/backup, I want to
monitor in case it is unmounted to automatically mount it back. I
think the starting point is like this:

check device external with path /dev/sdd1
    start = "/bin/mount /dev/sdd1"
    stop = "/bin/umount /dev/sdd1"

what condition to I need to add so it will remount in case the
resource is not available anymore?

Thank you.

-- 
--
regards, mit freundlichen Grüßen, cu stima,
Roman Doroschevici

System Administrator
______________________________

epoint -  the technology partner

Vacarescu 7
300182 Timisoara
Romania

email: address@hidden
skype: roman.doroschevici
mobile: +40 / 745/ 560 332
fax: +40 / 256 / 407 147
www.epoint.ro

"reliable solutions. delivered."

This message and any attached files are confidential and intended
solely for the addressee(s). Any publication, transmission or other
use of the information by a person or entity other than the intended
addressee is prohibited. If you receive this in error please contact
the sender and delete the material. The sender does not accept
liability for any errors or omissions as a result of the transmission.




reply via email to

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