cancel
Showing results for 
Search instead for 
Did you mean: 
Create Post
Level 10

Solarwinds NPM 11 SNMP Trap Error in Logs

Jump to solution

I just upgraded to NPM 11.0 and NCM 7.3.1.

I'm trying to get my SNMP trap collection working again. I'm not receiving any traps in the Trap Viewer. When I look at the TrapService logs as soon as the Solarwinds Trap service is started, the very next message is:

ERROR Solarwinds.Orion.Core.Collector.MessageSender.MessageSender'1 - Data send Failed.

System.AggregateException: One or more errors occurred. ---> System.InvalidOperationException: There was an error generating the XML document.

It goes on to say a hex value is an invalid character. Any ideas? Re-run the install, or do I have a setting or service mis-configured somewhere?

1 Solution

see the NPM RC thread -- there is a fix there that worked for us:

  1. Please navigate to c:\Program Files (x86)\SolarWinds\Orion
  2. Locate the file SWTrapService.exe.config
  3. Locate

<add key="UseCollectorEndpoint" value="True"/>

  1. Change "True" to "False"
  2. Save the file.
  3. Load orion service manager found under start > solarwinds Orion > Advanced Features > Orion service manager.
  4. Locate the trap service. Stop it. Than restart it.

+1 for me


View solution in original post

11 Replies
Level 13

I've upgraded to 11.5RC and the flag went back to "true". I wonder if I have to change it or if the issue is fixed.

0 Kudos
Level 8

May God bless you and preserve you, Richard Letts

Level 13

I had the same issue, twice. I wish I had read this post before I call Tech support...

0 Kudos
Level 10

I rebooted the server, and then even repaired the NPM installation with no change.

see the NPM RC thread -- there is a fix there that worked for us:

  1. Please navigate to c:\Program Files (x86)\SolarWinds\Orion
  2. Locate the file SWTrapService.exe.config
  3. Locate

<add key="UseCollectorEndpoint" value="True"/>

  1. Change "True" to "False"
  2. Save the file.
  3. Load orion service manager found under start > solarwinds Orion > Advanced Features > Orion service manager.
  4. Locate the trap service. Stop it. Than restart it.

+1 for me


View solution in original post

It bit me too.  This fix worked for me. Thanks!

0 Kudos

Thank you! Thank you! Thank you!

I upgraded to 11 yesterday and have been fighting this all day!

0 Kudos

You are the man!!

0 Kudos

Looks like this needs to be added to 11.1 and hopefully is already in 12

0 Kudos

I agree.  Open a ticket.  This is something new and also needs to be tracked.  Sounds like something that may need a fix.  There should not be a configuration error that causes this.

0 Kudos

Probably best to open a support case on this one to troubleshoot real time.