Ad Widget

Collapse

how to show different item prototypes on trigger name

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • rjurek
    Junior Member
    • Dec 2014
    • 15

    #1

    how to show different item prototypes on trigger name

    I have an snmp discovery that returns the status of 4 nodes nodestatus[{#SNMPINDEX}] another discovery that returns 4 IP address nodeip[{#SNMPINDEX}] I want to have a trigger to trigger when any one of the 4 nodes status is not "4" and I want to have the trigger name contain the matching IP address of the nodestatus.

    example:
    nodestatus.1 = 4
    nodestatus.2 = 0
    nodestatus.3 = 4
    nodestatus.4 = 4

    nodeip.1 = 1.1.1.1
    nodeip.2 = 1.1.1.2
    nodeip.3 = 1.1.1.3
    nodeip.4 = 1.1.1.4

    Trigger = Node 1.1.1.2 is down with a status of 0

    Any help would be great.
    Ross
Working...