monit-general
[Top][All Lists]
Advanced

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

Re: file monitor fails on files in MFS filesystem


From: Martin Pala
Subject: Re: file monitor fails on files in MFS filesystem
Date: Sun, 18 Mar 2007 22:13:00 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.0.10) Gecko/20070217 Iceape/1.0.8 (Debian-1.0.8-3)

can you send the output of "ls -l /var/lib/clamav/mirrors.dat"?

the 'check file' requires that the target is regular file (no symlink or any other type)

Thanks,
Martin

Jeff Richards wrote:
I have clamav updating into a MFS(OpenBSD, MFS=memory filesystem) and periodically sync it to a directory on the drive. I wanted to monitor the file '/var/lib/clamav/mirrors.dat' so if it was updated I use that as my trigger to execute my sync script.

monit reports this error: 'mirrors.dat' is not regular file

I guess it has something to do with the file being in MFS?

I got around my problem because I noticed that freshclam has a --on-update-execute switch which does what I need.

------------------------------------------------------------------------
Now that's room service! Choose from over 150,000 hotels
in 45,000 destinations on Yahoo! Travel <http://travel.yahoo.com/hotelsearchpage;_ylc=X3oDMTFtaTIzNXVjBF9TAzk3NDA3NTg5BF9zAzI3MTk0ODEEcG9zAzIEc2VjA21haWx0YWdsaW5lBHNsawNxMS0wNw-- > to find your fit.


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

--
To unsubscribe:
http://lists.nongnu.org/mailman/listinfo/monit-general




reply via email to

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