네트워크/SNMP

[SNMP] net-snmp 설정

까망후니 2016. 2. 15. 09:59

..../net-snmp/mibs/Makefile.mib


...


MIBS =  SNMPv2-TC.txt SNMPv2-TM.txt SNMPv2-SMI.txt SNMPv2-MIB.txt \

        SNMPv2-CONF.txt HCNUM-TC.txt INET-ADDRESS-MIB.txt \

        SNMP-FRAMEWORK-MIB.txt SNMP-MPD-MIB.txt SNMP-USER-BASED-SM-MIB.txt \

..... 

       SCTP-MIB.txt\

       FUJITSU-EXTENDED-NONOS-AWN-MIB-V06.txt     <--------추가(내가 추가할 mib)

......

FUJITSU-EXTENDED-NONOS-AWN-MIB-V06.txt:  $(MIBDEPS)
        ./mibfetch $(RFCHOST) $(RFCDIR) 1212                   <--------추가(내가 추가할 mib)




..../net-snmp/mibs/Makefile.in

FUJITSUMIBS = FUJITSU-EXTENDED-NONOS-AWN-MIB-V06.txt

MIBS    = $(V1MIBS) $(V2MIBS) $(V3MIBS) $(RFCMIBS) \
        $(AGENTMIBS) $(IANAMIBS) \
        $(NETSNMPMIBS) $(UCDMIBS) $(DEFAULTMIBS) $(FUJITSUMIBS)



..../net-snmp/mibs/Makefile

FUJITSUMIBS = FUJITSU-EXTENDED-NONOS-AWN-MIB-V06.txt

MIBS    = $(V1MIBS) $(V2MIBS) $(V3MIBS) $(RFCMIBS) \
        $(AGENTMIBS) $(IANAMIBS) \
        $(NETSNMPMIBS) $(UCDMIBS) $(DEFAULTMIBS) $(FUJITSUMIBS)