Troubleshooting
Problem
Symptom
- The status of the WinCollect agent is "Unavailable".
- The WinCollect DSM log source is in an error state.
- Heartbeat events cannot be seen in Log Activity.
Cause
- The WinCollect service is not running on the Windows® host where WinCollect is installed.
- The StatusServer IP address or hostname is incorrect in C:\Program Files\IBM\WinCollect\config\install_config.txt.
- A connectivity issue; UDP traffic to the QRadar event collector on port 514 might be blocked.
- Multiple heartbeat log sources for the WinCollect Agent exist in the QRadar PostgreSQL database.
Diagnosing The Problem
- A WinCollect heartbeat is a message sent every 5 minutes from the WinCollect agent to a Status-Server. The message contains specific information, including the hostname. Sample payload:
<13>Jul 06 22:14:47 WIN-C79QC3HVT51 LEEF:1.0|IBM|WinCollect|7.3.1.28|2|src=WIN-C79QC3HVT51 os=Windows Server 2022 Datacenter (Build 20348 64-bit) dst=x.x.x.x sev=3 log=Code.SSLConfigServerConnection msg=ApplicationHeartbeat
- By default, heartbeat events are sent on the 514 UDP port to the defined StatusServer. This configuration is present on the Windows® hosts in C:\ProgramFiles\IBM\WinCollect\config\AgentConfig.xml file.
<Service name="AgentCore" module="AgentCore" type="Service" classification="Static" version="7.3.1-28"> <Environment> <Parameter name="HeartbeatInterval" value="300000"/> <Parameter name="LogMonitor.Socket.Type" value="UDP"/> <Parameter name="ConfigurationCheckInterval" value="300000"/> <Parameter name="Enabled" value="true"/> <Parameter name="Deleted" value="false"/> </Environment> </Service>
- This configuration can also be seen from the QRadar side, Admin > Wincollect > Agents:
Resolving The Problem
Wincollect Heartbeat log source.
After installation of the WinCollect, the Heartbeat log source is created with the name WinCollect DSM - Agent_name with log source type WinCollect and protocol Syslog. If this installation is a first-time installation, you see that this log source is pending a Deploy in the Admin tab in the yellow section.
Example:
This log source is associated with the agent in the PostgreSQL database in the ale_client table in QRadar.
Example query:
psql -U qradar -x -c "select * from ale_client where hostname ilike '%Agent_name%';"
Troubleshooting Missing heartbeat events.
Solution 1: Check that the WinCollect service is running on the Windows host where WinCollect is installed.
Solution 2: Check that the StatusServer IP address or the FQDN is correct in the C:\ProgramFiles\IBM\WinCollect\config\install_config.xml file on Windows host.
Example:
ApplicationIdentifier=Agent-hostname
LocalIP=
OriginatingComputer=
ConfigurationServer=10.10.10.11
ConfigurationServerPort=8413
ConfigurationServerMinSSLProtocol=TLSv1
ConfigurationServerMaxSSLProtocol=TLSv1.2
StatusServer=10.10.10.10
ApplicationToken=U59SSDt/u1kPE.........
BuildNumber=43
Solution 3: To verify the event in a Tcpdump packet capture, run the following command on the StatusServer command line interface:
tcpdump -nnAs0 -i any host <Wincollect IP> and port 514 | grep -i heartbeat
Example query:
psql -U qradar -x -c "select * from sensordevice where hostname like '%Agent_name%';"
Document Location
Worldwide
Was this topic helpful?
Document Information
Modified date:
22 July 2024
UID
ibm17159729