| Home | Docs | Support | Buy | Blog | Forums |
|
MIB BrowserSubmitted By: Kells Kearney (kpg123)DescriptionGraphical MIB navigator and OID browser with extended MIB functionality
InstallationAfter installing the ZenPack, you'll need to restart Zenoss (technically just Zope, but whatever :) in order to load everything properly. Note that this ZenPack has only been tested under FF2, FF3 and IE7 and seems to work for these browsers. UsageOnce you navigate to the Mibs tree (ie /zport/dmd/Mibs) you'll be able to access some new menu items: Download MIB... This item allows you to copy-n-paste URLs from different vendor's MIB files, such as http and ftp URLs. This option can understand tar files, zip files and plain MIBs, and will import them and show the results of the import in a new window. Install MIB... Named the same as the "Install ZenPack..." menu item, this will allow you to upload a MIB (in tar, zip or plain MIB format) to the Zenoss server. Once the MIB has been uploaded to the server, this option also shows the results of the import in a new window. Once a MIB has been loaded, you can start to see the difference between having the ZenPack and not having the ZenPack. Little magnifying glass icons appear in front of every MIB file, and if you click the magnifying glass it brings up a tree-based browser (ie one that understands the OID hierarchy, so that the OID x.2 follows x.1, not x.11). (It also loads a popup, so if you don't allow popups from your Zenoss server, you'll need to enable them, close down the new windows and try it again. A popup window is used so that you can expand the tree window to be as large as you like and still be able to view the contents of the OID.) The MIB browser is split up into three sections:
The menu bar shows the last time that the MIB was loaded from the Zenoss server. Menu items can be attached through the regular Zenoss method of using the Settings -> Menus tab. When using the Settings -> Menus tab, the menu key for the MIB Browser is "MIB_info". There are currently four tabs available:
The MIB browser shows you the description and other information about the MIB, and there are two trees which you can select from the MIB: Nodes and Traps. Any information not in the MIB (ie traps) will make part of the tree stop at the root (ie Nodes or Traps). You can expand or contract any portion of the tree that you wish, and the information about any node that you select will appear in the OID popup window. If you hover over a node, the truncated description of the OID will appear in the tooltip. By right-clicking on a Node or a Trap, you can select a menu item to bring up a new pop-up window which will run a SNMP version 1 snmpwalk on the defined test device and display the output starting from the OID that you've hovered over. Other details: Two extra routines are provided to make exploring Zenoss in XML a little easier: showXML and showMibasXML. showXML: This can be tacked on to the end of almost anywhere in the /zport hierarchy and it will show you what the XML will look like if the data were to be exported to disk. This tool allows you to gain a better intuitive understanding of how the Zenoss XML files will actually appear. The output is XML, so it relies on your browser's native XML-handling capability to show you the XML tree and allow you to navigate that tree. showMibasXML: This is like showXML, except that it only works from inside of the /zport/dmd/Mibs/mibs hierarchy, and it outputs the XML file in a similar format to what smidump produces. (smidump is the tool Zenoss uses to turn MIB files into Python code, which is then introduced into the Zope database.) Additionally, the XML tree of nodes and traps is produced sorted by OID. For reference, a much smaller and easier to code version that doesn't sort by OID (which is required for the browser) is included in the skins directory of the ZenPack. Limitations:
[return: ZenPack Project Site] |
