fix pushbullet tempfile + add telegram notification

This commit is contained in:
belgotux
2022-12-24 16:59:57 +01:00
parent 57623baab2
commit f39fb6f8c1
3 changed files with 74 additions and 23 deletions
+11 -4
View File
@@ -22,7 +22,14 @@ toSms=+32xxxxxxxx #the mobile number to send to
textSms="$bodyDefault" #body message to send by SMS
#--- Data for pushBullet ---#
providerApi='https://api.pushbullet.com/v2/pushes'
accessToken='o.xxxxxxxxxxxxxxxxxxxxxxxxxxxx'
subjectPushBullet="$HOSTNAME UPS event $argument" #subject sent by pushBullet
textPushBullet="$bodyDefault" #body message sent by pushBullet
pushbulletProviderApi='https://api.pushbullet.com/v2/pushes'
pushbulletAccessToken='o.xxxxxxxxxxxxxxxxxxxxxxxxxxxx'
pushbulletSubject="UPS event $argument" #subject sent by pushBullet
pushbulletMessage="$bodyDefault" #body message sent by pushBullet
#--- Data for telegram ---#
telegramProviderApi='https://api.telegram.org'
telegramAccessToken=''
telegramChatID=''
telegramSubject="UPS event $argument" #subject sent by telegram
telegramMessage="$bodyDefault" #body message sent by telegram