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


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

Reply via email to