Pushover: Alle Werte werden mit Variablen übergeben
This commit is contained in:
parent
cd435f9afe
commit
2dbd63c357
@ -30,13 +30,22 @@
|
|||||||
# Need help using our API or found an error in the documentation? Drop us a line.
|
# 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 \
|
curl \
|
||||||
--form-string "token=asphg1hm9qecnzyrc8i7k5oy1efhuk" \
|
--silent \
|
||||||
--form-string "user=u44drxvefhqrehxid8f131d9v5nit4" \
|
`#--insecure --proxy "$CURLPROXY" ` \
|
||||||
--form-string "message=this is a
|
--form-string "token=$PUSHOVERTOKEN" \
|
||||||
|
--form-string "user=$PUSHOVERUSER" \
|
||||||
message with a line break" \
|
--form-string "message=$PUSHOVERMESSAGE" \
|
||||||
--form-string "priority=1" \
|
--form-string "title=$PUSHOVERTITLE" \
|
||||||
--form-string "title=Dies ist ein Test" \
|
--form-string "priority=$PUSHPRIORITY" \
|
||||||
https://api.pushover.net/1/messages.json
|
https://api.pushover.net/1/messages.json
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user