I suspect this issue is due to my lack of knowledge. Hopefully someone here can set me straight.
I'd like to use cronolog to rotate monit's log files monthly. I figured this configuration would work:
set logfile "|/usr/sbin/cronolog /var/log/monit/%m-monit.log"
But that gives me a syntax error. I've tried some variations on that, but no luck. Is there a way to do this with Monit?