Last active
October 29, 2017 04:52
-
-
Save vanch/7a79ce24b03761e7c549 to your computer and use it in GitHub Desktop.
Revisions
-
vanch revised this gist
Mar 28, 2016 . 1 changed file with 5 additions and 3 deletions.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -5,10 +5,12 @@ subject=$2 body=$3 /usr/bin/telegram-cli --bot \ --profile bot \ --disable-names \ --disable-output \ --disable-readline \ --rsa-key /var/lib/zabbix/.telegram-cli/server.pub \ --username zabbix \ --exec "msg $to $subject" | grep FAIL && exit 1 exit 0 -
vanch revised this gist
Sep 4, 2015 . No changes.There are no files selected for viewing
-
vanch revised this gist
Sep 4, 2015 . 1 changed file with 1 addition and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -7,7 +7,7 @@ body=$3 /usr/bin/telegram-cli --bot \ --disable-readline \ --disable-names \ --rsa-key /var/lib/zabbix/.telegram-cli/server.pub \ --username zabbix \ --exec "msg $to $subject" || exit 1 -
vanch created this gist
Sep 4, 2015 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,14 @@ #!/bin/bash to=$1 subject=$2 body=$3 /usr/bin/telegram-cli --bot \ --disable-readline \ --disable-names \ -k /var/lib/zabbix/.telegram-cli/server.pub \ --username zabbix \ --exec "msg $to $subject" || exit 1 exit 0