Solved

snmp configuration in red hat

Posted on 2014-12-21
3
226 Views
Last Modified: 2015-01-11
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
Comment
Question by:kastro Abbasi
  • 2
3 Comments
 
LVL 62

Accepted Solution

by:
gheist earned 500 total points
ID: 40514499
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
 

Author Comment

by:kastro Abbasi
ID: 40514620
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
 
LVL 62

Expert Comment

by:gheist
ID: 40515688
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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The article explains the protocols and technology which is involved when two computers on different TCP/IP networks communicate with each other. In the diagram, a router is used to segregate two networks. The networks are 192.168.1.0/24 and 192…
BIND is the most widely used Name Server. A Name Server is the one that translates a site name to it's IP address. There is a new bug in BIND (https://kb.isc.org/article/AA-01272), affecting all versions of BIND 9 from BIND 9.1.0 (inclusive) thro…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

790 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