Hi there,
I'm new to Zabbix and have a bit of a what I consider to be a challenge.
We want to do web checks on 150+ hosts, the tricky part is that all of them use different port numbers at the end of their URLs, I'd like to make a macro that turns that port number into a variable for example:
I want to make a macro that says if hostname is x use portnumber y (then have a list somewhere, somehow that it can get the correct port number from)
so I can make the URL something to the effect of http://example.com:{$HOST.PORT} instead of creating a new web scenario for each host
I'm new to Zabbix and have a bit of a what I consider to be a challenge.
We want to do web checks on 150+ hosts, the tricky part is that all of them use different port numbers at the end of their URLs, I'd like to make a macro that turns that port number into a variable for example:
I want to make a macro that says if hostname is x use portnumber y (then have a list somewhere, somehow that it can get the correct port number from)
so I can make the URL something to the effect of http://example.com:{$HOST.PORT} instead of creating a new web scenario for each host
Comment