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

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

value = lp.isGObject('GObject_name')

Description

Check if a GObject exist

Parameters

GObject_name : A Global Object name

Return Values

value : 1 if succeeded

Return nil if an error occurs

Example

if lp.isValue('test') then
lp.Print("Globale Object 'test' exist \n")
else
lp.Print("Globale Object 'test' doesn't exist \n")
end

 



www.loriotpro.com