Change SNMP Community String in Redhat 7.3

Posted on 2006-03-20
Last Modified: 2013-12-16
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?

Question by:jhartlov
    LVL 3

    Expert Comment

    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.
    LVL 1

    Author Comment

    I know where the file is, but it seems cryptic to me.  Can you help me edit it?
    LVL 3

    Accepted Solution

    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).


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    rdate is a Linux command and the network time protocol for immediate date and time setup from another machine. The clocks are synchronized by entering rdate with the -s switch (command without switch just checks the time but does not set anything). …
    Linux users are sometimes dumbfounded by the severe lack of documentation on a topic. Sometimes, the documentation is copious, but other times, you end up with some obscure "it varies depending on your distribution" over and over when searching for …
    Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
    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…

    779 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

    Need Help in Real-Time?

    Connect with top rated Experts

    18 Experts available now in Live!

    Get 1:1 Help Now