• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 240
  • 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 AbbasiAuthor 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

Featured Post

Who's Defending Your Organization from Threats?

Protecting against advanced threats requires an IT dream team – a well-oiled machine of people and solutions working together to defend your organization. Download our resource kit today to learn more about the tools you need to build you IT Dream Team!

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