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

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.SetGObjectAutoLoad('ObjectName','0/1')

Description

Set the autoload flag to 0 or 1. If equal 1 the Global Object will be initialized with the saved value at Loriotpro startup.

Parameters

ObjectName - the name of the Global Object

"0/1" - either '0' or '1', if '1' the checbox "Autoload this Object at startup with default Values" will be checked

Return Values

value : value

Return nil if an error occurs

Example

val=lp.SetGObjectAutoLoad('SERVER_2','1')

 


www.loriotpro.com