Can you sendf a NIML_CLEAR using nimbus.alarm? NAS whitepaper references 1-5 can be sent but doesn't mention 0, NIML_CLEAR.
I have a lua script that based on a processes probe alarm tries to stat a file (maintenance record file) through controller. If the file exists, should send a clear or close alarm, if it doesn't it will run an nexec profile to run a script to start process.
Everything works fine except for clearing the event - and this actually works to some degree. Where we are having an issue is sending traps to Spectrum, acknowledge, action.close don't feed over only clearing events. What I wanted to do is try and send an alarm with nimbus.alarm with same suppression_id to clear the previous alarm.
Looking at some previous posts, there is a difference in the action.close done from NAS vs the clearing alarm message from a probe. So, I ended up modifying my Lua to create a new alarm with the same suppression_id and do a hubpost through controller.
Retrieving data ...