How to Attach Files to Zabbix Alert Emails
A few days ago, I set up Zabbix to monitor server information. However, when configuring email alerts, the alert subject was always displayed correctly, but the alert content kept being sent as an attachment, as shown below:
After searching online for quite a long time, I finally found the solution. Here it is for your reference: #!/bin/bash
to=$1
subject= …