Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 244
  • Last Modified:

snmp configuration in red hat

i have my monitoring server running on windows server 2008 r2 with CA monitoring software.now i want to configure snmp client to my redhat enterprise linux 6 .as i configure the community string in snmpd.conf file but i dont know where to put the snmp server parametrs and how i ll test that this setting is working good or not..
please gimme the step in details
0
kastro Abbasi
Asked:
kastro Abbasi
  • 2
1 Solution
 
gheistCommented:
A
First things first - you must be registered with RedHat (i.e rhn_check -v should come out without errors)
If not check if you can register with your boss etc.

B
How to install snmp?
yum provides /etc/snmp
yum install "x-y"
where x-y is package name from previous step

C
Where to write community string?
/etc/snmp/snmpd.conf

D
How to start snmpd?
service snmpd start

E
How to do so at boot?
chkconfig snmpd on

F
Veee it times out?
Allow 161/UDP with system-config-firewall-tui
0
 
kastro AbbasiIT consultantAuthor Commented:
Dear i already did this what u write above i know how to start/stop what is the config file and how to use yum.

i just want to know the right parameters in snmpd.conf file just to save the time.as this file contains lot of configuration and on google there are hunderds of ways which are confusing.

i have changed only this line

com2sec  notcofiguser 172.16.0.9  community

is it right or not.
0
 
gheistCommented:
Thats the right spot.
Add 127.0.0.1 too to easily check if SNMPD is responding before banging your head against fire-WALL
0
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.

Join & Write a Comment

Featured Post

Get expert help—faster!

Need expert help—fast? Use the Help Bell for personalized assistance getting answers to your important questions.

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now