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

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.SetGObjectUIDRef('GObjectName','UID')

Description

Set the UDI of the conditional function execution of the pre-scheduling option (field Check if UDI status). The LUA function of the Global Object is executel only if this UDI has the correct status. (see lp.SetGObjectStatusRef and lp.SetGObjectStatusCheck)

Parameters

GObjectName - the name of the Global Object

UID - A LoriotPro directory UID

Return Values

value : val=1 if succeeded

Return nil if an error occurs

Example

val=lp.SetGObjectUIDRef('SERVER_1','5946135385246531590')
lp.Trace("Set GO UID ref:",val,"\n")

 


www.loriotpro.com