Hello Forum,
I have setup SNMP trapping which is working as expected.
I also have setup a trigger for a specific SNMP message and fill a TAG with a regsub expression. The tag is filled with a value, let say "DEVICE_X"
This trigger is working the way it should.
I also have a host item defined with host name DEVICE_X
This host is 'virtual' and not existing in real life.
What I want to do is create a trigger in such way that a trigger is fired for DEVICE_X so I have all the fields for this DEVICE_X available for an action so I can construct an email message with the visible name of that DEVICE_X host (a more meaningful name).
Host item DEVICE_X is just a sample. I have a lot of host with the name DEVICE_*
So in pseudo code:
- When a trigger is fired and the TAG contains DEVICE_X ({HOST.HOST})
- Also Fire a trigger for the host with the name DEVICE_X
I'm not sure if this is even possible, but I have the feeling it is...
(I could fire an action operation 'remote command' and passing the TAG so the remote command could use zabbix_sender, but that not what I am looking for)
Any help would be appreciated.
Thanks, Theo
I have setup SNMP trapping which is working as expected.
I also have setup a trigger for a specific SNMP message and fill a TAG with a regsub expression. The tag is filled with a value, let say "DEVICE_X"
This trigger is working the way it should.
I also have a host item defined with host name DEVICE_X
This host is 'virtual' and not existing in real life.
What I want to do is create a trigger in such way that a trigger is fired for DEVICE_X so I have all the fields for this DEVICE_X available for an action so I can construct an email message with the visible name of that DEVICE_X host (a more meaningful name).
Host item DEVICE_X is just a sample. I have a lot of host with the name DEVICE_*
So in pseudo code:
- When a trigger is fired and the TAG contains DEVICE_X ({HOST.HOST})
- Also Fire a trigger for the host with the name DEVICE_X
I'm not sure if this is even possible, but I have the feeling it is...
(I could fire an action operation 'remote command' and passing the TAG so the remote command could use zabbix_sender, but that not what I am looking for)
Any help would be appreciated.
Thanks, Theo