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 명령을 날려 체크해줌.

+ Recent posts