NetXMS Support Forum

English Support => General Support => Topic started by: stoo on March 11, 2008, 04:42:20 PM

Title: Traps not being matched with events
Post by: stoo on March 11, 2008, 04:42:20 PM
Server OS = Redhat (RHEL4 / Update 6)
NetXMS = 0.2.19

Console = 0.2.19 running on Windows XP.

I am trying to match SNMP Traps to NetXMS events. I managed to get this to work once, but now all traps show up in the Event logs as 'SNMP_UNMATCHED_TRAP'.

Steps followed (using http://tinyurl.com/25249y (http://tinyurl.com/25249y) as a reference):


At this point I was expecting any matching traps arriving at the box to be matched to the corresponding event, but instead they still show up as 'SNMP_UNMATCHED_TRAP' in the event log.

I have gone on to provide a matching rule in the 'Event Processing Policy' and restarted all components, but this has no effect. I can see nothing in the netxms log file (last entry refers to the server starting).

I did get the first trap working as expected. I could see no difference in the subsequent traps that I set up that did not work. I finally deleted all configs, to start again, and now none work.

Please can anybody point me in the direction of what I am missing?

Cheers Stooo.
Title: Re: Traps not being matched with events
Post by: Victor Kirhenshtein on March 11, 2008, 04:59:18 PM
Hello!

From the description looks like you have correctly configured everything. Could you please post screenshots of your trap configuration and actual traps from trap log (you can wipe out IP addresses if needed - I don't think they are important in this case)?

Best regards,
Victor
Title: Re: Traps not being matched with events
Post by: stoo on March 11, 2008, 06:53:16 PM
Hi Victor,

Thanks for getting back to me. Here are the screen grabs you requested. The event at 15:33:09 is the one I am interested in.

Event & Traps Logs:

(http://www.doofertronics.co.uk/netxms_images/event_and_traps_logs.jpeg)

Trap Configuration:

(http://www.doofertronics.co.uk/netxms_images/trap_config.jpeg)

Event Configuration:

(http://www.doofertronics.co.uk/netxms_images/event_config.jpeg)

For reference, the complete 'Varbinds' field from the Traps logs reads:

.1.3.6.1.4.1.674.10982.1.5000.10.1.0=='netxms_test'; .1.3.6.1.4.1.674.10892.1.5000.10.2.0=='.1.3.6.1.4.1.674.10892.1.600.12.1.2.1.2'; .1.3.6.1.4.1.674.10982.1.5000.10.3.0=='Power supply detected a failure Sensor location: Power Supply 2 Chassis locati


Cheers Stoo.
Title: Re: Traps not being matched with events
Post by: Victor Kirhenshtein on March 11, 2008, 10:04:51 PM
Hello!

Looks like typo or bug in MIB file if you select trap OID from MIB browser: in the trap log, trap OID is .1.3.6.1.4.1.674.10892.1.0.1354 while in trap configuration window it is .1.3.6.1.4.1.674.10982.1.0.1354.

Best regards,
Victor
Title: Re: Traps not being matched with events
Post by: stoo on March 12, 2008, 11:39:04 AM
Victor - sorry for wasting your time.  :-[ I had looked at those OID's over and over again yesterday and could not spot the typo. Of course now i have corrected it, everything works fine.

I have been looking at a bunch of software in this area and NetXMS has been head and shoulders above everything else I have tried. I am looking forward to what you have planned for future releases. Thanks.