Mudanças entre as edições de "Configurando e importando MIBs Terceiros"
Ir para navegação
Ir para pesquisar
(Criou página com ''''1. INSTALAR SNMP'''<br> yum -y install net-snmp net-snmp-utils '''2. BAIXAR A MIB'''<br> wget http://www.circitor.fr/Mibs/Mib/G/GEPON-OLT-COMMON-MIB.mib -P /tmp/ '''3....') |
|||
Linha 10: | Linha 10: | ||
cp /tmp/GEPON-OLT-COMMON-MIB.mib /usr/local/share/snmp/mibs | cp /tmp/GEPON-OLT-COMMON-MIB.mib /usr/local/share/snmp/mibs | ||
− | '''4.HABILITAR SNMPD E REINICIAR ZABBIX'''<br> | + | '''4. SE O SO FOR UBUNTU, NECESSÁRIO INSTALAR PACOTE ABAIXO''' |
+ | apt-get install snmp-mibs-downloader | ||
+ | |||
+ | '''5.HABILITAR SNMPD E REINICIAR ZABBIX'''<br> | ||
systemctl start snmpd | systemctl start snmpd | ||
systemctl enable snmpd | systemctl enable snmpd | ||
systemctl restart zabbix-server | systemctl restart zabbix-server |
Edição atual tal como às 19h15min de 31 de julho de 2022
1. INSTALAR SNMP
yum -y install net-snmp net-snmp-utils
2. BAIXAR A MIB
wget http://www.circitor.fr/Mibs/Mib/G/GEPON-OLT-COMMON-MIB.mib -P /tmp/
3. CRIAR A PASTA DE MIBS E COPIA-LA PARA O LOCAL
mkdir -p /usr/local/share/snmp/mibs grep -q '^mibdirs +/usr/local/share/snmp/mibs' /etc/snmp/snmp.conf 2>/dev/null || echo "mibdirs +/usr/local/share/snmp/mibs" >> /etc/snmp/snmp.conf cp /tmp/GEPON-OLT-COMMON-MIB.mib /usr/local/share/snmp/mibs
4. SE O SO FOR UBUNTU, NECESSÁRIO INSTALAR PACOTE ABAIXO
apt-get install snmp-mibs-downloader
5.HABILITAR SNMPD E REINICIAR ZABBIX
systemctl start snmpd systemctl enable snmpd systemctl restart zabbix-server