Comments (4)
Thanks for posting your question. mib2zabbix relies on the NetSNMP library to traverse MIB files. NetSNMP requires that MIB files be loaded from the directory you described, or $HOME/.snmp/mibs
. Please see the NetSNMP documentation for more information on loading MIB files.
Once the MIB file is loaded into the MIB tree, you can select the OID which you wish to generate a Zabbix template for, by specifying the -o
flag when you call mib2zabbix. MIB files typically contain multiple root OIDs, so it's worth inspecting the file to decide which part of the tree you wish to generate a template for. If no OID is given, the entire tree is exported to a template, as you have experienced.
from mib2zabbix.
Ok, I see that I misunderstodd the use of mib2zabbix at the first time.
Thank you for your answer
from mib2zabbix.
I'm glad you asked, thank you. This may help others too. I need to put together a tutorial soon!
from mib2zabbix.
i need one, i am tottaly lost on this!
from mib2zabbix.
Related Issues (20)
- ./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
- Please give examples of usage HOT 3
- 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.