I have configured snmp using # snmpconf -r none -g basic_setup
I have then followed the Integrating SNMP Traps document and installed the .rpm file that is suggested.
I have uploaded two MIB files via the Nagios web interface: TRIPPLITE-MIB.txt and USHAP.mib
Then, when I attempted to import each of the 2 new MIBs using the addmib file, I get the following (from within the /usr/share/snmp/mibs/directory)
Code: Select all
# addmib TRIPPLITE-MIB.txt
No log handling enabled - turning on stderr logging
Cannot find module (UPS-MIB): At line 27 in ./TRIPPLITE-MIB.txt
Did not find 'PositiveInteger' in module #-1 (./TRIPPLITE-MIB.txt)
Did not find 'NonNegativeInteger' in module #-1 (./TRIPPLITE-MIB.txt)
Code: Select all
# addmib USHAP.MIB
No log handling enabled - turning on stderr logging
Cannot find module (UPS-MIB): At line 75 in ./USHAP.MIB
Did not find 'PositiveInteger' in module #-1 (./USHAP.MIB)
Did not find 'NonNegativeInteger' in module #-1 (./USHAP.MIB)
EDIT: Upon searching a bit further, I saw where RFC1628.MIB is necessary (?). I figured I would give it a go and add it via the web interface, with the following result:
Code: Select all
Failed to convert all mibs in uploaded file.
Total translations: 5
Successful translations: 4
Failed translations: 1Code: Select all
Unknown object identifier: UPS-MIB::IMPORTSIs this a step that I missed in the documentation or a pre-req? Should I be concerned about the unknown object identifier error?