Give the database name, its user and password, that we had created above in zabbix database proxy settings. Mention the hostname here that you like to configure it here. ![]() Put the IP of your Zabbix Server here, if its running on another machine. We are going to configure zabbix proxy configurations now, to do so let's open up the zabbix proxy conf file placed in "/etc/zabbix/" directory with your file editor. mysql]# lsĭata.sql images.sql mysql]# mysql -u zabbix -p zabbix < schema.sqlĮnter password: Zabbix Proxy Configuration The above command states that we are currently in mysql directory of zabbix source, here we run the command to import its schema into the newly created database for zabbix proxy. Run the below commands to load zabbix schema from the zabbix database source for its latest version. ![]() mysql> grant all privileges on zabbix.* to identified by 'zbx123' Įxit from the mysql database server and from the shell we nee to import zabbix schema into newly created database for zabbix proxy. In order to grant user level privileges on databases to zabbix user run the following command. ![]() ![]() mysql> create database zabbix character set utf8 Once your mysql server is up and you are loged into it, create a new database for zabbix proxy. Proceeding to the database settings first check that your mysql server is up and you can login with your root password. As we had done with installation of all prerequisite packages necessary for zabbix proxy, now we will setup its database using mysql.
0 Comments
Leave a Reply. |