Figure 60: OpenNMS group definitions in datacollectionconfig.xml
Unfortunately OpenNMS does not have a MIB compiler so all MIB OIDs need to be manually specified in this file (the good news is that there are lots there outofthe box). Once groups of MIB variables are declared, system stanzas say which group(s) are to be collected for any device whose system OID matches a particular pattern. Each SNMP MIB variable consists of an OID plus an instance. Usually, that instance is either zero (0) or an index to a table. At the moment, OpenNMS only understands a small number of table indices (for example, the ifIndex index to the ifTable and the hrStorageIndex to the hrStorageTable). All other instances have to be explicitly configured. The ifType parameter can be used to specify the sort of interfaces to collect from. Legal values are: ●
83
all
collect from all interface types