OLT-ZTE-POP_CARMO#show snmp configuration
snmp-server location No.889 BiBo Rd.PuDong District, Shanghai, China
snmp-server contact +86-21-68895000
snmp-server packetsize 8192
snmp-server engine-id 80000f3e03d4c1c819ee1e01
snmp-server engine-id mode mac
snmp-server group GroupPriv0 v3 priv read AllView
snmp-server group GroupPriv5 v3 priv read AllView write ViewPriv5
snmp-server group GroupPriv10 v3 priv read AllView write ViewPriv10
snmp-server group GroupPriv15 v3 priv read AllView write AllView
snmp-server community TOMICH view rw ro
snmp-server community nKnmu5URiA view AllView rw
snmp-server view AllView 1.2 included
snmp-server view AllView 1.3 included
snmp-server view allview 1 included
snmp-server view ViewPriv5 1.2 included
snmp-server view ViewPriv5 1.3 included
snmp-server view ViewPriv5 1.3.6.1.4.1.3902.1082.10.1 excluded
snmp-server view ViewPriv5 1.3.6.1.4.1.3902.1082.10.10 excluded
snmp-server view ViewPriv5 1.3.6.1.4.1.3902.1082.20.1 excluded
snmp-server view ViewPriv5 1.3.6.1.4.1.3902.1082.20.10 excluded
snmp-server view ViewPriv10 1.2 included
snmp-server view ViewPriv10 1.3 included
snmp-server view ViewPriv10 1.3.6.1.4.1.3902.1082.20.10 excluded
snmp-server host 170.79.92.42 version 2c nKnmu5URiA enable NOTIFICATIONS target
-addr-name SNMP isnmsserver udp-port 161 trap-report-compatibility v20
snmp-server host 170.79.92.46 version 2c TOMICH enable NOTIFICATIONS target-add
r-name ZABBIX isnmsserver udp-port 161 trap-report-compatibility v20
OLT-ZTE-POP_CARMO#configure terminal
OLT-ZTE-POP_CARMO(config)#snmp-server community TOMICH view AllView rw
OLT-ZTE-POP_CARMO(config)#exit
OLT-ZTE-POP_CARMO#write
Backuping old configuration into flash...
Collecting configuration into memory...
Writing configuration into flash...[OK]
OLT-ZTE-POP_CARMO#
###Para remover:
OLT-ZTE-POP_CARMO(config)#no snmp-server community nKnmu5URiA view AllView rw
OLT-ZTE-POP_CARMO(config)#no snmp-server community nKnmu5URiA
###SALVAR
write
Visualizar no ZABBIX:
snmpwalk -v2c -c TOMICH 172.18.18.118 | head
Este artigo foi útil?
Que bom!
Obrigado pelo seu feedback
Desculpe! Não conseguimos ajudar você
Obrigado pelo seu feedback
Feedback enviado
Agradecemos seu esforço e tentaremos corrigir o artigo