SNMP Installation and Configuration

To install the SNMP Agent Daemon and SNMP clients, type the following at a shell prompt (note that you must have superuser privileges to run this command):
yum install net-snmp net-snmp-libs net-snmp-utils                                                                                                      
 
 

The net-snmp package contains snmpd, the SNMP Agent Daemon. To start service run command:

   service snmpd start


To configure the service to be automatically started at boot time, use the following command:

  chkconfig snmpd on

To change the Net-SNMP Agent Daemon configuration, edit the /etc/snmp/snmpd.conf configuration file. (The default snmpd.conf file shipped with Red Hat Enterprise Linux 6 is heavily commented and serves as a good starting point for agent configuration)

Net-SNMP provides some rudimentary system information via the system tree. For example, the following snmpwalk command shows the system tree with a default agent configuration:

snmpwalk -v2c -c public localhost system   


You can access other default host monitoring statistics exposed by snmpget.

Example for checking system uptime:

snmpget -v 2c -c public localhost DISMAN-EVENT-MIB::sysUpTimeInstance

And example result is:
DISMAN-EVENT-MIB::sysUpTimeInstance = Timeticks: (86436983) 10 days, 0:06:09.83

To configure an SNMP version 2c community ("public" in the above example), use either the rocommunity or rwcommunity directive in the /etc/snmp/snmpd.conf configuration file.

The format of the directives is the following:

directive community [source [OID]]


To be Continued.....

Comments

  1. Hello There. I discovered your blog the use of msn.

    This is an extremely smartly written article.

    I'll make sure to bookmark it and return to learn more of your useful information. Thank you for the post. I will definitely comeback.
    Also visit my web blog ... Muscle Building Review

    ReplyDelete
    Replies
    1. thanks for your comment......this inspired me a lot to keep up my writing...

      Delete
  2. Good day! I know this is somewhat off topic but I was wondering which
    blog platform are you using for this website?
    I'm getting tired of Wordpress because I've had problems with hackers and I'm looking at alternatives for another platform. I would be awesome if you could point me in the direction of a good platform.
    Also visit my website :: need a general contractors orlando fl

    ReplyDelete
    Replies
    1. i developed this site using blogspot....u can also build ur own using their defined template.best of luck

      Delete
  3. It's awesome in support of me to have a web site, which is useful in favor of my know-how. thanks admin
    Also see my website: Trick Photography

    ReplyDelete
  4. It's enormous that you are getting ideas from this piece of writing as well as from our argument made at this time.
    Feel free to surf my web page - grow 3 inches

    ReplyDelete
  5. Hi, i read your blog from time to time and i own a similar one and i was just wondering
    if you get a lot of spam responses? If so how do you stop it, any plugin
    or anything you can recommend? I get so much lately it's driving me crazy so any assistance is very much appreciated.
    Feel free to surf my website ; royal caribbean

    ReplyDelete
    Replies
    1. i am not really getting that much spam.....so currently i am not using any technique to control it.

      Delete
  6. I love your blog.. very nice colors & theme. Did you create this website yourself or did you hire someone to do
    it for you? Plz reply as I'm looking to design my own blog and would like to find out where u got this from. many thanks

    Review my blog trademark attorney new jersey

    ReplyDelete
  7. Howdy outstanding blog! Does running a blog such as this
    require a large amount of work? I have very little knowledge of computer programming however I had been hoping to start my own blog in the near future.
    Anyhow, should you have any suggestions or tips for new blog owners please share.
    I understand this is off topic however I just wanted to ask.
    Thanks a lot!

    My weblog: independent

    ReplyDelete
  8. Excellent site you've got here.. It's hard to find high quality writing like yours these days.
    I truly appreciate individuals like you! Take care!
    !

    Feel free to visit my web page best free music download www.downloadshield.net

    ReplyDelete

Post a Comment

Popular Posts