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.