Applications Systems

Component monitor status appears as Not Licensed in SAM

This article resolves an issue where the status of a component monitor appears as Not Licensed in the Orion Web Console even though you have an unlimited (ALX) SAM license. The License Details page in the Orion Web Console displays zero for unlicensed component monitors.

First published date

10/16/2018 6:30 PM

Last published date

10/10/2023 3:49 AM

Overview

With a SAM ALX component-based license, the status for a component monitor appears as Not Licensed in the Orion Web Console even if you have an unlimited license. The License Details page in the Orion Web Console displays zero for unlicensed component monitors.
Note: SAM now offers node-based licensing. See the SAM Licensing Model for details.

Product section

Server Application Monitor

Cause

N/A

Resolution

Resolution 1

  1. Examine the OrionServers table in the database to ensure that the primary polling engine (the Orion server), Additional Polling Engines (APEs), and any Additional Web Servers all run the same version of the Orion Platform, including hotfixes.
  2. Make sure that all APEs are up.
  3. Check for errors in the ProgramData\Solarwinds\Logs\Orion\BusinessLayerHost.log
  4. Verify that nodes point to the correct APEs. For example, all nodes may point to APE 1, but the only polling engine recognized by the Orion server (see the AllEngines table) may be APE 2.  This would cause the component count in License Details would be 0
  5. Shutdown and restart Orion services on the primary polling engine, APEs, and AWS. Make sure services on the primary polling engine restart successfully before restarting services on APEs and AWS.


Resolution 2

  • Adjust the Server Time to match Main Poller, Additional Pollers and SQL Server within less than 5 minutes, the allowed clock skew is '00:05:00'.
  • To identify the time sync on the Orion/SQL server, please follow the steps below:
  1. RDP all Orion servers, including APE, HA, AWS and SQL server;
  2. Confirm the time is the same on all servers;
  3. If the time difference is over 5 min, the time needs to be synchronized.
  • There is the option that you can synchronize the time by running the following PowerShell commands from the main poller to the APE, HA, AWS and SQL.
-- 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.

-- The following command will check the time on the remote server

Invoke-Command -ComputerName SERVERNAME {Get-Date}


-- The following command will sync the time on the remote server

w32tm /resync /computer:SERVERNAME



Resolution 3

  • Check if the DNS is correctly configured on all APE's.
  • If some APE is not able to talk to the Main poller, the application monitors running on APE's which has DNS issues can get Not Licensed status.  


A. Below is the log that is seen if there is/are issues on DNS.
No DNS entries exist for host servername.com. ---> System.Net.Sockets.SocketException: No such host is known

2022-04-11 11:14:51,537 [STP OneTimeJobResult Thread #0] ERROR ApiProxy<IAPMBusinessLayer, ServiceDirectoryQueryInternal> - All #15 retries calling an API channel from a pool 'RootPool' failed due to a transient error detected.
SolarWinds.ApiProxyFactory.TransientApiProxyException: Exception of type 'SolarWinds.ApiProxyFactory.TransientApiProxyException' was thrown. ---> System.ServiceModel.EndpointNotFoundException: No DNS entries exist for host servername.com. ---> System.Net.Sockets.SocketException: No such host is known
at System.Net.Dns.GetAddrInfo(String name)
at System.Net.Dns.InternalGetHostByName(String hostName, Boolean includeIPv6)
at System.Net.Dns.GetHostEntry(String hostNameOrAddress)
at System.ServiceModel.Channels.DnsCache.Resolve(Uri uri)
--- End of inner exception stack trace ---

B. Below error is what you see from the Additional Polling Engine (APE) if it's not able to communicate to Main Polling Engine.

2022-04-08 12:07:30,676 [STP OneTimeJobResult Thread #0] ERROR SolarWinds.APM.BusinessLayer.JobResultProcessing.JobManagerBase`1 - Exception occurred when processing One time job (8a73a9e5-8796-496e-8a41-50ba2ad4690d) result from 04/08/2022 08:35:16
SolarWinds.ApiProxyFactory.TransientApiProxyException: Exception of type 'SolarWinds.ApiProxyFactory.TransientApiProxyException' was thrown. ---> System.ServiceModel.EndpointNotFoundException: Could not connect to net.tcp://servername.com:17777/orion/apm/businesslayer. The connection attempt lasted for a time span of 00:00:21.0399191. TCP error code 10060: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.xxx.xxx.x:17777. ---> System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 10.xxx.xxx.x:17777
at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress)
at System.Net.Sockets.Socket.Connect(EndPoint remoteEP)
at System.ServiceModel.Channels.SocketConnectionInitiator.Connect(Uri uri, TimeSpan timeout)
--- End of inner exception stack trace ---

 

Resolution 4

  • Check if the WinRM is configured on all APE's.
  • The TrustedHosts should be *  otherwise the components could show licensing constraints message. On the affected poller, run the following in CMD as Admin:

    winrm set winrm/config/client "@{TrustedHosts="*"}"

  • Reboot the poller after configuring it and test.