Traps translation not happening in XI

This support forum board is for support questions relating to Nagios XI, our flagship commercial network monitoring solution.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Traps translation not happening in XI

Post 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!
You do not have the required permissions to view the files attached to this post.
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Traps translation not happening in XI

Post by abrist »

Where did you download this mib (it is extremely small)?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Traps translation not happening in XI

Post 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.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Traps translation not happening in XI

Post 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!
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Traps translation not happening in XI

Post 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?
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Traps translation not happening in XI

Post 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!
abrist
Red Shirt
Posts: 8334
Joined: Thu Nov 15, 2012 1:20 pm

Re: Traps translation not happening in XI

Post by abrist »

If they are being logged in "snmpttunknown.log", could you post a sample of the errors that are being logged?
Former Nagios employee
"It is turtles. All. The. Way. Down. . . .and maybe an elephant or two."
VI VI VI - The editor of the Beast!
Come to the Dark Side.
MSPk
Posts: 317
Joined: Fri Aug 24, 2012 12:03 am

Re: Traps translation not happening in XI

Post 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 ?
sreinhardt
-fno-stack-protector
Posts: 4366
Joined: Mon Nov 19, 2012 12:10 pm

Re: Traps translation not happening in XI

Post by sreinhardt »

If you have logging enabled in snmptt.conf you should have the accepted traps logged in snmptt.log.
Nagios-Plugins maintainer exclusively, unless you have other C language bugs with open-source nagios projects, then I am happy to help! Please pm or use other communication to alert me to issues as I no longer track the forum.
scottwilkerson
DevOps Engineer
Posts: 19396
Joined: Tue Nov 15, 2011 3:11 pm
Location: Nagios Enterprises
Contact:

Re: Traps translation not happening in XI

Post 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
Former Nagios employee
Creator:
Human Design Website
Get Your Human Design Chart
Locked