I want to create a template which checks a web scenario.
As default i want to check the DNS name of the host, but in case the website is accessible via another vhost the value should be changeable on a per host(group) basis.
Using HOST.* macros in the template/host macro result in the macro not resolving i.e. produces the error "Couldn't resolve host name: Could not resolve host: {HOST.HOST}".
What would be the "zabbix"-way to solve this problem?
- Hard code an URL into the macro and overwrite on a per host(group) basis
- Use HOST.* macro in the web scenario and overwrite the steps on a per host(group) basis
- Something with LLD?
- Something completely different?
As default i want to check the DNS name of the host, but in case the website is accessible via another vhost the value should be changeable on a per host(group) basis.
Using HOST.* macros in the template/host macro result in the macro not resolving i.e. produces the error "Couldn't resolve host name: Could not resolve host: {HOST.HOST}".
What would be the "zabbix"-way to solve this problem?
- Hard code an URL into the macro and overwrite on a per host(group) basis
- Use HOST.* macro in the web scenario and overwrite the steps on a per host(group) basis
- Something with LLD?
- Something completely different?