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.IsRegisteredMIBRef - Provide the MIB file name where is declared a MIB object

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

file = lp.IsRegisteredMIBRef("description-mib ");

Description

Provide the file name where the specified MIB definition or reference name is defined and registered. A registered MIB is not necessary defined in the current startup MIB database.

Parameters

definitions-mib - the MIB reference name or description name

Return Values

file - The MIB file name

nil if an error occurs

Example

get MIB file name from definition


www.loriotpro.com