Change SNMP Community String in Redhat 7.3

We are rolling out a SNMP monitor for our networking devices and servers.  Can someone tell me how to change the snmp community strings in Redhat 7.3?

Thanks!
LVL 1
jhartlovAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

sheetbirdCommented:
I'll assume this is ucd-snmp now know as net-snmp, it should be in a file called snmpd.conf, I'm not sure where it would be on RH 7.3 but probably in /etc ;  You could run "locate snmpd.conf" if you have findutils installed.  After altering the file you need to restart the snmpd.
0
jhartlovAuthor Commented:
I know where the file is, but it seems cryptic to me.  Can you help me edit it?
0
sheetbirdCommented:
look for "rocommunity" if it's the default install it should have "public" set as the community string.  rocommunity is for the read-only community string and rwcommunity is for the read-write community string.

If you can't find it look for public in the file or post your snmpd.conf (if you remove the comments it should be fairly short).

Thanks
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Linux

From novice to tech pro — start learning today.