LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-01-2009, 04:58 PM   #1
jdnow09
Member
 
Registered: Jun 2009
Posts: 42

Rep: Reputation: 16
snmp config file


Hello,

Can somebody assist me with setting up the snmp so it would be polled.

I got the configuration to setup for the windows machine and it works. Now I need to setup linux.

------------------------
Under services, make sure the SNMP Service is set to Automatic, and the SNMP Trap Service is set to disabled.

Under services, modify the properties of the SNMP Service according to the specifications below:

Agent:
Contact: IT
Location: IT Room
Service: Defaults

Traps:
Blank for right now.

Security:
Send authentication trap: checked
Accepted community names: NW123 READ ONLY
NOTE: REMOVE public COMMUNITY STRING!
Accept SNMP packets from these hosts: 192.168.1.1 192.168.1.2 192.168.1.3


I already installed the net-snmp through yum (centos 5.3).

John
 
Old 09-01-2009, 06:23 PM   #2
jdnow09
Member
 
Registered: Jun 2009
Posts: 42

Original Poster
Rep: Reputation: 16
I removed the snmpd.conf file that was the system default.

Then I made a simple snmpd.conf with the following entries:


rocommunity NW123 192.168.1.1

rocommunity NW123 192.168.1.2

rocommunity NW123 192.168.1.3


It works. Unless somebody got a reason I should not be using the simpler config file.


John

Last edited by jdnow09; 09-01-2009 at 06:34 PM.
 
1 members found this post helpful.
  


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] net-snmp-config --delete? natalie.aloi Linux - Newbie 1 10-30-2010 08:49 AM
cacti, traffic stats and snmp - config prob? vimico Linux - Networking 10 07-13-2009 01:35 PM
snmp config mac_casey SUSE / openSUSE 2 11-11-2005 05:52 PM
snmp config trouble noisybastard Linux - Networking 2 05-09-2003 12:00 AM
snmp (ucd-snmp, net-snmp) markus1982 Linux - Software 1 11-21-2002 11:45 AM


All times are GMT -5. The time now is 05:06 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration