LUALoriotPro WEB site

LoriotPro scripting documentation
Extensions for LUA language

Table of contents Search function

Print the current page Mail this  link UTUBE Channel version française

lp.SetTrapFilterActionDisable - Enable/disable the action of a TRAP filter

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.SetTrapFilterActionDisable('uid',flag);


The lp.SetTrapFilterActionDisable LUA function enable or disable the action of a TRAP filter.


‘uid’           The UID of the Directory object

flag             A boolean value (0 enable, 1 disable )

Return Values

value : value 1 if the filter is modified

Return nil if an error occurs.

Warning : The check box of the filter windows is not autoamtically refreshed after this change.