monit-general
[Top][All Lists]
Advanced

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

[monit] Can I use monit to monitor file/directory removal?


From: Nguyen Manh Cuong
Subject: [monit] Can I use monit to monitor file/directory removal?
Date: Thu, 8 Nov 2007 15:56:13 +0700

Hello list members,

I am falling into a big problem which is the FTP service in my server
randomly stops working due to the /var/run/proftpd directory becomes
deleted somehow. The workaround is to run this command via SSH:

sudo mkdir /var/run/proftpd

After recreating the directory, FTP will start working again.

So I need an utility to monitor the removal of that directory and if
the directory does not exist at al the utility will automatically
recreate it. Can monit do so? If it does, please tell me how to do as
I have read the monit manual thoroughly but not found a solution.

Thank you for your support.

--
Best regards,
Nguyen Manh Cuong




reply via email to

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