Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
monit: e-mail password with special chars won't work [fix]
« previous
next »
Print
Pages: [
1
]
Author
Topic: monit: e-mail password with special chars won't work [fix] (Read 3253 times)
Stephan
Jr. Member
Posts: 60
Karma: 3
monit: e-mail password with special chars won't work [fix]
«
on:
September 13, 2017, 06:26:42 pm »
Hi,
I use a e-mail password with special chars - but monit does not accept / can't handle this.
Therefore the password needs to be in qoutes - I used single quotes and it seems to work. (the monit manual sates somewhere else to use duoble quotes...)
Here's the fix for the template (
/usr/local/opnsense/service/templates/OPNsense/Monit/monitrc
):
Line 19:
Code:
[Select]
{% set password = "password " ~ "'" ~ OPNsense.monit.general.password ~ "'" %}
Cheers,
Stephan
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
17.7 Legacy Series
»
monit: e-mail password with special chars won't work [fix]