Sending FortiGate Firewall Alerts to Telegram/Discord

Sending alerts from a FortiGate device is similar to doing it from a vCenter Server Appliance. Once we know the content of an email alert we can start to process it to meet our needs. The following is an example alert from my company’s FortiGate device. An internal VM running Sendmail is used as the …

Loading

Sending VMware vCenter Alerts to Telegram/Discord – Part 3

Now it’s time to talk about sending alerts to Telegram. Indeed the alerts were first sent to Telegram in late 2020 and a new decision was made to switch to Discord instead this May. The script part will be largely the same. The major difference is that Discord and Telegram treat new lines differently, so …

Loading

Sending VMware vCenter Alerts to Telegram/Discord – Part 2

Now it’s the hard part on how to redirect the email alerts to Telegram or Discord. As Discord provides webhooks directly, we can format the the received email stream and then use the curl command to send the alert to Discord. We can get the webhook from Copy Webhook URL. As said in the previous …

Loading

Sending VMware vCenter Alerts to Telegram/Discord – Part 1

vCenter alerts sent to Discord vCenter has built-in alarms for various occasions and you can use emails to send alarms. This part has been quite useful for monitoring purposes. But what if you would like to send the alerts to instant messaging services like Telegram or Discord instead? vCenter does not have built-in support for …

Loading