dnf install "perl(SNMP)" "perl(XML::Simple)"
cd /usr/bin
wget https://raw.githubusercontent.com/cavaliercoder/mib2zabbix/master/mib2zabbix.pl
chmod +x mib2zabbix.pl
cd /usr/share/snmp/mibs/isilon
snmptranslate -Tz -m ./ISILON-MIB.txt
snmptranslate -Tz -m ./ISILON-MIB.txt | mib2zabbix.pl -o 1.3.6.1.4.1.12124 -f ISILON.xml -N Template-ISILON
snmptranslate -Tz -m ./ISILON-TRAP-MIB.txt | mib2zabbix.pl -o 1.3.6.1.4.1.12124 -f SNMP-traps-Isilon.xml -N Isilon-Traps
snmptranslate -Tz -m ./RUBRIK-MIB.txt | mib2zabbix.pl -o 1.3.6.1.4.1.49929 -f rubrik.xml -N Template-Rubrik
No comments:
Post a Comment