Page 3 of 3
Re: Traps translation not happening in XI
Posted: Thu Jun 20, 2013 1:34 pm
by c6391925
There are two MIB files which we loaded: SolarWinds-Products.mib and SolarWinds-Traps1.mib. See attachments.
A few ideas:
1) Is the order in which the files are added to the MIB database important?
2) Is it possible that there is a difference in PC format vs. Linux format (CR+NL vs. NL) or is it safe to presume XI handles that for us?
3) Is it clear from the MIB files that another MIB file is required?
I needed to rename the dot MIB files to dot txt for uploading here.
SolarWinds-Products_mib.txt
SolarWinds-Traps1_mib.txt
Re: Traps translation not happening in XI
Posted: Thu Jun 20, 2013 1:56 pm
by sreinhardt
1) yes mibs can have dependencies, and the solarwinds mibs most definitely do.
2) It is never safe to assume a tool will accommodate different line endings. In this case, it is also not particular to nagios, but snmptt. You can always check with vim or another tool.
3) It absolutely should be, you will see an import line towards the top that states what it needs. You can also determine what oids each mib works with by reading through them.
The file extensions don't seem to matter for mibs, I have seen .mib, .txt, and no extn. As a side note, are you a part of the same group as mspk? If not it would be best to create a new thread.
Re: Traps translation not happening in XI
Posted: Thu Jun 20, 2013 2:04 pm
by c6391925
Yes, I am part of the same group as MSPk.
So the file format which we seek is strictly NL at the end of each line? It seemed to me that XI was looking for a ".txt" file format, but the file it stores in the MIB directory was without the .txt. This lead me to believe that XI was doing the file format conversion. I will do some checking.
We cannot trust a successful "addmib" command as acknowledgement that the MIB was properly added?
Is there anyway to know that we have addressed all the proper dependencies and loaded the MIBs in the proper order?
Thank you!
Re: Traps translation not happening in XI
Posted: Fri Jun 21, 2013 9:34 am
by sreinhardt
Interesting, it really should not be modifying the files at all, extension, line endings, or anything. It also should not really be looking for a specific extension as far as I know.
We cannot trust a successful "addmib" command as acknowledgement that the MIB was properly added?
I guess I should have worded that better. I don't trust a tool to change a file or accommodate for it, however if something says it was added successfully such as addmib, I would certainly hope it is!
As for dependencies, I honestly am not sure. I would think between errors with various tools and in the error logs I would think something will tell you.
Re: Traps translation not happening in XI
Posted: Thu Jul 04, 2013 10:05 pm
by MSPk
Hi All,
We are now getting the traps from Solarwinds as "known", We have added the line .1.3.6.1.4.1.11307.10 to the /etc/snmp/snmptt.conf
Now this leads to another question i.e how do we display the multiple alerts in Nagios XI, I will be posting a separate thread for it.
Thanks All for following it up and helping us to get the traps coming in! I really appreciate

Re: Traps translation not happening in XI
Posted: Mon Jul 08, 2013 1:52 pm
by scottwilkerson
Awesome. I have one of the guys here trying a couple things to see if we can grab one of the values from the trap to set the host.
We will follow up in the other thread.
http://support.nagios.com/forum/viewtop ... 1062#57310