Last active
February 11, 2023 21:51
-
-
Save wcbutler/1260d074428a4427274fe7c180c70dd4 to your computer and use it in GitHub Desktop.
Add Reporting to Zabbix Appliance
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2/11/2023 - wcbutler - If you want scheduled reports emailed to you from Zabbix 6.2, I found the functionality is not baked into the appliance. You have to install the web service and Chrome. This could easily be changed to accomplish this in a Debian environment but these are the steps that work for their current appliance. | |
Install Zabbix Appliance (I copied over VMDK to my ESXI server, at the time of posting this its 6.2) | |
From the web UI: | |
Set Frontend URL in the UI under Administration--> General--> Other | |
Setup email functionality - Administration--> Media Types (I edited both Email and Email HTML and used a Gmail App password) | |
Make sure the user your using has media assigned to them, go under Administration--> Users and select your user, like Admin, and under the Media tab set up email with a set-up address. | |
Setup a scheduled report under Reports --> Scheduled reports (setup report to a user via email but no need to test yet) | |
Login to the appliance on console to do the following steps: | |
Edit zabbix_server.conf: | |
StartReportWriters=1 | |
WebServiceURL=http://localhost:10053/report | |
sudo yum install zabbix-web-service | |
sudo yum install wget | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm | |
sudo yum install ./google-chrome-stable_current_*.rpm | |
sudo systemctl restart zabbix-server zabbix-agent zabbix-web-service php-fpm nginx | |
You can now go to your setup scheduled report in the UI and hit test. Hopefully you got a confirmation that it is working. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment