Hello everybody,
I'm writing my thesis about Zabbix and how to monitor everything.
I've set up a virtual environment with VirtualBox which containt a client PC, Zabbix server, DNS server, ADDC server and two webservers.
Now one of the key features of Zabbix is to get notifications when you're not able to monitor the environment yourself.
And since I don't have a dedicated mailserver I had to make use of a script to send my self some notification mails.
I followed these steps:
And got everything working fine. The only issue I have is that the {ALERT.MESSAGE} doesn't get in the body of the mail, but is added as an attachment with no extension called 'NONAME'.
When I open this file in notepad everything is there:
Problem started at 13:13:57 on 2020.04.28
Problem name: HTTP service is down on debian94-jp-www50
Host: debian94-jp-www50
Severity: Average
Original problem ID: 4837
I thought something was wrong with my script. And used the default script on the Zabbix Documentation:
I still have the same issue. The message gets added as an attachment with 'NONAME'.
Does anybody has a clue?
Kind regards,
Jens
I'm writing my thesis about Zabbix and how to monitor everything.
I've set up a virtual environment with VirtualBox which containt a client PC, Zabbix server, DNS server, ADDC server and two webservers.
Now one of the key features of Zabbix is to get notifications when you're not able to monitor the environment yourself.
And since I don't have a dedicated mailserver I had to make use of a script to send my self some notification mails.
I followed these steps:
And got everything working fine. The only issue I have is that the {ALERT.MESSAGE} doesn't get in the body of the mail, but is added as an attachment with no extension called 'NONAME'.
When I open this file in notepad everything is there:
Problem started at 13:13:57 on 2020.04.28
Problem name: HTTP service is down on debian94-jp-www50
Host: debian94-jp-www50
Severity: Average
Original problem ID: 4837
I thought something was wrong with my script. And used the default script on the Zabbix Documentation:
I still have the same issue. The message gets added as an attachment with 'NONAME'.
Does anybody has a clue?
Kind regards,
Jens
Comment