SNMP Polling and Traps
SNMP Polling and Traps Service supports protocol version v2C and v3.
The service is enabled by default, and you can disable it if not needed. You need to configure this service by specifying:
- SNMP credentials
- The list of devices to be polled, including mapping to exporter IP in case you receive flow data from these devices
- Optionally add MIBs to build OID sets
- SNMP Trap ports and credentials
- SNMP Polling data defaults / overrides
The service has the following parameters:
Parameter | Description |
---|---|
T – SNMP expiration time in secs | Expiration time of SNMP data held in cache, default is 86400 seconds (1day) |
Enable(1) or disable(0) SNMP service | 1 - SNMP service enabled; 0 - SNMP service disabled |
SNMP transport timeout in sec | Time to wait for SNMP reply from network devices to polling requests |
SNMP Credentials | Authentication credentials for SNMP polling |
SNMP service watchlist: Exporter IP, Management IP, Port, Credentials ID | This list contains devices for SNMP polling, device group, and SNMP credentials. It could be entered via NFO GUI, uploaded from CSV file, or automatically updated by EDFN Agent from CSV file maintained externally. It also maps Exporter IP address to SNMP management IP address, in case correlation between flow data and SNMP data is required |
SNMP service watchlist: MIB Name | Allows you to upload SNMP MIBs. OIDs from these MIBs will be available for building SNMP OIDs sets in NFO Module: 10103: SNMP Custom OID Sets Monitor |
SNMP Trap Inputs: Port, Credentials ID | SNMP Port, SNMP Credentials ID. This port and credentials is used by devices when sending SNMP traps. NOTE: For SNMPv3 make sure you specify Engine ID in Credentials |
SNMP Credentials
Click on “> SNMP Credetials” to setup SNMP authentications, and press button. In popup screen select SNMPv2c or SNMPv3 and enter corresponding authentication information.
You can add unlimited number of Credential entries.
SNMP service watchlist: Exporter IP, Management IP, Port, Credentials ID, Group, Comment
Specify the mapping between Exporter IP and SNMP Management IP, SNMP polling port number, and the reference to Credential ID created in the previous step.
NFO Modules query this Service to get SNMP data.
10003: SNMP Information Monitor
When flow records are processed by NFO the Module queries this Service to get SNMP data, passing Exporter IP and Interface SNMP index as parameters. In its turn SNMP Service polls corresponding network device, using the Exporter IP/Management IP mapping, and caches this information, until it expires (Parameter: T - SNMP expiration time in secs).
For more information, see SNMP Information Monitor (10003 / 20003).
10103: SNMP Custom OID Sets Monitor
This Module enables you to create your own OIDs sets to report SNMP polling data.
Device group, introduced in NFO 2.8, allows you link OID sets specified in this Module with the Group the device assigned to. For more information, see SNMP Custom OID Sets Monitor (10103 / 20103).
10700: SNMP Traps Monitor
This Module reports SNMP Traps. For more information, see SNMP Traps Monitor (10700 / 20700).
Suspending SNMP Polling from Inactive Devices
If a device is not responding to SNMP polling, the poling for this device is suspended for a period of time.
This period of time is set by the environment variable: NFO_SNMP_INACTIVE_POLL_TIMEOUT (default is 3600 seconds).
While device is suspended, the SNMP service requests for this devices are skipped, and counted in the "number of SNMP polling skipped requests"
on the Status page.
Other Environment Variables
The environment variables available for further tuning SNMP polling are described in the table below.
Parameter | Description | Comments |
---|---|---|
NFO_SNMP_REQ_QUEUE_LEN | SNMP requests (default and arbitrary) queue length | default=1000 (min – 100, max – 100000) |
NFO_SNMP_TRAP_QUEUE_LEN | SNMP traps queue length | default=1000 (min – 100, max – 100000) |
NFO_SNMP_GETBULK_DISABLE | Disable GetBulk request for SNMP | default=0 enable getbulk, 1 - disable getbulk |
NFO_SNMP_GETBULK_REPEATERS | SNMP max-repetitions count for GetBulk request | default=10 (min – 1, max – 100) |
NFO_SNMP_MSG_MAX_SIZE | SNMP maximum message size (maxMsgSize) | default=0 (0 means that NetSNMP default value is used, which is 1500) (min - 484, max – 65507) |
NFO_SNMP_RETRIES | SNMP retries count | default= -1 (-1 means that NetSNMP default value is used, which is 5) (min - 0, max – 10) |
NFO_SNMP_INACTIVE_POLL_TIMEOUT | Period of time the poling for this device is suspended if device does not reply | default=3600 seconds |
NFO server environment variables could be set here: Tracing and Configuration