Skip to main content
Version: 6.4

SNMP Poller

The Unified SNMP Collector can poll devices for metrics, status and other telemetry using SNMP.

EF_INPUT_SNMP_POLLER_WORKER_POOL_SIZE

When the SNMP poller input is enabled a pool of poller workers is initialized to provide concurrent polling of multiple devices and objects. 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 modify the device object schedule for all types of errors. However, this mode is not advised for production environments, as it may lead to unnecessary schedule changes.
  2. Partial Error Handling: In this mode, the SNMP poller adjusts the device object schedule 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 alter the device object schedule in response to any errors.
  • 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

The Unified SNMP Collector 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