Linux

circle-info

This section provides the installation steps for NetObserv SNMP. Many users get started using ElastiFlow with the Elastic Stack (Elasticsearch and Kibana). To install and configure the Elastic Stack step-by-step instructions are provided for both Ubuntu/Debian and RedHat/AlmaLinux.

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

Distribution
Versions

Ubuntu

22.04 LTS, 24.04 LTS

Debian

12

RHEL/RockyLinux/AlmaLinux

8.x, 9.x

Ubuntu/Debian Installation (deb)

The Debian package for the NetObserv SNMP can be downloaded from herearrow-up-right. It can be used for installation on most Debian-based systems such as Debian and Ubuntu.

Download the .deb Package

The package can be easily downloaded using either the wget or curl command:

Verify the Package

Checksum Verification

To ensure the downloaded file was fully downloaded and wasn't corrupted or tampered with, you can verify the provided checksum matches.

GPG Verification

ElastiFlow signs the Debian package with a GNU Privacy Guard (GPG) key. To verify the Debian package, download and import the ElastiFlow GPG public key:

Next, download the signature file:

Finally, verify the file with the signature:

The collector requires libpcap-dev. Check if the libpcap-dev package is installed:

If installed, the output will look similar to the follow:

If it is not present, install it:

Install the .deb Package

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

Install with apt

Install with dpkg

RedHat/AlmaLinux Installation (rpm)

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

Download the .rpm Package

The package can be easily downloaded using wget or curl:

Verify the Package

Checksum Verification

To ensure the downloaded file was fully downloaded and wasn't corrupted or tampered with, you can verify the provided checksum matches.

GPG Verification

ElastiFlow signs the RPM package with a GNU Privacy Guard (GPG) key. To verify the RPM package, download and import the ElastiFlow GPG public key:

Next, download the signature file:

Finally, verify the file with the signature:

Ensure that libpcap and libpcap-devel are Installed

The collector requires libpcap and libpcap-devel. Check if the packages are installed:

If installed, the output will look similar to the following:

If the packages are not present, install them:

RHEL 8.x based Distributions

RHEL 9.x based Distributions

Install/Upgrade the .rpm Package

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

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

Configuration

The NetObserv SNMP will be installed to run as a daemon managed by systemd. Configuration of the collector is provided via environment variables and, depending on the enabled options, via various configuration files which by default are located within /etc/elastiflow.

To configure the variables, edit the file /etc/elastiflow/snmpcoll.yml. For details on all the configuration options, please refer to the Configuration Reference.

circle-info

At a minimum the NetObserv SNMP must point to a valid data store. The most common installation uses Elasticsearch and Kibana as the data store. To install and configure the Elastic Stack step-by-step instructions are provided for both Ubuntu/Debian and RedHat/AlmaLinux.

circle-info

NetObserv SNMP will set CAP_NET_RAW capability for itself. It must have permission to create/send ping requests to detect 'degraded' device status. In some Linux distributions, that permission is not automatic, so the systemd service file adds it explicitly. CAP_NET_RAW grants the process the capability to use RAW and PACKET sockets and to bind to any address for transparent proxying.

Checking the SNMP Definition Files

If you are upgrading NetObserv, and the changelog mentions that 'SNMP definition' files have been updated, then consult this pagearrow-up-right for how to make sure you receive those changes.

Running the Collector

To start the collector, execute the follow commands:

To ensure the collector has started and is running, execute:

The collector can be stopped using:

If you want the collector to be started automatically when the system is booted, it must be enabled:

Last updated

Was this helpful?