Comments on Install Zabbix Monitoring Server and Agent on Debian 9

Monitoring tools are used to continuously keep track of the status of the system and send out alerts and notifications if anything goes wrong. Zabbix is a free, open source and the ultimate enterprise-level monitoring tool designed for real-time monitoring of millions of metrics collected from tens of thousands of servers, virtual machines and network devices.

9 Comment(s)

Add comment

Please register in our forum first to comment.

Comments

By: Duncan Baynes

Under the 'Configuring Zabbix Database' section the user created was 'zabbix', I think this:

"GRANT ALL PRIVILEGES on zabbixdb.* to zabbixuser@localhost identified by 'password';"

Should be:

"GRANT ALL PRIVILEGES on zabbixdb.* to zabbix@localhost identified by 'password';"

By: till

Thank you for the notice. I've fixed that. I changed the create user statement to zabbixuser instead as the author is using zabbixuser in all other locations incl. screenshots.

By: Duncan Baynes

Sounds good. Might be worth mentioning that when editing the '/etc/zabbix/apache.conf' file, the PHP changes need to be made to the PHP 7 section ( the default on Debian 9 ) as there is also PHP 5 section with the same parameters in the file.

PS: Great tutorial - everything is working well for me.

By: Taleman

Why is it necessary to add Mariadb repository? Zabbix manual says requirement is "MySQL 5.0.3 or later". Debian Stretch has MariaDB 10.1.26, which is later althoug the version numbers between MySQL and MariaDB do not match.

Looks like the Zabbix repo used has Zabbix 3.0, and Debian Stretch already has Zabbix-server-mysql 3.0.7. Why is it better to install Zabbix from outside of Debian?

I have not installed Zabbix yet, just found out about it and discovered this fine tutorial.  

By: Arconda

Hey, I get the following error "Cannot connect to the Database / The frontend does not match Zabbix database. The Error I get at the Step "Accessing Zabbix Web Installation Wizard" When I try to log in. 

Can you help me?

regards from Germany 

By: Kamil

For newer instalations of MariaDB to access mysql you should run mysql -u root -p as sudo, otherwise you'll get "Access denied for user root@localhost"

By: Gabriel

Number of hosts (enabled/disabled/templates) 39 0 / 1 / 38

Who is the disabled host?

 

By: Amavis Milter

missing command : apt install dirmngr

By: Amavis Milter

Missing commands :

sudo systemctl start zabbix-server
sudo systemctl enable zabbix-server