Network Management

Syslog and Traps messages sent to all pollers are being discarded due to an incorrect Settings Value for OLM

You may not see any new syslog/trap messages being saved in the database. The service is discarding it because it cannot find the node assigned to the IP address from which the message came.

First published date

4/4/2025 4:33 PM

Last published date

4/27/2026 6:03 PM

Overview

Syslog/Trap messages are not being shown in the SolarWinds Platform Web Console. 

All OLM services are running, and the device is configured to send Syslog/Trap messages correctly according to its settings.

 

 

Product section

Log Analyzer

Cause

Specific Error in Syslog/Trap Service logs:

XXXX-XX-XX XX:XX:XX,XXX [XX] ERROR SolarWinds.Orion.LogMgmt.LogServices.Common.NodeMapper.NodeInfoIndex - Failed to refresh node cache.
System.ServiceModel.CommunicationException: The server did not provide a meaningful reply; this might be caused by a contract mismatch, a premature session shutdown or an internal server error.
   at SolarWinds.ApiProxyFactory.ApiProxy`2.ApiCallInterceptor.<>c__DisplayClass9_1`1.<HandleAsyncWithResult>b__2()
   at SolarWinds.ApiProxyFactory.ApiProxy`2.ApiCallInterceptor.EnsureChannelIsCachedBackOrReleased(IInvocation invocation, Action action)
   at SolarWinds.ApiProxyFactory.ApiProxy`2.ApiCallInterceptor.<>c__DisplayClass9_0`1.<HandleAsyncWithResult>b__1(Task`1 t)
   at System.Threading.Tasks.ContinuationResultTaskFromResultTask`2.InnerInvoke()
   at System.Threading.Tasks.Task.Execute()
--- End of stack trace from previous location where exception was thrown ---
   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
   at SolarWinds.Orion.LogMgmt.LogServices.Common.NodeMapper.NodeInfoIndex.<RefreshNodeInfoIndex>d__29.MoveNext()

 

Resolution

 

Run this SQL query to check if there's an invalid SettingValue set in the nodes for OLM:

-- Scripts are not supported under any SolarWinds support program or service.
-- Scripts are provided AS IS without warranty of any kind. SolarWinds further
-- disclaims all warranties including, without limitation, any implied warranties
-- of merchantability or of fitness for a particular purpose. The risk arising
-- out of the use or performance of the scripts and documentation stays with you.
-- In no event shall SolarWinds or anyone else involved in the creation,
-- production, or delivery of the scripts be liable for any damages whatsoever
-- (including, without limitation, damages for loss of business profits, business
-- interruption, loss of business information, or other pecuniary loss) arising
-- out of the use of or inability to use the scripts or documentation.

SELECT N.Caption,n.IP_Address,NS.SettingName,NS.SettingValue from NodeSettings as NS
RIGHT JOIN Nodes as N on N.NodeID = NS.NodeID
WHERE settingname = 'OLM.MonitorNode' and settingvalue not in (0,1,2)

If only a few nodes are affected, you can update the OLM setting under Nodes Properties Page:

Set the status to either Enable, Disable, or Default (if applicable) to update the values in the database.

For Bulk change, run this query using SQL Management Studio or Solarwinds Database Manager on the Main Database:

UPDATE NodeSettings
SET SettingValue = 2
WHERE SettingName = 'OLM.MonitorNode' and SettingValue NOT IN (0,1,2)

-- Scripts are provided AS IS without warranty of any kind. SolarWinds further
-- disclaims all warranties including, without limitation, any implied warranties
-- of merchantability or of fitness for a particular purpose. The risk arising
-- out of the use or performance of the scripts and documentation stays with you.
-- In no event shall SolarWinds or anyone else involved in the creation,
-- production, or delivery of the scripts be liable for any damages whatsoever
-- (including, without limitation, damages for loss of business profits, business
-- interruption, loss of business information, or other pecuniary loss) arising
-- out of the use of or inability to use the scripts or documentation.
-- Scripts are not supported under any SolarWinds support program or service.

This will set all setting values for nodes with SettingName OLM.MonitorNode and its value to 2 (Default), whose value is not in the 0,1,2 respectively.

Once updated, It may take 10 minutes for the service to update the cache of the NodeID in the LogEntryMessageSource Table. You can restart the OLM services on the main Poller for it to perform the NodeID Cache during its service startup.