Trying to make SNMP connection work


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,

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
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
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
A proven path to a career in data science

At Springboard, we know how to get you a job in data science. With Springboard’s Data Science Career Track, you’ll master data science  with a curriculum built by industry experts. You’ll work on real projects, and get 1-on-1 mentorship from a data scientist.

GEMCCAuthor Commented:
Yes and I set rocommunity to the proper name, but it is still not working.
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?
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.
GEMCCAuthor Commented:
I had the rocommunity set at name  Set to name only then it worked!  Thank you!
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.