Network Management
Troubleshoot SolarWinds agents and certificates in NPM
This article describes how to determine if the certificates bind and connect to a SolarWinds agent and to determine which database tables are defined in the agent provision file. The SolarWinds-Orion certificate is either in MD5 or SHA1 and should match the with the SolarWinds agent provision file that signs it.
First published date
Last published date
Overview
This article describes how to determine if the certificates bind and connect to a SolarWinds agent and to determine which database tables are defined in the agent provision file.
The SolarWinds Orion certificate is either in MD5 or SHA1 and should match with the SolarWinds agent provision file that signs it.
The SolarWinds agent provision file is defined in the database through the following tables:
- AgentMgmtPcks12Certificates
- AgentMangement_Agents
- AgentMangement_Certificates
Product section
Resolution
Perform the following steps to verify that the certificate and agent matches:
- Open the Microsoft Management Console and load the certificate snap-ins.
- On the left pane, expand Personal and click Certificates.
- Double-click the SolarWinds-Orion certificate of the SolarWinds agent provision file on the right pane.
- Click the Details tab to verify if the certificate is in MD5 or SHA-1.
Perform the following steps to determine the defined tables in the SolarWinds Agent Provision file:
- Execute the following query:
SELECT TOP 1000 * FROM [dbo].[AgentManagement_Pkcs12Certificates]
- Open the Microsoft Management Console and load the certificate snap-ins.
- Delete the Provisioning Certificate for SolarWinds row.
- Restart the Orion Module Engine.
A new SolarWinds Agent Provision - xxxxxxx-xxxx-xxxx-xxxxxxxxxxxxxx file will be spawned for the certificate signage. - Double-click on the spawned certificate to view the details.
- Make sure that it matches the SHA-1 thumbprints and serial numbers.
- Go to the Orion Web Console > Manage Agents and you should see that the agent is attempting to make a connection (
http://<orionservername>/Orion/AgentManagement/Admin/ManageAgents.aspx).
The agent status should show like the following: - If the status is different, go to this path on the TARGET machine
C:\ProgramData\Solarwinds\Logs\Agent\. - Open the latest
SolarWinds.Agent.Service.exe xxxxx.xxxx.logfile in Notepad. - Search for loadcert and the result will be the following:
loadCertificate - added Agent certificate to SSL store
If the cipher is working, then you will see something like the following:handshake info : cipher name [ECDHE-RSA-AES256-SHA], cipher version [TLSv1/SSLv3]
If the cipher is not working, then you will see something likecipher: NULL.
If the SolarWinds agent is not set to auto =-update, the MSI installer will not be able to find the temp cache file to uninstall. See Fix problems that block programs from being installed or removed if you run into this issue. Perform the following to force the old installer to update:
- Establish a remote desktop connection to each of the servers.
- Run MSI Fix on each server.
- Go to C:\programdata\SolarWinds\agent\plugins
- Run the MSI package.
- Check the console to see if the agent updates to 1.5