Hi all,
I face this problem which seems to be a bug, using my zabbix 1.0 platform: when creating a new host (say 'Host-B') using a template (or another host 'as a template, like 'Host-A'), some triggers are note correctly copied: copied incorrectly twice.
This kind of triggers (source) will
will be "copied" as two different triggers with the following expressions:
The point is that the substition of hostnames seems not to be done twice in triggers expression when creating a new host using a template (or another host as a template): instead of processing a double substition, it seems 2 new triggers are created, each with one (only) substitution performed...
I quickly looked at the source php but did not find where the substitution was made.
Any clues?
I face this problem which seems to be a bug, using my zabbix 1.0 platform: when creating a new host (say 'Host-B') using a template (or another host 'as a template, like 'Host-A'), some triggers are note correctly copied: copied incorrectly twice.
This kind of triggers (source) will
Code:
({Host-A:diskfree[/].last(0)}/{Host-A:disktotal[/].last(0)})<0.2
Code:
({Host-B:diskfree[/].last(0)}/{Host-A:disktotal[/].last(0)})<0.2
and
({Host-A:diskfree[/].last(0)}/{Host-B:disktotal[/].last(0)})<0.2
I quickly looked at the source php but did not find where the substitution was made.
Any clues?
Comment