Is there any equivalent of alarm.get from LUA in perl ? Or otherwise, how to access alarm fields from perl ?
Specifically, the scenario is as follows.
I already have a working LUA program which works on each alert in an on-arrival scenario, calls alarm.get and logs individual alarm fields like nimid, level, msg etc to a flat file with one line per alarm. Now instead of this approach, I want to create a perl program which runs in periodic fashion every time, preferably through a timed probe, accessing another queue which subscribes on "alarm" subject.
Is this possible, and if yes, please let me know the callback etc ?