From: Costa Tsaousis Date: Sun, 23 Oct 2016 19:21:08 +0000 (+0300) Subject: Merge pull request #1070 from tperalta82/master X-Git-Tag: v1.5.0~223 X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?p=netdata.git;a=commitdiff_plain;h=0b006a56cf575d7fdb05fb2614db8411a1542ca7 Merge pull request #1070 from tperalta82/master Added pushbullet notifications support --- 0b006a56cf575d7fdb05fb2614db8411a1542ca7 diff --cc plugins.d/alarm-notify.sh index acd44923,ac9b2933..a41c55bc --- a/plugins.d/alarm-notify.sh +++ b/plugins.d/alarm-notify.sh @@@ -302,9 -284,10 +326,9 @@@ if [ "${SEND_EMAIL}" = "YES" -a -z "${s fi # check that we have at least a method enabled - if [ "${SEND_EMAIL}" != "YES" -a "${SEND_PUSHOVER}" != "YES" -a "${SEND_TELEGRAM}" != "YES" -a "${SEND_SLACK}" != "YES" ] + if [ "${SEND_EMAIL}" != "YES" -a "${SEND_PUSHOVER}" != "YES" -a "${SEND_TELEGRAM}" != "YES" -a "${SEND_SLACK}" != "YES" -a "${SEND_PUSHBULLET}" != "YES" ] then - echo >&2 "All notification methods are disabled. Not sending a notification." - exit 1 + fatal "All notification methods are disabled. Not sending a notification." fi # -----------------------------------------------------------------------------