Documentation forSolarWinds Platform

Poll SNMP information with an agent

This topic applies only to the following SolarWinds Platform products:

Hybrid Cloud Observability EssentialsHybrid Cloud Observability Advanced

DPAIMLANAMNPMSAMSCMSRMVMAN*

Only agents deployed on Linux/Unix-based computers can poll for SNMP information. You must install an SNMP package to poll for information. Agents support gathering information from SNMP v2 and v3.

SNMP polling provides the following types of information:

  • Location or contact information
  • Information used for Hardware Health
  • Information used for Asset Inventory

Poll SNMP on AIX computers

AIX does not support polling SNMP v3 in encrypted mode.

To poll SNMP details correctly, you need to manually enable the SNMP daemon:

  1. Log in to the AIX computer where you deploy the agent software.
  2. Go to the configuration file and specify the SNMP configuration. You can use the following examples recorded in the /etc/snmpdv3.conf file as a reference:

    # Two snmpv1 community strings: public commstr1

    VACM_GROUP group1 SNMPv1 public -

    VACM_GROUP group1 SNMPv1 commstr1 -

    VACM_VIEW group1view internet - included -

    VACM_ACCESS group1 - - noAuthNoPriv SNMPv1 group1view - - -

    COMMUNITY public public noAuthNoPriv 0.0.0.0 0.0.0.0 -

    COMMUNITY commstr1 commstr1 noAuthNoPriv 0.0.0.0 0.0.0.0 -

     

    # snmpv2c community string: swiagent

    VACM_GROUP group2 SNMPv2c swiagent -

    VACM_VIEW group2view internet - included -

    VACM_ACCESS group2 - - noAuthNoPriv SNMPv2c group2view - - -

    COMMUNITY swiagent swiagent - 0.0.0.0 0.0.0.0 -

    COMMUNITY public public - 0.0.0.0 0.0.0.0 -

     

    # snmpv3 user with no authorization: user1

    USM_USER user1 - none - - - - -

    VACM_GROUP group4 USM user1 -

    VACM_VIEW group4view internet - included -

    VACM_ACCESS group4 - - noAuthNoPriv USM group4view - - -

     

    DEFAULT_SECURITY no-access - -

     

    logging file=/usr/tmp/snmpdv3.log enabled

    logging size=100000 level=3

  3. Test the configuration:
    • To test SNMPv1, use the snmpdinfo or clsnmp.
    • To test SNMPv3 and v3 requests, use clsnmp and make sure you have clsnmp configured. The following configuration file /etc/clsnmp.conf matches the /etc/snmpv3.conf example:

      v2cstring localhost snmpv2c

      v3user_noauth localhost snmpv3 user1 - - - - - - -

Agents deployed on your AIX computers can now successfully poll SNMP information.

The scripts are not supported under any SolarWinds support program or service. The scripts are provided AS IS without warranty of any kind. SolarWinds further disclaims all warranties including, without limitation, any implied warranties of merchantability or of fitness for a particular purpose. The risk arising out of the use or performance of the scripts and documentation stays with you. In no event shall SolarWinds or anyone else involved in the creation, production, or delivery of the scripts be liable for any damages whatsoever (including, without limitation, damages for loss of business profits, business interruption, loss of business information, or other pecuniary loss) arising out of the use of or inability to use the scripts or documentation.