Hello folks,
I just started my experience with OPNsense 17.1.7
Now I would like to receive emails from the firewall when someone connect it using openvpn, or when the firewall is shutted down and so on.
The smtp configuration works good, I receive the test email, but I don't find a list of messages ready to send by email.
Can someone help me?
Best regards
Dario
Hi Dario,
you could try the os-monit plugin. It monitors your system and sends messages on various events.
Unfortunately due to a bug in monit 5.22 it cannot check filesystems.
But you can revert to monit version 5.20 with
opnsense-revert -r 17.1.5 monit
Cheers,
Frank
Thank you Fausen
I will
Hi Frank,
I followed your suggestion:
- installed monit 5.22
- reverted it to version 5.20
Now I get the following
/usr/local/etc/monitrc:10: syntax error 'password_ of_ email_ account'
when start monit in: Services / Monit / Settings
Really strange error because email notify works fine so I can assume that the "password_ of_ email_ account" is correct.
Thank you for your help
Dario
Hi Dario,
no idea what 'password_ of_ email_ account' is.
Is this possibly the password of your email account?
If the password contains spaces it must be enclosed in single quotation marks.
But this only a guess because the monit(1) manual doesn't tell us much about special characters in passwords.
Better omit spaces.
Regards,
Frank