add recipient email to log
Costa Tsaousis (ktsaou) committed
Sep 9, 2016 at 02:26 UTC
5e15dfe4b24bd037cb18fcc8478290e93d7b7be7
1 file changed
+2
-2
plugins.d/alarm-notify.sh
+2
-2
@@ -180,10 +180,10 @@ send_email() {
180
181
if [ $? -eq 0 ]
182
then
183
- echo >&2 "${me}: Sent notification email for ${status} on '${chart}.${name}'"
183
+ echo >&2 "${me}: Sent notification email for ${status} on '${chart}.${name}' to '${to_email}'"
184
return 0
185
else
186
- echo >&2 "${me}: FAILED to send notification email for ${status} on '${chart}.${name}'"
186
+ echo >&2 "${me}: FAILED to send notification email for ${status} on '${chart}.${name}' to '${to_email}'"
187
return 1
188
fi
189
fi