SNMP Troubleshooting Guide

SNMP Troubleshooting Guide

1. Verify SNMP Agent Status

Before troubleshooting connectivity, ensure the SNMP agent is running on the target server.

Linux

ps -ef | grep snmpd

or

systemctl status snmpd

Windows

  • Open services.msc

  • Check SNMP Service

  • Ensure service is Running

  • Startup type should be Automatic

If SNMP service is not running, start it and retry.

2. Execute SNMP Walk (v1 / v2 Only)

If SNMP service is running, execute the troubleshooting script:

  • snmpwalk.bat (Windows)

  • snmpwalk.sh (Linux)

Navigate to:

AppManager/bin/troubleshooting

Usage

snmpwalk.bat  [version]  [community]  [port]  [hostname/IP]  [timeout]  [Manufacturer]

Defaults:

  • Version: v1

  • Community: public

  • Port: 161

  • Timeout: 5 seconds

What It Validates

  • SNMP connectivity

  • Discovery capability

  • Attribute data retrieval

If attributes show null, data is unavailable from SNMP agent.
If timeout occurs, check network/firewall/permissions.

Notes
Note: This script supports only SNMP v1 and v2. For v3, validate credentials and MIB access manually.

3. SNMP Configuration – Linux

SNMP configuration file location (varies by OS):

OSFile Location
Ubuntu / Debian/etc/snmp/snmpd.conf
RHEL / CentOS / Fedora/etc/snmp/snmpd.conf
FreeBSD/usr/local/etc/snmpd.conf
Solaris/etc/net-snmp/snmp/snmpd.conf

Step 1: Take Backup

sudo cp /etc/snmp/snmpd.conf /etc/snmp/snmpd.conf.bak

Step 2: Ensure SNMP Agent Listens on All Interfaces

Comment this line:

#agentaddress 127.0.0.1,[::1]

Add:

agentAddress udp:161,udp6:[::1]:161

Step 3: Configure Community (SNMP v1/v2)

Grant full access:

rocommunity <community_string>

Restrict to specific IP:

rocommunity <community_string> <IP>

Example:

rocommunity public default
rwcommunity private 10.10.10.0/24

Step 4: Configure SNMP v3

Grant access:

rouser <snmpv3_user>

For subtree access:

view sysView included .1.3.6.1.2.1
rouser user1 authpriv -V sysView

Step 5: Restart SNMP Service

systemctl restart snmpd

Required MIB Access

Ensure access to:

  • HOST-RESOURCES-MIB (.1.3.6.1.2.1)

  • UCD-SNMP-MIB (.1.3.6.1.4.1.2021)

4. SNMP Configuration – Windows

A. Enable SNMP Feature

For Windows Server 2016 / 2019 / 2022 / Windows 10+

  1. Open Control Panel

  2. Go to Programs → Turn Windows features on or off

  3. Enable Simple Network Management Protocol (SNMP)

  4. Click OK

B. Configure SNMP Service

  1. Open Services (services.msc)

  2. Right-click SNMP Service → Properties

  3. Go to Security tab

Add Community String

  1. Click Add

  2. Enter community name (case-sensitive)

  3. Select permission level (Read Only recommended)

  4. Click Add

Configure Accepted Hosts

Choose one:

  • Accept SNMP packets from any host

  • Accept SNMP packets only from specified hosts (Recommended)

If restricting, add the Applications Manager server IP.

Set Startup Type

  • Startup type: Automatic

  • Click Apply → OK

5. SNMP Timeout / Connectivity Checklist

If you get "Request Timed Out":

  1. Ping target device from Applications Manager server

  2. Ensure UDP port 161 is open

  3. Verify firewall rules

  4. Confirm correct SNMP version and credentials

  5. Increase timeout value in monitor settings

6. When to Contact Support

If issue persists, share:

This helps us analyze and provide RCA quickly.


                  New to ADSelfService Plus?

                    • Related Articles

                    • Real User Monitor (RUM) - Troubleshooting

                      If the monitor has not polled data for a long time, follow the below steps for troubleshooting. Step 1: Check the RUM Agent configuration Real User Monitor requires the RUM Agent to be installed and mapped to the Applications Manager. Refer this help ...
                    • REST API Monitor Troubleshooting Guide

                      Whether you're adding a new REST API monitor or troubleshooting an existing one, the following steps can help resolve common issues. Troubleshooting 4xx Error Codes (e.g., 401, 403) Check Request Configuration: Verify that the correct HTTP method ...
                    • APM Insight - Agents Troubleshooting and Compatibility Guide

                      To optimize performance and simplify troubleshooting, please provide the following details for each agent and cross-verify the compatibility using the provided help pages: Java Agent Application Server & Version: __________________ [e.g., Apache ...
                    • SQL Server Kerberos Configuration Troubleshooting Guide

                      Step 1: Verify Kerberos Configuration in AppManager Step 2: Check Hostname and Domain Step 3: Verify Service Principal Name (SPN) Configuration Step 4: Check krb5.ini Configuration Step 5: Ensure System Clock Synchronization Step 6: Check Ticket ...
                    • PHP Monitor Troubleshooting

                      PHP Monitor Errors and Troubleshooting Guide Check if the phpstats.php file in the webserver's document root. Ensure there are no modifications done in phpstats.php file Check if the given PHP path is correct. Retry with the "SSL is enabled" option ...