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

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

lp.SetGObjectVersion('GObjectName','timestamp')

Description

Define the version which is a time stamp of a Global Object. This option is used when Global Object must be synchronised between multiple LoriotPro

Parameters

GObjectName - the name of the Global Object

timestamp - A OS timestamp

Return Values

value : val=1 if succeeded

Return nil if an error occurs

Example

val=lp.SetGObjectVersion('SERVER_1',os.time())

 


www.loriotpro.com