Changes

From Amahi Wiki
Jump to: navigation, search
44 bytes removed ,  18:28, 20 November 2013
no edit summary
'''NOTE:''' Replace "MYUSER" and "MYPASSWORD" with your Gmail user name and password.
Enable email notifications by editing /etc/monit/monitrc and uncomment (remove #) the following lines (Change as needed to match your system):
{{Text|Text=<nowiki>#</nowiki>set mailserver localhost
<nowiki>#</nowiki>set mail-format { from: monit@localhost }
== Change Message Format ==
Edit /etc/monit/monitrc and comment out (add #) the following line:
{{Text|Text=#set mail-format <nowiki>{</nowiki> from: monit@localhost <nowiki>}</nowiki>}}
Add this text below it (modify as needed):
== Change Access Credentials ==
Edit /etc/monit/monitrc and change as desired:
{{Text|Text=allow admin:admin}}
Restart Monit:
== Add Secure access (https) ==
Edit /etc/monit/monitrc and add below <u>set httpd port 2812 and</u> (line 116):
{{text|SSL ENABLE
PEMFILE /var/certs/monit.pem}}
12,424

edits