Responding to messages
//
// Trigger: endGrsTrace
//
// Description:
// Responds to the message with a "R <replynum>,END" responde to automatically
// end the GRS trace
//
// See Also:
// clearRd
trigger on message.MSGID == "ITT006A"
sendCommand("R " & message.REPLYNUM & ",END)
// Trigger: endGrsTrace
//
// Description:
// Responds to the message with a "R <replynum>,END" responde to automatically
// end the GRS trace
//
// See Also:
// clearRd
trigger on message.MSGID == "ITT006A"
sendCommand("R " & message.REPLYNUM & ",END)
NIP_Duplicate_Volume
This rule automatically responds to the IEA213A duplicate volume message that stops the IPL process until an operator responds. The policy enforced by this rule is to take the second device listed in the message and use that device.
// Trigger on IEA213A
// rule to catch NIP duplicate volume messages and auto reply
//IEA213A DUPLICATE VOLUME volname FOUND ON devICES dev1 AND dev2. REPLY DEVICE NUMBER WHICH IS TO REMAIN OFFLINE ^
trigger on strFind(message.TEXT, "IEA213A DUPLICATE VOLUME") >= 0
trace("IEA213A Triggered",red)
tokens = strSplit(message.TEXT, "[ \\.']+")
volSer = tokens[4]
dev1 = tokens[8]
dev2 = tokens[10]
dev = dev2
sendCommand("R 00," & dev)
trace("dev = " & dev, RED)
sendAlertToAllViewers("Replied " & dev & " to " & message.TEXT,20)
// Debug output to show the tokens
trace("============================================================", green)
do i = 0 to tokens.size() - 1
trace("[" & i & "] " & tokens[i], green)
end
trace("Duplicate volume found. Selected volume = " & dev, green)
trace("============================================================", green)
// rule to catch NIP duplicate volume messages and auto reply
//IEA213A DUPLICATE VOLUME volname FOUND ON devICES dev1 AND dev2. REPLY DEVICE NUMBER WHICH IS TO REMAIN OFFLINE ^
trigger on strFind(message.TEXT, "IEA213A DUPLICATE VOLUME") >= 0
trace("IEA213A Triggered",red)
tokens = strSplit(message.TEXT, "[ \\.']+")
volSer = tokens[4]
dev1 = tokens[8]
dev2 = tokens[10]
dev = dev2
sendCommand("R 00," & dev)
trace("dev = " & dev, RED)
sendAlertToAllViewers("Replied " & dev & " to " & message.TEXT,20)
// Debug output to show the tokens
trace("============================================================", green)
do i = 0 to tokens.size() - 1
trace("[" & i & "] " & tokens[i], green)
end
trace("Duplicate volume found. Selected volume = " & dev, green)
trace("============================================================", green)
Tip: For faster searching, add an asterisk to the end of your partial query. Example: cert*