LoriotPro has extended the LUA sripting language by providing its own LUA libraries. The new functions provided are dedicated to the creation of monitoring and SNMP automation application.
value = lp.AckTrapFilter(‘uid’)
The LUA AckTrapFilter function performs an acknowledge (reset) of the counter of a trap.
uid - the uid of the trap filter
value : 1 if operation successful
Return nil if an error occurs
You can select the uid of the filter counter to reset form the main menu of the LoriotPro.
Monitor/Traps Filter Counters
The trap uid are also visible in the trap log at the last right column.
Warning ! if the value is zero, it mean that no filter exist for this type of trap.
Warning ! All the trap filters with the specified uid will be acknoledged. In the case of a linkdown trap for example, all the linkdown trap will be acknowledged.
You can also select the uid of a trap filter from the meno of the LoriotPro script editor.
Example of the function set with an uid. When the function is launched, the snmp trap(s) with the corresponding uid are set in acknowledged state in the trap log, they are on a white background.