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

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

tm=lp.GetGObjectStamp('GObjectName')

Description

Retrieve the timestamp fo the last execution of the LUA function attached to the Global Object(GO). The GO must be in a Group of GOs that is processed by an Audit.

Parameters

GObjectName - the name of the Global Object

Return Values

value : tm is a timestamp

Return nil if an error occurs

Example

ts=lp.GetGObjectStamp('SERVER_1')
lp.Trace("TimeStamp:",ts,"\n")

 


www.loriotpro.com