Solved

Trying to make SNMP connection work

Posted on 2016-11-08
7
95 Views
Last Modified: 2016-11-22
Hello,

I am trying to get the Dell Troubleshooting Tool for OSMA to connect correctly to openSUSE systems via SNMP.  The error I am receiving is:

The SNMP read request has failed for Get Community name - this-domain

I cannot figure out where to change the community name on the SUSE system.

Please advise.

Thank you,

Don
0
Comment
Question by:GEMCC
  • 3
  • 3
7 Comments
 
LVL 12

Accepted Solution

by:
Kent W earned 250 total points
ID: 41879466
If you have installed net-snmp-utils (which installs the snmp daemon 'snmpd', the config file is under /etc/snmp/snmpd.conf
The line you are looking for is
rocommunity public
Change "public" to whatever you want the ro community, restart snmpd.

If you have not installed net-snmp-utils, you can do so with the command
zypper install net-snmp-utils
1
 

Author Comment

by:GEMCC
ID: 41879511
I have net-snmp installed.  When I try to install net-snmp-utils I receive the error:

Package 'net-snmp-utils' not found
0
 
LVL 12

Expert Comment

by:Kent W
ID: 41879531
I don't have a SUSE box here to test directly, but I do believe net-snmp includes the -utils and phyton, from what I"m seeing.

Do you have a service named "snmpd" and an snmpd.conf? Usually found under /etc/snmp/snmpd.conf
0
Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

 

Author Comment

by:GEMCC
ID: 41879539
Yes and I set rocommunity to the proper name, but it is still not working.
0
 
LVL 12

Assisted Solution

by:Kent W
Kent W earned 250 total points
ID: 41879563
Are you getting the same read request error? And you did restart the snmpd service to re-read the config, right? (Sometimes it's the little things...)

DO you have a firewall blocking ports 161-162?
0
 
LVL 78

Assisted Solution

by:arnold
arnold earned 250 total points
ID: 41879875
Can you locally poll?
snmpwalk -v2c -c communityname localhost?

If that provides you a response, this means you have a software firewall blocking access to udp/TCP port 161
Open the port on the software firewall.
0
 

Author Closing Comment

by:GEMCC
ID: 41881025
I had the rocommunity set at name 127.0.0.1.  Set to name only then it worked!  Thank you!
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your business is like most, chances are you still need to maintain a fax infrastructure for your staff. It’s hard to believe that a communication technology that was thriving in the mid-80s could still be an essential part of your team’s modern I…
When it comes to security, there are always trade-offs between security and convenience/ease of administration. This article examines some of the main pros and cons of using key authentication vs password authentication for hosting an SFTP server.
Learn how to get help with Linux/Unix bash shell commands. Use help to read help documents for built in bash shell commands.: Use man to interface with the online reference manuals for shell commands.: Use man to search man pages for unknown command…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question