HI,
I'm new with the zabbix configuration and I need to know how can I set variable or other configuration that I abble to configure MySQL template with variables. For exemple:
Today I'm using mySQL template agent 2, I set 3 macros:
2 into template: MySQL.User and MySQL.Passoword
1 into HOST: MySQL.DNS
The Macro's template OK I'm using for all host link into template and I wanna to do the same for MySQL.DSN, for now I'm creating a new Macro linked into host as 'tcp://IP:3306' because my MySQL doesn't accept 'Sockect' configuration and MySQL connection only using IP host doesn't allow use localhost or other.
Anybody know how can I do it? I'm already tried to use 'tcp://$HOST.IP:3306' but doesn't work.
Zabbix Server: 5
Zabbix Agent: 2
CentOS 6.10
MySQL version: 5.5
Thanks
I'm new with the zabbix configuration and I need to know how can I set variable or other configuration that I abble to configure MySQL template with variables. For exemple:
Today I'm using mySQL template agent 2, I set 3 macros:
2 into template: MySQL.User and MySQL.Passoword
1 into HOST: MySQL.DNS
The Macro's template OK I'm using for all host link into template and I wanna to do the same for MySQL.DSN, for now I'm creating a new Macro linked into host as 'tcp://IP:3306' because my MySQL doesn't accept 'Sockect' configuration and MySQL connection only using IP host doesn't allow use localhost or other.
Anybody know how can I do it? I'm already tried to use 'tcp://$HOST.IP:3306' but doesn't work.
Zabbix Server: 5
Zabbix Agent: 2
CentOS 6.10
MySQL version: 5.5
Thanks