Hi I want to ask you how you can convert Mib files to XML for Zabbix?
I read about mib2zabbix.pl and about mib2template.pl, and I did see that the mib2template.pl work for me but with Mib file for Mikrotik.
I move all mib.txt files of Juniper to /usr/share/snmp/mibs/
When I run:
snmptranslate -m /usr/share/snmp/mibs/mib-jnx-fabric-chassis.txt -Tz | egrep '"1\.3\.6\.1\.4\.1\.[0-9]+"'
The result is:
"juniperMIB" "1.3.6.1.4.1.2636"
Now I run :
./mib2template.pl --module JUNIPER-FABRIC-CHASSIS --root 1.3.6.1.4.1.2636 --group Templates > mib-jnx-fabric-chassis.xml
And the result is:
2018-04-11 13:44:14 WARN> Parent OID .1.3.6.1.4.1.2636 belongs to JUNIPER-SMI, which isn't among the ones specified with --module option
Why with Juniper Mib files I cant generate xml template?
My question is how you can write template for Zabbix from Juniper MIB files?
They are not like Mikrotik, in Mikrotik case I see only one file in .mib extension.
In Juniper case I see only .txt files 140 + files...
I downloaded them from here:
https://www.juniper.net/documentation/software/index_mibs.html
Standard and Juniper Mibs, but with snmp builder and mib2zabbix and mib2template perl scripts I can't do template for Zabbix, I am successfully with onle few mibs from 140+ inside in both folders, Standard and Juniper Mibs.
I tryed with 17.3 Jun Os release mib txt files.
Where can I find more information about Juniper mibs and how to use them in Zabbix Server?
↧
QFX5110 and EX 2300 how to build template from MIB file for Zabbix 3.4+
↧