NetXMS Support Forum

English Support => General Support => Topic started by: lindeamon on May 05, 2017, 05:13:43 PM

Title: varbinds are displayed incorrectly
Post by: lindeamon on May 05, 2017, 05:13:43 PM
Hi,

i use v2.0.8.
i have configured fortinet's core mib snmp traps and corresponding events.
i sent a test message which should have display the serial and sysname in varbinds 2,3.
in the trap monitor i see the correct data but on the event it is not.
i have tried checking the "never convert to hex" checkbox and no change.

Regards,
Lindeamon
Title: Re: varbinds are displayed incorrectly
Post by: lindeamon on May 05, 2017, 05:19:47 PM
want to update that when i use OID instead of position everything is displayed correctly
Title: Re: varbinds are displayed incorrectly
Post by: Victor Kirhenshtein on May 15, 2017, 10:26:53 PM
Hi,

could you please show screenshot of trap and trap mapping configuration (with all sensitive information masked, I only interested in configuration and actual OIDs in the trap)?

Best regards,
Victor
Title: Re: varbinds are displayed incorrectly
Post by: lindeamon on May 16, 2017, 11:45:18 PM
hi victor,

attached are the files u requested.

Best Regards,
Lindeamon
Title: Re: varbinds are displayed incorrectly
Post by: Tursiops on May 17, 2017, 02:31:18 AM
Hi lindeamon,

Not sure if I got that right, as I don't do a lot with SNMP traps, but it looks like the Trap OID you have in your mapping is not the same as the trap you are receiving?
Your mapping is for .1.3.6.1.4.1.12356.100.1.3.0.999, but the Trap OID is .1.3.6.1.4.1.12356.101.2.0.505?
The event log seems to be referencing event [100057] (by ID, not by name - does that event still exist?), not fnTrapTest (with ID 100067)?

Cheers
Title: Re: varbinds are displayed incorrectly
Post by: lindeamon on May 17, 2017, 07:38:13 AM
Hi Tursiops,

i will try to clarify. i have changed the events when i did the testings and i have posted the latest event to show the configuration in case i did something wrong.
i have screen shoot some events that i got to show what i get when i use POS and what i get when i use OID in the varbinds.
i have added a screenshot of the internal unmatched event to show that it displays the information correctly even though the event itself is configured the same i have configured mine.
i have found for ex. that configuring using POS in the traps related to my ibm tape library, it worked fine

cheers
Title: Re: varbinds are displayed incorrectly
Post by: Victor Kirhenshtein on May 17, 2017, 02:16:59 PM
Hi,

what if you set positions to 2 and 3 instead of 1 and 2?

Best regards,
Victor
Title: Re: varbinds are displayed incorrectly
Post by: lindeamon on May 17, 2017, 07:01:13 PM
Hi Victor,

you have taught in the past that %1 is saved for the trap itself and that POS 1 is %2 and POS 2 is %3 and this what i did in the 1st place and got the wrong info as shown in the screenshots.
i have also tried to check the "never convert to hex" and this didn't help too.

this traps belong to fortinet core mib with snmpv2 traps if that helps.

Best Regards,
Lindeamon
Title: Re: varbinds are displayed incorrectly
Post by: Tursiops on May 19, 2017, 07:06:38 AM
Hi,

I've been doing some testing with an informational trap which one of our systems generates every few minutes.

My first real excursion into SNMP traps, but I can't get the parameter to be passed using varbinds either.
It does not matter if I use POS:1, POS:2 or POS:3 (for the first and only varbind in this trap) and "Never convert value to hex string" makes no difference.

Setting up a mapping by object ID works perfectly fine.

Cheers
Title: Re: varbinds are displayed incorrectly
Post by: lindeamon on August 10, 2017, 06:06:43 PM
Hi Victor,

some thing happened along the way with varbind position.
i have upgraded one of my netxms to v2.1 and all my SNMP traps are showing incorrect data.
information of what suppose to be in POS:1, is incorrect.
my 1st post here talked about v2.0.8 but this system, if recall correctly, worked fine with v2.0.8
when i look at the snmp trap log, i see the varbinds in the right order as i expected. the alarm for some reason, takes the wrong value.
i do not wat to spend more time re-configuring all my snmp trap list

what can i do ?

Best Regards,
Lindeamon
Title: Re: varbinds are displayed incorrectly
Post by: Victor Kirhenshtein on August 10, 2017, 10:51:11 PM
Hi,

from description it seems like a bug. I'll try to reproduce it myself.

Best regards,
Victor
Title: Re: varbinds are displayed incorrectly
Post by: lindeamon on August 11, 2017, 10:45:54 AM
thank you very much, looking forward to solve this problem...
Title: Re: varbinds are displayed incorrectly
Post by: Victor Kirhenshtein on August 11, 2017, 03:09:41 PM
Hi,

just fixed this bug in development branch. Fix will be included in 2.1.1 patch release.

Best regards,
Victor
Title: Re: varbinds are displayed incorrectly
Post by: lindeamon on August 13, 2017, 01:35:05 PM
Hi Victor,

as always, thank you very much for all the help and for this awesome software.

Best Regards,
Lindeamon
Title: Re: varbinds are displayed incorrectly
Post by: lindeamon on August 14, 2017, 12:27:25 PM
Hi Victor,

can you please tell me when is this patch due ?
i get a lot of snmp traps which i can't understand.

Best Regards,
Lindeamon
Title: Re: varbinds are displayed incorrectly
Post by: Victor Kirhenshtein on August 15, 2017, 03:05:24 PM
Hi,

we plan 2.1.1 release this or next week.

Best regards,
Victor