support-acentix

Generating new alarm with specific user tag

Discussion created by support-acentix on Dec 12, 2011
Latest reply on Dec 13, 2011 by 1_keithk

Hi

 

I like to generate a new alarm with user_tag2 = "7x24"

Here is my LUA skript:

 

rc, nimid = nimbus.alarm (severity, message, suppressionKey, suppressionID, source)

 

thisAlarm = alarm.get(nimid)
if thisAlarm ~= nil then
changeAlarm = {}
changeAlarm.nimid = thisAlarm.nimid
changeAlarm.user_tag2 = "7x24"
alarm.set(changeAlarm)
end

 

The new alarm is generated but the set alarm function with user_tag2 has no effect.

 

Can anybody help me to solve this issue.

 

Thanks

 

Paul

Outcomes