LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 04-04-2014, 02:09 AM   #1
kgopi
LQ Newbie
 
Registered: Nov 2013
Posts: 4

Rep: Reputation: Disabled
centos 5.5 snmp services


Hi,
I am trying to enable snmp services and snmp agent mib for centos 5.5 version. Please help me how to configure snmp service in centos and how to load mib file for the centos.
I have to monitor the following performance metric using snmp in centos.
1. network traffic level
2. packet loss and packet error
 
Old 04-04-2014, 06:07 AM   #2
kirukan
Senior Member
 
Registered: Jun 2008
Location: Eelam
Distribution: Redhat, Solaris, Suse
Posts: 1,278

Rep: Reputation: 148Reputation: 148
1. First of all make sure Net-SNMP has been installed or not.
2. vi /etc/snmp/snmpd.conf place the following (backup the original snmpd.conf first)
Quote:
rocommunity wwnet
com2sec local localhost public
com2sec mynetwork 172.16.0.0/16 wwnet
group MyRWGroup v1 local
group MyRWGroup v2c local
group MyROGroup v1 mynetwork
group MyROGroup v2c mynetwork
## incl/excl subtree mask
view all included .1 80
## context sec.model sec.level prefix read write notif
access MyROGroup "" any noauth exact all none none
access MyRWGroup "" any noauth exact all all none
syslocation At server room
proc mysqld 6 0
proc httpd 10 1

disk / 50%
disk /usr 80%
disk /home 40%
disk /var 70%
disk /opt 80%

# Check for loads:
load 12 8 6

# Added for support of bcm5820 cards.
pass .1.3.6.1.4.1.4413.4.1 /usr/bin/ucd5820stat
3. Start snmpd /etc/init.d/snmpd start
4. Make sure no error is /var/log/messages
5. Do #snmpwalk -v2c -c public localhost
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] How do I enable snmp in centos? lhan17 Linux - Newbie 5 05-20-2012 01:53 AM
problem with snmp and centos 6 creatureofthedark Linux - Server 2 11-16-2011 01:50 PM
[SOLVED] SNMP Centos albye Linux - Newbie 1 05-19-2011 09:35 AM
Assistance with SNMP on Redhat/CentOS stuaz Linux - Newbie 2 12-11-2008 10:46 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 02:57 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration