diff --git a/notification/pushover.sh b/notification/pushover.sh index ef07257..f66cffe 100755 --- a/notification/pushover.sh +++ b/notification/pushover.sh @@ -30,13 +30,22 @@ # Need help using our API or found an error in the documentation? Drop us a line. # #################################################################################################################### +PUSHOVERTOKEN="asphg1hm9qecnzyrc8i7k5oy1efhuk" +PUSHOVERUSER="u44drxvefhqrehxid8f131d9v5nit4" +PUSHOVERTITLE="Icinga Home" +PUSHOVERMESSAGE="Dies ist eine Meldung +$(date)" +PUSHDEVICE="" +PUSHPRIORITY="1" +CURLPROXY="" -curl -s \ - --form-string "token=asphg1hm9qecnzyrc8i7k5oy1efhuk" \ - --form-string "user=u44drxvefhqrehxid8f131d9v5nit4" \ - --form-string "message=this is a - -message with a line break" \ - --form-string "priority=1" \ - --form-string "title=Dies ist ein Test" \ +curl \ + --silent \ + `#--insecure --proxy "$CURLPROXY" ` \ + --form-string "token=$PUSHOVERTOKEN" \ + --form-string "user=$PUSHOVERUSER" \ + --form-string "message=$PUSHOVERMESSAGE" \ + --form-string "title=$PUSHOVERTITLE" \ + --form-string "priority=$PUSHPRIORITY" \ https://api.pushover.net/1/messages.json +