You can configure the SNMP Helper to use GetBulk. You can
also exclude specific devices from GetBulk support.
About this task
If you configure the SNMP Helper to use GetBulk, then this
will apply to all pollers in the current domain. The SNMP Helper will
also use GetBulk for all devices in the domain accessed using SNMP
v2 or SNMP v3, unless you exclude specific devices as described in
the following steps.Note: When GetBulk is enabled, then for each GetBulk-capable
device, a GetBulk request is always sent instead of a GetNext request.
To
configure the SNMP Helper to use GetBulk, perform the following steps.
Procedure
- Edit the following configuration file: NCHOME/etc/precision/NcPollerSchema.cfg.
Note: You can make the NcPollerSchema.cfg file domain specific
by copying it to NCHOME/etc/precision/NcPollerSchema.DOMAIN_NAME.cfg,
where DOMAIN_NAME is the name of the domain.
- Find the insert into the config.properties database
and set the value for the
UseGetBulk
property to 1.
- Save the file NCHOME/etc/precision/NcPollerSchema.cfg.
- Optional: If you have network devices that
do not support GetBulk, then you can exclude these network devices
on a device-by-device basis by performing the following steps:
- Edit the following configuration file: NCHOME/etc/precision/
SnmpStackSecurityInfo.cfg.
Note: You can make
the SnmpStackSecurityInfo.cfg file domain-specific
by copying it to NCHOME/etc/precision/SnmpStackSecurityInfo.DOMAIN_NAME.cfg,
where DOMAIN_NAME is the name of the domain.
- For each device that you want to exclude from GetBulk
support, add an insert into the SnmpStackSecurityInfo.cfg configuration
file, similar to the following example.
The following
example insert excludes the device 10.0.13.74 from GetBulk support.
insert into snmpStack.accessParameters
( m_NetAddress, m_UseGetBulk )
values
( '10.0.13.74', 0 );
- Once you have added inserts for each of the devices
to exclude, save the file NCHOME/etc/precision/
SnmpStackSecurityInfo.cfg.
- Activate the changes by performing one or both of the following:
- Start or schedule a new full discovery. Discovery will now make
use of GetBulk.
- Restart the Polling engine, ncp_poller, with the
-readsnmpconfig
command-line
option specified.