LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   snmp config file (https://www.linuxquestions.org/questions/linux-newbie-8/snmp-config-file-751898/)

jdnow09 09-01-2009 03:58 PM

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

jdnow09 09-01-2009 05:23 PM

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


All times are GMT -5. The time now is 02:30 PM.