]> git.immae.eu Git - perso/Immae/Config/Nix.git/blobdiff - modules/private/monitoring/plugins/notify_by_email
Add monitoring host
[perso/Immae/Config/Nix.git] / modules / private / monitoring / plugins / notify_by_email
index ad0dcc7e5954a1b99a3ad9bfe8bcb5c1f5bde476..959db267b5d2412369a5af634a9723991e87e1f1 100755 (executable)
@@ -26,6 +26,4 @@ else
   subject="** $NOTIFICATION_TYPE Service Alert: $HOST_ALIAS/$SERVICEDESC is $SERVICESTATE **"
 fi
 
-# sendwait waits for sendmail to finish its job, otherwise it continues in the
-# background and gets killed too early
-echo "$message" | MAILRC=/dev/null mail -r "naemon@immae.eu" -n -Ssendwait -s "$subject" "$CONTACT"
+echo "$message" | MAILRC=/dev/null mail -r "$ADMINEMAIL" -n -s "$subject" "$CONTACT"