Discovery-related files and folders

Install the technology pack content that is bundled with Telco Network Cloud Manager - Performance installation media. The content is distributed in different microservices and used for both discovery and polling operations by Telco Network Cloud Manager - Performance.

All the content related to discovery process is available in SNMP Discovery Service and is distributed as follows:
  • /opt/basecamp/snmp-discovery/content/ folder has the following folders and files.
    • discovery

      Contains the discovery formulas arranged as, <vendor>/<vendor-specific discovery formula files>.

    • mibs

      Contains the MIB files arranged as, mibs/<vendor>/<vendor-specific MIB files>.

    • system-objectid.discovery

Discovery formulas

Predefined discovery formulas that are available in the technology pack are used by Telco Network Cloud Manager - Performance to discover the vendor-specific devices and their resources based on the OIDs from their associated MIB files.

Typical content of a vendor-specific discovery formula is as follows:

when resource.type = 'device' and resource.sysobjectid like '1.3.6.1.4.1.2011'
select  hwEntityStateTable.index, hwEntityAdminStatus as adminStatus, hwEntityOperStatus as operStatus, hwEntityStandbyStatus, hwEntityTemperature, entPhysicalTable.index, entPhysicalIndex, entPhysicalDescr, entPhysicalVendorType, entPhysicalName, entPhysicalClass from HuaweiEntityExtentMib.hwEntityStateTable LEFT JOIN EntityMib.entPhysicalTable ON  hwEntityStateTable.index = entPhysicalTable.index where entPhysicalClass = 7
set type = 'fan'
set vendor = "Huawei"
set entityDescr = resource.entPhysicalDescr
set id = context.host + '_Huawei_Fan:<' + resource.index + '>'
unset entPhysicalDescr'
Content of the system-objectid.discovery file is as follows:
when resource.type = "unknown" and resource.ipAddress is not ""
select sysName, sysDescr, sysObjectID, sysUpTime, sysContact, sysLocation, sysServices from system where sysObjectID is not null
set type = 'device'
set ipAddress = context.host
set id = context.host
set parentId = context.host
set displayName =  Utils.toUtf8(context.hostname)
set sysName = Utils.toUtf8(resource.sysName)
set sysContact = Utils.toUtf8(resource.sysContact)
set sysDescr = Utils.toUtf8(resource.sysDescr)
set sysLocation = Utils.toUtf8(resource.sysLocation)
set shortDisplayName =  Utils.toUtf8(context.hostname)
set vendor = Utils.vendor(resource.sysObjectID)

MIB files

All vendor-specific and dependent standard MIB files that are required for the predefined formulas are available and installed with the pack content. All MIB files are arranged in specific vendor folders.