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.
ip_address = lp.SetLocalIP("IP-Address")
Set the IP V4 internal reference for Global object management.
The LocalIP is used by the Global Object management process to identify the host where a specific Global Object is managed by default.
IP-Address : The new IP V4 address
ip_address : The IP V4 address of the first network interface of the LoriotPro system
Return nil if an error occurs
ip_local = lp.GetLocalIP()