1
24.7 Production Series / Re: Notifications upon acme auto-renewal failures
« on: October 31, 2024, 06:17:26 pm »
Ok I was able to create a file content Monit alert which looks for Error in the acme log and sends me an email if renewal failed for any reason. I like this because I find out before customers see it... The only thing I don't like is that I had to manually write a file to the box in the /usr/local/etc/monit.opnsense.d folder with the following content:
SET LIMITS {
FILECONTENTBUFFER: 10 MB
}
I'm concerned this file will get lost on updates etc...
In pfsense I was able to use the filer plugin to write custom files from the UI and the changes were stored in the config XML so they persisted across updates/restores. Does anything like that exist for Opnsense?
Aside from that I can post the full solution if anyone wants to replicate it.
SET LIMITS {
FILECONTENTBUFFER: 10 MB
}
I'm concerned this file will get lost on updates etc...
In pfsense I was able to use the filer plugin to write custom files from the UI and the changes were stored in the config XML so they persisted across updates/restores. Does anything like that exist for Opnsense?
Aside from that I can post the full solution if anyone wants to replicate it.