[질문] net-snmp 설치했는데 동작을 안해여..

alicia99의 이미지

장비에 net-snmp 다음과 같이 설치하였습니다.

(1) configuration

CC=ppc_82xx-gcc AR=ppc_82xx-ar RANLIB=ppc_82xx-ranlib ./configure --host=ppc-linux

-- prefix=/mnt/ramdisk_jenny/usr/local --datadir=/usr/local/share --with-endianness=big

(2) make

(3) make install

(4) EXAMPLE.SAMPLE을 snmpd.conf 로 copy

(5) public으로 맞춰주고 ip network 대로 설정했습니다.

그리고 /usr/local/sbin/snmpd 를 실행하여 데몬을 띄웠습니다.

그런데 응답이 없어서 /var/log/snmpd.log 파일을 보니 아래와 같은 메세지가 출력되었습니다.

=> /var/log/snmpd.log

Warning: no access control information configured.
It's unlikely this agent can serve any useful purpose in this state.
Run "snmpconf -g basic_setup" to help you configure the snmpd.conf file for th
NET-SNMP version 5.1
pdu failed to be created
pdu failed to be created
pdu failed to be created
pdu failed to be created
pdu failed to be created
pdu failed to be created
pdu failed to be created
pdu failed to be created
pdu failed to be created
pdu failed to be created
pdu failed to be created
pdu failed to be created
pdu failed to be created
pdu failed to be created
pdu failed to be created
pdu failed to be created
pdu failed to be created
pdu failed to be created

무엇이 문제인가요?

박영선의 이미지

conf파일위치를 명시해서 띄워보시죠..

그리고 conf 파일도 다시 만들어보시구요..

snmpconf -g basic_setup

/usr/local/sbin/snmpd -c /etc/snmpd.conf

^^;;