Skip to main content
Version: 2.11.3

SNMP Custom OID Sets Monitor (10103 / 20103)

Description

This Module enables you to perform SNMP polling from network devices by creating OID Sets. Each set can contain up to 64 OIDs, and has its own polling interval. The polling is performed for all network devices configured in SNMP Service, taking into account Device Group. The information is provided per device-OID set.

Parameters

Parameter NameDescriptionComments
SNMP OIDs MonitorModule logic execution interval10 sec (fixed value)
OID SetYou may create unlimited number of OID sets by specifying the following: - OID Set name; - Data collection interval; - Device Group; - Up to 64 OIDsYou build your OID sets by going through SNMP tree and selecting OIDs. Once selected, they are added to the Set

Configuring OID Sets

There are two options for creating Custom OID sets.

To create a new OID set, click on button, which will open the following popup window:

In this window:

  • OID Set name: the name of your custom OID set. It is exported as key-value pair ois_set_name=your_set_name
  • Data Collection Interval: SNMP polling interval for this OID set
  • SNMP device group: this is an optional parameter. You can assign this OID set to a specific group, defined in the List of devices while configuring the SNMP Management
  • OID elements: you can build a list of OIDs, selecting them by clicking check boxes

If your OID is not in the tree, you can add an SNMP MIB, containing the required OID by clicking the button.

The second option is upload OID set YAML configuration by clicking on the button.

Here is an example of OID set YAML to monitor CPU utilization of Cisco devices:

---
#
# OID set for Cisco CPU
# MIB: SNMPv2-MIB (preloaded)
# MIB: CISCO-PROCESS-MIB https://www.circitor.fr/Mibs/Mib/C/CISCO-PROCESS-MIB.mib
#
oidSet: "cisco_cpu" # [string] Name of OID set
interval: 120 # [number] SNMP polling interval
deviceGroup: "" # [string] Device Group. Make sure Device Group is present in the list of devices
enabled: true # [boolean] true / false
objects:
- oid: "1.3.6.1.2.1.1.5.0" # [string] OID
customName: "sysName" # [string] OID name (Optional if MIB is loaded into NFO) or custom name
type: # [string] Scalar, TableIndex, or TableEntry. Optional if MIB is loaded into NFO
# - oid: "1.3.6.1.4.1.9.9.109.1.1.1.1.7" # cpmCPUTotal1minRev
# customName: "cpu_load_percent"
# type: TableEntry # [string] Scalar, TableIndex, or TableEntry. Optional if MIB is loaded into NFO
- oid: "1.3.6.1.4.1.9.9.109.1.1.1.1.8" # cpmCPUTotal5minRev
customName: "cpu_load_percent"
type: TableEntry # [string] Scalar, TableIndex, or TableEntry. Optional if MIB is loaded into NFO
...

This OID set YAML is to monitor memory utilization of Cisco devices:

---
#
# OID set for Cisco memory
# MIB: SNMPv2-MIB (preloaded)
# MIB: CISCO-MEMORY-POOL-MIB https://www.circitor.fr/Mibs/Mib/C/CISCO-MEMORY-POOL-MIB.mib
#
oidSet: "cisco_mem" # [string] Name of OID set
interval: 120 # [number] SNMP polling interval
deviceGroup: "" # [string] Device Group. Make sure Device Group is present in the list of devices
enabled: true # [boolean] true / false
objects:
- oid: "1.3.6.1.2.1.1.5.0" # [string] OID
customName: "sysName" # [string] OID name (Optional if MIB is loaded into NFO) or custom name
type: # [string] Scalar, TableIndex, or TableEntry. Optional if MIB is loaded into NFO
- oid: "1.3.6.1.4.1.9.9.48.1.1.1.5" # ciscoMemoryPoolUsed
customName: "mem_used"
type: TableEntry # [string] Scalar, TableIndex, or TableEntry. Optional if MIB is loaded into NFO
- oid: "1.3.6.1.4.1.9.9.48.1.1.1.6" # ciscoMemoryPoolFree
customName: "mem_free"
type: TableEntry # [string] Scalar, TableIndex, or TableEntry. Optional if MIB is loaded into NFO
...

For additional YAML configurations, please contact support@netflowlogic.com.

You can also modify an exisitng OID set by clicking on its name.

Syslog/JSON Message Fields

KeyField DescriptionComments
nfc_idMessage type identifier“nfc_id=20103”
exp_ipDevice NetFlow Exporter IP addressIPv4_address or IPv6_address
mgmt_ipDevice Management IP addressIPv4_address or IPv6_address
oid_setName of OID Setstring
device_groupName of Device Group, if selectedstring
[Varies depending on OIDs in the set]

Reporting OID Sets

The success of SNMP polling and the subsequent data collection heavily rely on the availability and responsiveness of the polled devices. Depending on the device status and the specific OIDs queried, the following outcomes may occur:

Potential issuesOutput
Device is unresponsiveNone. Check the log for unresponsive devices: nfo_audit.log
Requested OID is not supported by the deviceThe OID is not included in the output
Returned value is unavailable, not valid, e.g. wrong type, lenth, etc.""

Default OID Sets

The following OID Sets are included in NFO.

interface_mon

OIDMIB NameCustom Name
1.3.6.1.2.1.1.5.0sysName
1.3.6.1.2.1.2.2.1.1ifIndex
1.3.6.1.2.1.2.2.1.2ifDescr
1.3.6.1.2.1.2.2.1.3ifType
1.3.6.1.2.1.2.2.1.4ifMtu
1.3.6.1.2.1.2.2.1.5ifSpeed
1.3.6.1.2.1.2.2.1.6ifPhysAddress
1.3.6.1.2.1.2.2.1.7ifAdminStatus
1.3.6.1.2.1.2.2.1.8ifOperStatus
1.3.6.1.2.1.2.2.1.10ifInOctets
1.3.6.1.2.1.2.2.1.11ifInUcastPkts
1.3.6.1.2.1.2.2.1.12ifInNUcastPkts
1.3.6.1.2.1.2.2.1.13ifInDiscards
1.3.6.1.2.1.2.2.1.14ifInErrors
1.3.6.1.2.1.2.2.1.16ifOutOctets
1.3.6.1.2.1.2.2.1.17ifOutUcastPkts
1.3.6.1.2.1.2.2.1.18ifOutNUcastPkts
1.3.6.1.2.1.2.2.1.19ifOutDiscards
1.3.6.1.2.1.2.2.1.20ifOutErrors
1.3.6.1.2.1.31.1.1.1.1ifName
1.3.6.1.2.1.31.1.1.1.6ifHCInOctets
1.3.6.1.2.1.31.1.1.1.10ifHCOutOctets
1.3.6.1.2.1.31.1.1.1.15ifHighSpeed
1.3.6.1.2.1.31.1.1.1.18ifAlias

device_info

OIDMIB NameCustom Name
1.3.6.1.2.1.1.1.0sysDescr
1.3.6.1.2.1.1.3.0sysUpTimeInstance
1.3.6.1.2.1.1.5.0sysName
1.3.6.1.2.1.2.1.0ifNumber
1.3.6.1.2.1.4.20.1.1ipAdEntAddr
1.3.6.1.2.1.4.20.1.2ipAdEntIfIndex
1.3.6.1.2.1.4.20.1.3ipAdEntNetMask
1.3.6.1.2.1.4.20.1.4ipAdEntBcastAddr
1.3.6.1.2.1.4.20.1.5ipAdEntReasmMaxSize

cisco_mem

OIDMIB NameCustom Name
1.3.6.1.2.1.1.5.0sysName
1.3.6.1.4.1.9.9.48.1.1.1.5mem_used
1.3.6.1.4.1.9.9.48.1.1.1.6mem_free

cisco_cpu

OIDMIB NameCustom Name
1.3.6.1.2.1.1.5.0sysName
1.3.6.1.4.1.9.9.109.1.1.1.1.7cpmCPUTotal1minRev
1.3.6.1.4.1.9.9.109.1.1.1.1.8cpu_load_percent