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

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.AckEvent(event_number)

Description

The LUA AckEvent function performs an acknowledge of a Loriotpro event. The list of events received can be displayed in the event log.

Parameters

event_number - the event number

Warning  ! All the events with that reference number will be acknowledged.

Return Values

value : 1 if operation successful

Return nil if an error occurs

Example

event ack

Le logiciel reçoit des événements 600 que nous allons acquitter avec le script suivant :

lp.AckEvent(600);

event ack lua


www.loriotpro.com