Created on
02-24-2025
10:11 PM
Edited on
02-25-2025
03:15 AM
By
Anthony_E
Description | This article describes how to troubleshoot Windows Agent Disconnected status in CMDB |
Scope | FortiSIEM v7.x. |
Solution |
Windows Agent updates health status to Supervisor every minute and events are sent via collector.
There are scenarios where 'Event Receive Status' could be normal with logs being received in real-time and still Agent status displayed as 'Disconnected. The supervisor is not receiving health status from Agents.
To begin with, enquire if Windows Agent updates health status directly to the supervisor or via HTTPS collector.Possible reasons for Disconnected status could be:
FortiSIEM Node should receive agent health status in HTTPD Logs as below:
# cat /var/log/httpd/ssl_access_log
If Agent status is Active then the status code would be 200 as below:
In this log, check for error codes or traffic not reaching the supervisor.
This could be due to an incorrect configuration of agent-proxy.conf in collector httpd conf or unauthorized agent user. The traffic status would be 401 in this case.
Refer to Agent Installation Documentation Section: Setup the Collector as an HTTPS Proxy
Sample error on collector if there is the issue in forwarding health status to supervisor:
# cat /var/log/httpd/ssl_access_log 10.11.18.1 - - [20/Jan/2025:12:41:29 +0400] "PUT /phoenix/rest/windowsAgent/update HTTP/1.0" 401 998
Review the below debug logs from the Windows server:
Sample error on failure due to network connectivity:
2025-02-13 03:23:41,014 [1] ERROR FortiSIEM.Webproxy.AOWebService - NotifyStatusV2 exception
Sample error on agent logs failing due to credentials or collector incorrect HTTPS proxy:
2025-01-06 16:39:18,862 [1] ERROR FortiSIEM.Webproxy.AOWebService - NotifyStatusV2 exception
For any 401 errors try to deploy an agent with a new agent user from FortiSIEM and test with different special characters in the password.
If the issue persists, contact Fortinet Support along with the above details and screenshots.
Related articles: Troubleshooting Tip: Windows Agent registered with Supervisor but not uploading events Technical Tip: Windows Agent Registration with Supervisor Troubleshooting
|