Comments (3)
That's a tricky one! Everyone's idea of "knows nothing" is different. The docs assume you understand the SNMP library and tools and Zabbix. Unfortunately, it's not a beginners tool.
The simpler I make the docs, the more assumptions I have to make about your setup, and the more support tickets I'll get when beginners aren't able to resolve the issues on their own. Unfortunately I don't have time to maintain this anymore and answer those tickets. That said, I want everyone to get value out of this tool.
If you are able figure things out, I'd welcome a PR to improve the docs.
Thanks for getting in touch.
from mib2zabbix.
Nice start point:
https://catonrug.blogspot.com/2018/04/generate-xml-from-mib-zabbix.html
from mib2zabbix.
@rafaelrs I think the person who wrote that link got it wrong...
Translate to template:
snmptranslate -Tz -m ./MIKROTIK-MIB.txt | mib2zabbix -o .1.3.6.1 -f ~/file.xml -e -G custom -N "Mikrotik auto" --disc-delay=60 --history=1 --trends=1
Not sure why he pipes output to mib2zabbix? It seems like he got it working by accident 😄
@cavaliercoder I think some basic usage examples could be useful. Then there could be a section about common problems that people have. For example I downloaded this tool and assumed it is going to do this -> This Perl script will generate a Zabbix v3 Template in XML format from an OID tree in a SNMP MIB file.
But it does not really work with MIB files directly. One needs to get the MIBS where normal SNMP tools can find etc. In that sense, it would have been very useful suggestions to install snmp
and snmp-mibs-downloader
packages for example...
Then I had to set (which was not even mentioned in the conf file, it said just comment this line out...)
$ cat /etc/snmp/snmp.conf
mibs +ALL
$
Then things started working all of a sudden....
from mib2zabbix.
Related Issues (20)
- [Question] How to load a particular MIB File HOT 4
- ./mib2zabbix.pl: No such file or directory HOT 1
- guide to implement HOT 4
- Unknown authentical protocol 'SHA' at /home/vagrant/bin/mib2zabbix line 243. HOT 1
- table entry does not have the 'Entry; suffix HOT 2
- OID .1.3.6.1.4.1.6247 not found in MIB tree HOT 5
- SQL duplicate key while importing template
- Circular data structures not supported (XML::Simple 2.22) HOT 18
- Not all traps was imported from MIB to XML HOT 5
- Smartmatch is experimental HOT 4
- mib2zabbix generates empty XML
- Template does not contain all parts of mib HOT 3
- Cannot find module - routerLR77V2L
- Version 5 HOT 2
- Zabbix 2.4 Template Schema Support HOT 12
- Low Level Discovery OID Error HOT 3
- NEW option for load MIB file HOT 4
- IF-MIB HC entries?
- Quoted literal in discoverd item HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mib2zabbix.