Re: Getting SNMP traps working
Posted: Thu Aug 23, 2018 12:55 pm
I'm now attempting to import some Cisco MIBs for monitoring our UCS environment. When I try to do so through the web interface, by going to Admin -> Manage MIBs -> click the "Upload a MIB" button, and check the 'process trap' radio button, I keep getting the following:
"Uploaded file had one or more failed translations when converting to snmptt mib."
I'd like to completely rebuild the MIB database, as I can't get any MIBs to upload or install. Is there a collection of standard MIBs I could start with importing?
It seems like the MIB definitions with the numerical references are stored in /etc/snmp/snmptt.conf.nxti . When attempting to add a MIB, its text is added to /etc/snmp/snmptt.conf if successful.
the directories I know MIBs wind up in are:
/usr/share/snmp/mibs
/usr/share/snmp/mibs/processed_mibs
the commands I know to run are:
addmib
- use the web interface, upload with "process trap" selected.
When I run the SNMPwalk within Nagios for a Cisco UCS that I've checked has SNMP enabled and I'm using the correct community string, I can get top level traps, but anything of real value further down the SNMP tree isn't found, and I know I need to have the correct MIBs loaded for it to work.
Any help would be greatly appreciated.
"Uploaded file had one or more failed translations when converting to snmptt mib."
I'd like to completely rebuild the MIB database, as I can't get any MIBs to upload or install. Is there a collection of standard MIBs I could start with importing?
It seems like the MIB definitions with the numerical references are stored in /etc/snmp/snmptt.conf.nxti . When attempting to add a MIB, its text is added to /etc/snmp/snmptt.conf if successful.
the directories I know MIBs wind up in are:
/usr/share/snmp/mibs
/usr/share/snmp/mibs/processed_mibs
the commands I know to run are:
addmib
- use the web interface, upload with "process trap" selected.
When I run the SNMPwalk within Nagios for a Cisco UCS that I've checked has SNMP enabled and I'm using the correct community string, I can get top level traps, but anything of real value further down the SNMP tree isn't found, and I know I need to have the correct MIBs loaded for it to work.
Any help would be greatly appreciated.