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

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.GetADVRTTValues("UID","array");

Description

Retrieve in a LUA table the Round Trip Time values of the last 100 PING/SNMP polling performed by the LoriotPro Poller

Parameters

‘uid’           The UID of the Directory audit plugin object

Return Values

value : array with the RTT values

Return nil if an error occurs

Example

val=lp.GetADVRTTValues("5946139173407686685","array");
if val ~= nil then
 for k,v in ipairs(array) do
 lp.Trace("poll:",k," ",v,"\n")
 end
 end



www.loriotpro.com