I have a host with multiple services of the same type (ex: database, apache, etc), that i want to monitor with zabbix_sender without copying the keys, i want something more dynamic.
Imagine you have 2 instances of mysql in the same server, how can you create a template that fits into that reality.
I don't want to create two keys for each metric, for exemple: mysql.ping[instance_1], mysql.ping[instance_2]... if i create mysql instance_3, i must go and configure it on the gui.
Exemple:
Host "XPTO", monitoring Mysql, something like:
XPTO MySQL (4 Items)
MySQL version
MySQL uptime
MySQL number of threads
MySQL is alive
How can i monitor another Mysql instance in the same host?
When i use zabbix_sender with the key "mysql.ping" it updates the two instances.
Can anyone help?!
Best Regards
Imagine you have 2 instances of mysql in the same server, how can you create a template that fits into that reality.
I don't want to create two keys for each metric, for exemple: mysql.ping[instance_1], mysql.ping[instance_2]... if i create mysql instance_3, i must go and configure it on the gui.
Exemple:
Host "XPTO", monitoring Mysql, something like:
XPTO MySQL (4 Items)
MySQL version
MySQL uptime
MySQL number of threads
MySQL is alive
How can i monitor another Mysql instance in the same host?
When i use zabbix_sender with the key "mysql.ping" it updates the two instances.
Can anyone help?!
Best Regards