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
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