You are here
Config file database label
In the process of setting up the agent I was modifying the FromDualMySQLagent.conf and setting up the databases as in the documentation:
[your_first_db_name] Type = mysqld Modules = process mysql myisam innodb
The database name should of course be consistant with a hostname on the Zabbix server. I have gotten all this to work correctly.
I am wondering however, is there the ability to change the database name in the config file to a label and then as an option point it at a database name? Such as:
[db_label] Database = your_first_db_name Type = mysqld Modules = process mysql myisam innodb
The reason I ask is that we have multiple servers with the same database names as they are exact copies of one another because they are either main, failover or test servers.
It may just be the case that I have yet to find the correct documentation.
Thanks in advance for all time and effort put into this question.