Added connections to various messaging tools: slack, discord, twilio-sms, sendgrid-email

This commit is contained in:
ybouane 2024-10-10 01:26:47 -04:00
parent 41524cf7c7
commit 6f939a0e47
2 changed files with 110 additions and 17 deletions

View file

@ -7,8 +7,24 @@ export default {
readableStatusJson : true, // Format status.json to be human readable
logsMaxDatapoints : 200, // Maximum datapoints history to keep (per endpoint)
telegram : {
botToken : '', // Contact @BotFather on telegram to create a bot
chatId : '',// Send a message to the bot, then visit https://api.telegram.org/bot<token>/getUpdates to get the chatId
},
slack : {
botToken : '',
channelId : '',
},
discord : {
webhookUrl : '',
},
twilio : {
accountSid : '',
accountToken : '',
toNumber : '',
twilioNumber : '',
},
sendgrid : {
apiKey : '',
toEmail : '',
toFromEmail : '',
},
sites : [
{