Submit a ticketCall us

Have You Auto Renewed? If not, you're missing out.
The SolarWinds Renewal Program comes with a host of benefits including the most recent product updates, 24/7 technical support, virtual instructor-led training and more. Experience all of this with the convenience of Auto Renewal, and never worry about missing any of these great benefits. Learn More.

Home > Success Center > Network Performance Monitor (NPM) > Configure Net-SNMP for Linux devices

Configure Net-SNMP for Linux devices

Table of contents

Updated June 15, 2017

Overview

This article provides steps on how to fix issues with the presentation of the SNMP MIB and OID data that make information difficult to display in SolarWinds Orion.

 

What can happen is that the information presented to SolarWinds within a particular OID seems to be changing such that the static objects meant to be monitored via Universal Device Poller or Custom Poller are not consistently located at the same OID. This means that it is nearly impossible to use either an SNMP GET or GET TABLE request to consistently show something like a module or interface status if the OID does not consistently correspond to a status indicator, or does not consistently correspond to a particular module or interface with status, temperature, and so son, as a child OID.

 

For more information, visit  Configure Net-SNMP for *nix devices.

 

The data needs to be presented from Net-SNMP in a way that conforms with the way SolarWinds polls for SNMP data via Universal Device Pollers. This can be found in Monitor custom statistics based on MIBs and OIDs with Universal Device Pollers.

Environment

All Orion Platform versions

Steps

Note:  This is meant as a guide. Commands may be different as they are dependent on device versions and configurations.

  1. Install and set up Net-SNMP for basic SNMP monitoring on Linux Unix and Raspberry Pi systems. The purpose of this is to set up Net-SNMP to monitor status, CPU, memory, and volumes such as /, /etc/ and other directories. This configuration also enables monitoring processes running on the systems. Additional security such as locking to specific IPs and SNMPv3 is recommended.
  2. Update the system, and then install snmpd:
    sudo apt-get update
    sudo apt-get install snmpd
  3. Modify the snmpd.conf file to set up the configuration to monitor your system from across the network. The following configuration lets anyone read the SNMP data. These are the basics needed to start monitoring right away via SNMPv2:
    1. Open the snmpd.conf file in a text editor.
      sudo nano /etc/snmp/snmpd.conf
    2. Change the IP binding by changing the agent address:
      agentAddress udp:127.0.0.1:161
      Bind to all IP addresses:
      agentAddress 161
      Or to a specific IP:
      agentAddress udp:127.0.0.1:161,udp:192.168.1.2:161
      Modify and set a Community String line:
      rocommunity public
      (without the initial #)
  4. Restart the SNMP daemon:
    sudo /etc/init.d/snmpd restart

 

Last modified

Tags

Classifications

Public