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.SetGObjectIPRef

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.

Syntax

val=lp.SetGObjectIPRef('GObjectName','ip_address')

Description

Set the IP address of the conditional function execution of the pre-scheduling option (field Check if IP status). The LUA function of the Global Object is executel only if this IP address has the correct status.

Parameters

GObjectName - the name of the Global Object

"ip_address" - IP address

Return Values

value : 1 if succeeded

Return nil if an error occurs

Example

val=lp.SetGObjectIPRef('SWITCH_2',"192.168.1.1")

 


www.loriotpro.com