분류 전체보기 (119)
Wi-Fi LED Matrix (1)
Code snippets (4)
Music (2)
MacOS & iOS (10)
Linux & Android (21)
Windows & WM (18)
Electronic (20)
Archived (32)
Trash Bin (10)
467,361 Visitors up to today!
Today 6 hit, Yesterday 59 hit
2007.04.11 10:52

FreeBSD

- 포트설치

#cd /usr/ports/net-mgmt/net-snmp
#make install clean

- 환경 설정

#vi /etc/rc.conf

snmpd_enable="YES"
snmpd_flags="-a -p /var/run/snmpd.pid"
snmptrapd_enable="YES"
snmptrapd_flags="-a -p /var/run/snmptrapd.pid"

- SNMP 환경 설정

#cp /usr/local/share/snmp/snmpd.conf.example /usr/local/share/snmp/snmpd.conf
#vi /usr/local/share/snmp/snmpd.conf

- SNMP START

#/usr/local/etc/rc.d/snmptrapd start
#/usr/local/etc/rc.d/snmpd start


Linux


- yum 시스템으로 설치

#yum install net-snmp net-snmp-devel net-snmp-libs net-snmp-perl net-snmp-utils

- SNMP 설정 수정

#vi /etc/snmp/snmpd.conf

- SNMP START

service snmpd start

- ETC

항상 그러는것처럼, 시스템 시작시 실행되게 하려면 ntsysv 명령을 날려 체크해줌.

신고