Skip to main content
Version: 7.10

SNMP Poller

NetObserv SNMP can poll devices for metrics, status and other telemetry using SNMP.

EF_INPUT_SNMP_POLLER_WORKER_POOL_SIZE

When objects are scheduled for SNMP polling, a pool of pollers is initialized to allow concurrent polls for that specific device. This configuration controls the maximum number of pollers allowed across all devices. If a device is scheduled and the total number of pollers exceeds this value, a warning will be logged while still initializing all pollers. The default size of this pool is 4 times the number of CPU threads (real cores + HT/SMT threads). This setting allow a specific pool size to be configured.

  • Minimum Value
    • 1
  • Default
    • CPU threads * 4

EF_INPUT_SNMP_POLLER_ERROR_HANDLING

This configuration determines the approach of the SNMP poller in managing SNMP Get request errors. There are three modes:

  1. Full Error Handling: The SNMP poller will drop objects for all types of Get request errors for that object. However, this mode is not advised for production environments, as it may lead to unnecessary dropping of objects.
  2. Partial Error Handling: In this mode, the SNMP poller drops objects only for errors that are not transient. This is more selective and avoids reacting to temporary issues.
  3. No Error Handling: The SNMP poller will not drop any objects.
  • Valid Values
    • none, partial, full
  • Default
    • partial

EF_INPUT_SNMP_DEVICE_DEFINITIONS_DIRECTORY_PATH

This setting specifies the path to the directory where the Device definitions files are located.

  • Default
    • /etc/elastiflow/snmp/devices

EF_INPUT_SNMP_DEVICE_GROUP_DEFINITIONS_DIRECTORY_PATH

This setting specifies the path to the directory where the Device Group definitions files are located.

  • Default
    • /etc/elastiflow/snmp/device_groups

EF_INPUT_SNMP_OBJECT_GROUP_DEFINITIONS_DIRECTORY_PATH

This setting specifies the path to the directory where the Object Group definitions files are located.

  • Default
    • /etc/elastiflow/snmp/object_groups

EF_INPUT_SNMP_OBJECT_DEFINITIONS_DIRECTORY_PATH

This setting specifies the path to the directory where the Object definitions files are located.

  • Default
    • /etc/elastiflow/snmp/objects

EF_INPUT_SNMP_DEFAULTS_DIRECTORY_PATH

This setting specifies the path to the directory where the Device default definition files are located.

  • Default
    • /etc/elastiflow/snmp/defaults

EF_INPUT_SNMP_PERSIST_ENABLE

NetObserv SNMP can persist the discovered inventory of SNMP objects, preventing the need for the inventory to be rebuilt when the collector is restarted. This setting specifies whether this feature is enabled.

  • Valid Values
    • true, false
  • Default
    • true

EF_INPUT_SNMP_PERSIST_DIRECTORY_PATH

When inventory persistence is enabled (EF_INPUT_SNMP_PERSIST_ENABLE is true), this setting specifies the path to the directory where the files will be written.

  • Default
    • /usr/share/elastiflow/snmpcoll