Skip to main content
Version: 6.1

Enumerations

caution

The SNMP Input is currently a technology preview and not intended for production environments. The design and features are subject to change.

Enumeration allow for integer and OID values to be translated to their text values.

The location of the enumeration definition files is specified by EF_PROCESSOR_SNMP_ENUM_DEFINITIONS_DIRECTORY_PATH in the collectors configuration options. The default location is /etc/elastiflow/snmp/enums. Enumeration lookups must also be enabled by setting EF_PROCESSOR_SNMP_ENUM_ENABLE to true.

Bitmap Enumerations

Bitmap enumerations are evaluated when the attribute syntax is EnumBitmap.

EXAMPLE:

#ifOperStatus
.1.3.6.1.2.1.2.2.1.8:
1: 'up' # up
2: 'down' # down
3: 'testing' # testing
4: 'unknown' # unknown
5: 'dormant' # dormant
6: 'not present' # notPresent
7: 'lower-layer down' # lowerLayerDown

Integer Enumerations

Integer enumerations are evaluated when the attribute syntax is EnumInteger or EnumIntegerKeepID.

EXAMPLE:

#ifOperStatus
.1.3.6.1.2.1.2.2.1.8:
1: 'up' # up
2: 'down' # down
3: 'testing' # testing
4: 'unknown' # unknown
5: 'dormant' # dormant
6: 'not present' # notPresent
7: 'lower-layer down' # lowerLayerDown

Object Indentifier (OID) Enumerations

Object Indentifier (OID) enumerations are evaluated when the attribute syntax is EnumObjectIndentifier or EnumObjectIndentifierKeepOID.

EXAMPLE:

# hrStorageType - hrStorageTypes
.1.3.6.1.2.1.25.2.1.1: 'other' # hrStorageOther
.1.3.6.1.2.1.25.2.1.2: 'RAM' # hrStorageRam
.1.3.6.1.2.1.25.2.1.3: 'virtual memory' # hrStorageVirtualMemory
.1.3.6.1.2.1.25.2.1.4: 'fixed disk' # hrStorageFixedDisk
.1.3.6.1.2.1.25.2.1.5: 'removable disk' # hrStorageRemovableDisk
.1.3.6.1.2.1.25.2.1.6: 'floppy disk' # hrStorageFloppyDisk
.1.3.6.1.2.1.25.2.1.7: 'compact disc' # hrStorageCompactDisc
.1.3.6.1.2.1.25.2.1.8: 'RAM disk' # hrStorageRamDisk
.1.3.6.1.2.1.25.2.1.9: 'flash memory' # hrStorageFlashMemory
.1.3.6.1.2.1.25.2.1.10: 'network disk' # hrStorageNetworkDisk