Created
December 15, 2014 07:22
-
-
Save lostsnow/99e59e9a6e128dc5f968 to your computer and use it in GitHub Desktop.
zabbix mail alert script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
[email protected] | |
tr -d '\b\r' <<EOF | /bin/mail -s "$2" -r "$from" "$1" | |
$3 | |
EOF |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment