Skip to main content
Version: 7.3

Extending SNMP Device Support

We would like to invite you to use our SNMP Walk binary to extend your device support and share its data with us. This tool is designed to perform an SNMP walk on your target device and save the result in a specified file format. By utilizing this tool, you can help us better understand your device's capabilities and optimize our support for it. The SNMP Walk binary supports SNMP versions 1, 2c, and 3.

Once you have completed the SNMP walk and saved the results, please share the gob output file with our team. Community and Basic users should reach out to us on the ElastiFlow Community Slack. Standard and Premium users should reach us at support@elastiflow.com. Our experts will analyze the data and work on enhancing the support for your specific device.

If you have any questions or need assistance with using the SNMP Walk binary, please do not hesitate to reach out to our team. We appreciate your contribution to improving our device support and look forward to working with you.

snmpwalk

The ElastiFlow SNMP Walk binary is a command-line application that performs an SNMP walk on a target device and saves the result in a specified file format. The application supports SNMP versions 1, 2c, and 3.

Installation

The ElastiFlow SNMP Walk binary can be installed natively on Linux. Packages are currently provided for and supported on the Linux distributions and versions listed in the following table.

DistributionVersions
Ubuntu/Debian18.04 LTS, 20.04 LTS, 22.04 LTS
RHEL/AlmaLinux8.x, 9.x

Ubuntu/Debian Installation (deb)

The Debian package for the SNMP Walk package can be downloaded from here. It can be used for installation on most Debian-based systems such as Debian and Ubuntu.

Downloading the .deb Package

The package can be easily downloaded using wget or curl:

wget https://elastiflow-releases.s3.us-east-2.amazonaws.com/snmp-walk/snmp-walk_7.3.1_linux_amd64.deb
curl https://elastiflow-releases.s3.us-east-2.amazonaws.com/snmp-walk/snmp-walk_7.3.1_linux_amd64.deb --output snmp-walk_7.3.1_linux_amd64.deb

Installing the Package

There are two methods to install SNMP Walk package, apt or dpkg.

Using apt
sudo apt install ./snmp-walk_7.3.1_linux_amd64.deb
Using dpkg
sudo dpkg -i snmp-walk_7.3.1_linux_amd64.deb

RedHat/AlmaLinux Installation (rpm)

The RPM package for the SNMP Walk package can be downloaded from here. It can be used for installation on most RedHat-based systems such as RHEL and CentOS.

Downloading the .rpm Package

The package can be easily downloaded using wget or curl:

wget https://elastiflow-releases.s3.us-east-2.amazonaws.com/snmp-walk/snmp-walk-7.3.1-1.x86_64.rpm
curl https://elastiflow-releases.s3.us-east-2.amazonaws.com/snmp-walk/snmp-walk-7.3.1-1.x86_64.rpm --output snmp-walk-7.3.1-1.x86_64.rpm

Installing the .rpm Package

The SNMP Walk package can be installed using yum.

Install/Upgrade the Package

If installing the SNMP Walk package for the first time, i.e. NOT upgrading, run the following:

sudo yum install -y snmp-walk-7.3.1-1.x86_64.rpm

If upgrading from a previously installed Unified SNMP Walk package, run the following:

sudo rpm -Uhv snmp-walk-7.3.1-1.x86_64.rpm

Usage

To use the SNMP Walk binary, run the following command:

snmpwalk [flags]

Configuration

The following flags are available for the SNMP Walk binary:

FlagDescriptionValue
-ipThe IP address of the device to which SNMP requests will be sent.127.0.0.1
-portThe UDP port on which the device listens for SNMP requests.161
-filenameThe filename of the SNMP walk results.snmp.walk
-root-oidThe root OID used to walk an SNMP device..1.3.6
-auth-oidThe OID used to perform an authorization check against on an SNMP device..1.3.6.1.2.1.1.3.0
-output-textWhen output text is true, snmpwalk will write a human-readable output file.false
-versionSpecifies the SNMP version to use when polling this device. Valid values are: 1, 2c, 3.1
-communityIf version is 1 or 2c, a community must be provided. The community of the device that is added to an SNMP request.
-timeoutThe time to wait, in milliseconds, for a response to an SNMP request.3000
-retriesThe number of times to retry a failed SNMP request before the task is cancelled.2
-exponential-timeoutDefines whether the timeout interval should remain static (false) for each retry, or increase exponentially (true).false
-max-repetitionsThe maximum number of repetitions to use when polling an SNMP device. This value is used to set the max-repetitions field in the SNMP GETBULK request.64
-authoritative-engine-idThe authoritative engine ID used to make an SNMP request with SNMPv3.
-authoritative-engine-bootsThe authoritative engine boots used to make an SNMP request with SNMPv3.0
-authoritative-engine-timeThe authoritative engine time used to make an SNMP request with SNMPv3.0
-usernameThe username used to authenticate with the device using SNMPv3.
-authentication-parametersThe authentication parameters used to make an SNMP request with SNMPv3.
-privacy-parametersThe privacy parameters used to make an SNMP request with SNMPv3.
-authentication-protocolThe authentication protocol used to authenticate the username with the device using SNMPv3.
-privacy-protocolThe privacy protocol used to encrypt SNMPv3 traffic between the SNMP input and the device.
-authentication-passphraseThe authentication passphrase used to authenticate the username with the device using SNMPv3.
-privacy-passphraseThe privacy passphrase used to encrypt SNMPv3 traffic between the SNMP input and the device.
-secret-keyThe secret key used to make an SNMP request with SNMPv3.
-privacy-keyThe privacy key used to make an SNMP request with SNMPv3.