|
@@ -106,16 +106,9 @@ set mailserver localhost
|
106
|
106
|
|
107
|
107
|
set mail-format {
|
108
|
108
|
from: monit@{{ domain }}
|
109
|
|
- subject: monit alert -- $EVENT $SERVICE
|
110
|
|
- message: $EVENT Service $SERVICE
|
111
|
|
-
|
112
|
|
- Date: $DATE
|
113
|
|
- Action: $ACTION
|
114
|
|
- Host: $HOST
|
115
|
|
- Description: $DESCRIPTION
|
116
|
|
-
|
117
|
|
-Your faithful employee,
|
118
|
|
-Monit from Sovereign
|
|
109
|
+ subject: monit alert $HOST
|
|
110
|
+ message: $EVENT $SERVICE
|
|
111
|
+$DESCRIPTION
|
119
|
112
|
}
|
120
|
113
|
|
121
|
114
|
#
|
|
@@ -128,7 +121,9 @@ Monit from Sovereign
|
128
|
121
|
# # timeout alert
|
129
|
122
|
#
|
130
|
123
|
|
131
|
|
-set alert {{ admin_email }}
|
|
124
|
+{% for mail in monit_alert_emails %}
|
|
125
|
+set alert {{ mail }}
|
|
126
|
+{% endfor %}
|
132
|
127
|
|
133
|
128
|
#
|
134
|
129
|
## Monit has an embedded web server which can be used to view status of
|