Hi;
I want to describe my host. And I send email that to me. I investigated them but I am failed. I use pyton ZABBIX API script. https://github.com/gescheit/scripts/tree/master/zabbix My questions:
1 ) Enter zabbix >> Configuration >> Hosts >> <Hostname>
And right side macros and Profile
[macros]
I write {$TRY} --> trying and I call in Email notification like {TRY} but not woriking why ?
2 ) Enter zabbix >> Configuration >> Hosts >> Profile
And right side macros and Profile
[Profile]
And rigt side again I write Tag --> trying [in Profile]
I call in Email notification like {PROFILE.TAG} İts work
Finally; I can get usermacros.get(bla bla) but how I create macros with script OR
How I get and set host_profile_tag ?
I want to describe my host. And I send email that to me. I investigated them but I am failed. I use pyton ZABBIX API script. https://github.com/gescheit/scripts/tree/master/zabbix My questions:
1 ) Enter zabbix >> Configuration >> Hosts >> <Hostname>
And right side macros and Profile
[macros]
I write {$TRY} --> trying and I call in Email notification like {TRY} but not woriking why ?
2 ) Enter zabbix >> Configuration >> Hosts >> Profile
And right side macros and Profile
[Profile]
And rigt side again I write Tag --> trying [in Profile]
I call in Email notification like {PROFILE.TAG} İts work
Finally; I can get usermacros.get(bla bla) but how I create macros with script OR
How I get and set host_profile_tag ?
Comment