Ad Widget

Collapse

Create a SNMP trigger for a matched host item

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Theo63
    Junior Member
    • Aug 2021
    • 8

    #1

    Create a SNMP trigger for a matched host item

    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
    Last edited by Theo63; 21-08-2021, 09:27. Reason: Added remote command option
Working...