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

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

stringval=lp.GetGObjectString('GObjectName')

Description

Retrieve the current string value of a Global Object. stringval is a string type value that is used in the LUA function attached to the Global Object to define anything.

Parameters

GObjectName - the name of the Global Object

Return Values

stringval : an value as an LUA string

Return nil if an error occurs

Example

str=lp.GetGObjectString('SERVER_1')
lp.Trace(str)

 


www.loriotpro.com