Introduction
Generate those infamous .def files with the help of this module, to make them as accurate and reliable as possible. Email me the resulting .def files by clicking on
, if they're 100% working and I'll include them in the distribution.
Usage
Preparation
You'd usually click on a sysobjid column of an unknown device in Devices-List or
in Devices-Status. This will add an IP address and SNMP community along with the sysobjid you wish to take care of. Alternatively you can add those values manually and click on the
button to update the form.
In case there's an existing .def file in html/log already, it's values will be filled into the form. This should make it easy for you to improve existing definitions at a later stage. This comes in handy as well, when you copy a .def file from a similar device from sysobj to html/log/ (adjusting the sysobjid) to get your usnupported unit going.
Here's some useful information on Sysobjids:
Cisco
I also recommend watching the DefGen Tutorial!
Process
Now you're ready to actually work in the .def file. You find templates to the right of each section, which suggest some OIDs. You can test them by clicking on the
get and
walk button.
- Hover over the input fields, to get hints on what to fill in.
- Find the most official type (there's usually a sticker with a barcode somewhere).
- Select the icon according to the GUI docs on the NeDi Homepage.
- Contact me, if you need a new OS selection.
- Some vendors use vlan community indexing to get Bridge forwarding information on the switches.
- Some vendors use twice the bandwidth to indicate fullduplex. Just use 'doublespeed' as keyword for IF Duplex.
- Only populate the Alias- Duplex- and Vlan- Index fields, if they're not the same as the interface indexes.
- If MAU type (1.3.6.1.2.1.26.2.1.1.11) is used, no actual duplex values are required.
- Use modifiers to multiply/divide temperature and memory if necessary. The latter also accepts % if the value reflects percentage of available memory or -% in the case of used memory.
- Add an "N" to an OID, if of the last number can vary for CPU or temperature.
Details
- Add additional comments on top by a leading #
- Once you start editing the text area, the inputs above will be locked to prevent accidental input.