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

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.SetGObjectStatusCheck('GObjectName','0/1/2')

Description

Change the value of the Check Type option of a Global Object. The Check Type can be based on the status of a directory object indentified by its IP address or its UID.

Parameters

GObjectName - the name of the Global Object

0/1/2 - 0 no check, 1 check on IP, check on UID

Return Values

value : value

Return nil if an error occurs

Example

lp.SetGObjectStatusCheck('SERVER_1',1)

 


www.loriotpro.com