Hi,
For instance, I have several MySQL instances running on the same host. And I have a template for monitoring MySQL server.
There're two options I can think of:
1. Use discovery rule in template, and write a custom script to provide the JSON.
2. Build different hosts from the same template, and use host macros to customize the port.
Which one is preferable?
A bigger question, should there be only one zabbix host per real server?
In Cacti, we tend to use template-host approach, i.e. every template has a corresponding host, even they are from the same server.
How's the "zabbix way"?
Thanks.
For instance, I have several MySQL instances running on the same host. And I have a template for monitoring MySQL server.
There're two options I can think of:
1. Use discovery rule in template, and write a custom script to provide the JSON.
2. Build different hosts from the same template, and use host macros to customize the port.
Which one is preferable?
A bigger question, should there be only one zabbix host per real server?
In Cacti, we tend to use template-host approach, i.e. every template has a corresponding host, even they are from the same server.
How's the "zabbix way"?
Thanks.
Comment