Page 2 of 3

Re: Traps translation not happening in XI

Posted: Wed Jun 12, 2013 7:08 am
by MSPk
Hi Scott,
We have additionally uploaded one more mib file from Solarwinds server SolarWinds-Products.mib, but no use. Please find attached the mib file
SolarWinds-Products.txt

Nagios server is not able to translate/decode them, where else can we look for?
Also if the traps are translated then do we still see them under /var/log/snmptt? something like snmpttknown.log

Thanks!

Re: Traps translation not happening in XI

Posted: Wed Jun 12, 2013 4:57 pm
by abrist
Where did you download this mib (it is extremely small)?

Re: Traps translation not happening in XI

Posted: Thu Jun 13, 2013 1:37 am
by MSPk
we copied those mibs from our solarwinds server from location: c:\program files\solarwinds\common\
Another mib for snmp traps was attached in my first post.

Re: Traps translation not happening in XI

Posted: Thu Jun 13, 2013 9:58 pm
by MSPk
Hi All,
I have contacted Solarwinds Tech support, they are saying the two mibs uploaded in this post are only the mibs which we can use, the translation should easily happen with any third party monitoring tool. 1. Solarwinds-products.mib and 2. Solarwinds-Traps.mib

I still see them under "snmpttunknown.log", now I am afraid that we had already finalized on Nagios XI and about to start the procurement for one of our client.
Can someone please help here to decode this problem?


Thank you!

Re: Traps translation not happening in XI

Posted: Fri Jun 14, 2013 12:59 pm
by sreinhardt
This second solarwinds products, does appear to be the mib that the trap mib relies on. The products mib, only seems to rely on enterprises and snmpv2-smi, which should both be on your system. I see that you have uploaded this, however have you also done the addmib command to this products mib, then the trap mib? Also to you will need to restart the snmpd, snmptrapd, and snmptt daemons\service to get them to load these mibs into memory. Have all of these steps been completed:


Upload both mibs to XI server
addmib /path/to/SolarWinds-Products.txt
addmib /path/to/Solarwinds-trap-mib.txt
service snmpd restart
service snmptrapd restart
service snmptt restart

Are you then still seeing these in the unconfigured objects list?

Re: Traps translation not happening in XI

Posted: Tue Jun 18, 2013 5:52 am
by MSPk
Hi,
I have followed the below steps:
Upload both mibs to XI server
addmib /path/to/SolarWinds-Products.txt
addmib /path/to/Solarwinds-trap-mib.txt
service snmpd restart
service snmptrapd restart
service snmptt restart

I still dont see anything under unconfigured objects!

Re: Traps translation not happening in XI

Posted: Tue Jun 18, 2013 1:01 pm
by abrist
If they are being logged in "snmpttunknown.log", could you post a sample of the errors that are being logged?

Re: Traps translation not happening in XI

Posted: Wed Jun 19, 2013 6:11 am
by MSPk
Hi abrist,
There are no errors as such. Please find the sample output from snmpttsystem.log
Wed Jun 19 06:50:31 2013 SNMPTT v1.3 started
Wed Jun 19 06:50:31 2013 Loading /etc/snmp/snmptt.conf
Wed Jun 19 06:50:31 2013 Finished loading 733 lines from /etc/snmp/snmptt.conf
Wed Jun 19 06:50:31 2013 Changing to UID: snmptt (502)

also please find the latest trap from solarwinds server which is from snmpttunknown.log
Wed Jun 19 06:55:13 2013: Unknown trap (.1.3.6.1.4.1.11307.10) received from ip-10-0-0-10 at:
Value 0: ip-10-0-0-10
Value 1: 10.0.0.10
Value 2: 0:0:00:00.00
Value 3: .1.3.6.1.4.1.11307.10
Value 4: 10.0.0.10
Value 5:
Value 6: .1.3.6.1.4.1.11307
Value 7:
Value 8:
Value 9:
Value 10:
Ent Value 0: .1.3.6.1.4.1.11307.10.2=solarwinds
Ent Value 1: .1.3.6.1.4.1.11307.10.3=10.0.0.10
Ent Value 2: .1.3.6.1.4.1.11307.10.4=1
Ent Value 3: .1.3.6.1.4.1.11307.10.5=solarwinds
Ent Value 4: .1.3.6.1.4.1.11307.10.6=Node
Ent Value 5: .1.3.6.1.4.1.11307.10.7=1
Ent Value 6: .1.3.6.1.4.1.11307.10.1=
Ent Value 7: .1.3.6.1.4.1.11307.10.8=Alert me when a node goes down

Also can you also please let us know how do we find out if the traps which are received are known traps? is it still same at /var/log/snmptt ?

Re: Traps translation not happening in XI

Posted: Thu Jun 20, 2013 11:16 am
by sreinhardt
If you have logging enabled in snmptt.conf you should have the accepted traps logged in snmptt.log.

Re: Traps translation not happening in XI

Posted: Thu Jun 20, 2013 1:18 pm
by scottwilkerson
Items go into snmpttunknown.log if you do not have a corresponding mib added to the snmptt.conf (usually done through the add mib command).

I would guess you do not have the mib added that corresponds to .1.3.6.1.4.1.11307.10

It may or may not be on the system. I tried to find it on the internet and the closest I could find was someone else looking for the same thing

Code: Select all

thwack.solarwinds.com/thread/12513