Trying to make SNMP connection work

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
GEMCCAsked:
Who is Participating?
 
Kent WConnect With a Mentor Sr. Network / Systems AdminCommented:
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
 
GEMCCAuthor Commented:
I have net-snmp installed.  When I try to install net-snmp-utils I receive the error:

Package 'net-snmp-utils' not found
0
 
Kent WSr. Network / Systems AdminCommented:
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
Improve Your Query Performance Tuning

In this FREE six-day email course, you'll learn from Janis Griffin, Database Performance Evangelist. She'll teach 12 steps that you can use to optimize your queries as much as possible and see measurable results in your work. Get started today!

 
GEMCCAuthor Commented:
Yes and I set rocommunity to the proper name, but it is still not working.
0
 
Kent WConnect With a Mentor Sr. Network / Systems AdminCommented:
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
 
arnoldConnect With a Mentor Commented:
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
 
GEMCCAuthor Commented:
I had the rocommunity set at name 127.0.0.1.  Set to name only then it worked!  Thank you!
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.