Troubleshooting Tip: FortiSIEM Windows Agent Disconnected Status in CMDB
| Description | This article describes how to troubleshoot the Windows Agent Disconnected status in CMDB. |
| Scope | FortiSIEM v7.x. |
| Solution | Windows Agent updates its health status to Supervisor every minute, and events are sent via the 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 the 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 the collector httpd conf or an unauthorized agent user. The traffic status would be 401 in this case.
Refer to the Agent Installation Documentation Section: Setup the Collector as an HTTPS Proxy.
Sample error on the collector if there is an issue in forwarding health status to the 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 debug logs below 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
Sample error on agent logs when .NET Framework is installed on servers that are not supported by FortiSIEM Agent:
2025-02-28 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 |
