Hello,
I'm quite new to Zabbix and have a question about Triggers...
First of all a bit of background...my goal is to monitor some TV channels with a custom script. If a channel is ok it sends a "Running" value back and if it's down it sends a "Down" value back. Pretty simple and it works well.
Now my problem is that I have 300 channels which work in that fashion and I would like to add one single trigger to manage them all because they all have the same format (a "trigger prototype").
Here is an example of some channels in the Template, there are 300 more:

On one channel (3 Sat) I created a trigger which works very fine:
{Template Multicast Streams:check_multicast["--g","239.101.10.208","--i","vlan289","--p","1234","--t","2"].regexp(Down)}=1
Now my question is...can the whole "check_multicast["--g","239.101.10.208","--i","vlan289","--p","1234","--t","2"]" key be replaced with some Macro that gets it for every channel?
As far as I can see on https://www.zabbix.com/documentation...ed_by_location it's not possible, a trigger expression seems to want a real key
Thanks!
I'm running version 2.2.1
I'm quite new to Zabbix and have a question about Triggers...
First of all a bit of background...my goal is to monitor some TV channels with a custom script. If a channel is ok it sends a "Running" value back and if it's down it sends a "Down" value back. Pretty simple and it works well.
Now my problem is that I have 300 channels which work in that fashion and I would like to add one single trigger to manage them all because they all have the same format (a "trigger prototype").
Here is an example of some channels in the Template, there are 300 more:

On one channel (3 Sat) I created a trigger which works very fine:
{Template Multicast Streams:check_multicast["--g","239.101.10.208","--i","vlan289","--p","1234","--t","2"].regexp(Down)}=1
Now my question is...can the whole "check_multicast["--g","239.101.10.208","--i","vlan289","--p","1234","--t","2"]" key be replaced with some Macro that gets it for every channel?
As far as I can see on https://www.zabbix.com/documentation...ed_by_location it's not possible, a trigger expression seems to want a real key

Thanks!
I'm running version 2.2.1

Comment