728x90
반응형
Compile default SNMP agent
cd net-snmp-5.1.1
./configure --prefix=“/usr/local/net-snmp”
make
umask 022
make install
Install SNMP perl module for using mib2c
cd net-snmp-5.1.1
cd perl
perl Makefile.PL -NET-SNMP-CONFIG=“sh ../net-snmp-config” -NET-SNMP-IN-SOURCE=true
make
make test
make install
Compile the private MIB file using mib2c
cd net-snmp-5.1.1
cd local
mkdir cluster
copy the private mib in the current directory
ex) cp ~mjchoi/cluster.my ./cluster.my
export MIBS=ALL
MIBS=./cluster.my
mib2c -c mib2c.scalar.conf generalInfo
mib2c -c mib2c.scalar.conf currentStatus
mib2c -c mib2c.array-user.conf loadBalancer
mv generalInfo.* cluster
mv currentStatus.* cluster
mv loadBalancer.* cluster
cp –r cluster ../agent/mibgroup/.
반응형
'[Develope] > Network' 카테고리의 다른 글
ADSL, VDSL xDSL 개요 및 설명자료 (0) | 2006.06.11 |
---|---|
eth0의 트래픽량을 보여주는 코드 (0) | 2005.12.06 |
[펌] [SNMP]snmpd.conf 설정 메뉴얼 (0) | 2005.10.27 |
MSN Messenger Protocol (0) | 2005.10.19 |
[펌] [Solaris] ifconfig 사용법... (0) | 2005.08.26 |