IBM Support

WinCollect 10: Error “Parameter AgentCore.Identifier={COMPUTERNAME} -- must be a valid IP or Hostname” when applying changes

Troubleshooting


Problem

Administrators may encounter an issue when attempting to apply configuration changes to a WinCollect 10 agent.
 

Symptom

Administrators who attempt to apply configuration changes to a WinCollect 10 agent may receive the following error message:

ERROR: Parameter AgentCore.Identifier={COMPUTERNAME} -- must be a valid IP or Hostname

This error prevents the configuration from being saved or applied successfully.

win1

Cause

This issue occurs when the AgentConfig.xml file contains an unresolved variable for the agent identifier, such as {COMPUTERNAME}. During installation or manual configuration, this value may not have been substituted with a proper hostname or IP address.

Additionally, the presence of .xml override files in the WinCollect patch directory can interfere with configuration validation and prevent updates from being applied.
 

Diagnosing The Problem

Administrators run the following steps to diagnose the issue:
 
  1. Review the WinCollect log file located in the following path:
    C:\Program Files\IBM\WinCollect\logs\wincollect.log

    Look for entries similar to: 
    (In this example we are using this hostname WINCOLLECT-HOST01)

    INFO  Code.Engine : Setting up AgentCore Name:WINCOLLECT-HOST01 Identifier:WINCOLLECT-HOST01 Status:New
    
    If {COMPUTERNAME} is still present as a value, it indicates the variable was not resolved.
  2. Check the Agent configuration file in the following path:
    C:\ProgramData\WinCollect\Data\AgentConfig.xml

    The following lines may appear, indicating that the value is still {COMPUTERNAME} instead of a valid hostname such as WINCOLLECT-HOST01:
    <Parameter name="Name" value="{COMPUTERNAME}" />
    <Parameter name="Identifier" value="{COMPUTERNAME}" />
  3. Inspect the patch directory for override files:

    C:\Program Files\IBM\WinCollect\patch

    If .xml files exist in this directory, they may override or block updates to the current configuration.

    Result:
    The administrator confirms if this behavior is presented and continues with the section "Resolving The Problem".
     

Resolving The Problem

Administrators resolve the issue using the preferred method, find the next two options:
 

Option 1: Remove patch overrides and restart the agent

  1.  Navigate to the following directory:
    C:\Program Files\IBM\WinCollect\patch
  2. Delete any .xml files located in this folder.
  3. Restart the IBM WinCollect Agent service
  • Open services.msc
  • Locate WinCollect service
  • Right-click > Restart
This clears any conflicting override files that may interfere with the active configuration.

Option 2: Manually update the AgentConfig.xml file

  1. Open the following file with administrative privileges:
    C:\ProgramData\WinCollect\Data\AgentConfig.xml
  2. Replace the placeholder values with a valid hostname or IP address. For example:
     
    <Parameter name="Name" value="WINCOLLECT-HOST01" />
    <Parameter name="Identifier" value="WINCOLLECT-HOST01" />
  3. Save the file and restart the WinCollect agent service. 
Result: 
Administrators can apply changes through the WinCollect interface without encountering the validation error. If the issue persists, contact QRadar Support for assistance

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSBQAC","label":"IBM Security QRadar SIEM"},"ARM Category":[{"code":"a8m0z000000cwtwAAA","label":"WinCollect"}],"ARM Case Number":"","Platform":[{"code":"PF016","label":"Linux"}],"Version":"7.0.0;7.1.0;7.2.0;7.2.2;7.2.3;7.2.4;7.2.5;7.2.6;7.2.7;7.2.8;7.3.0;7.3.1;7.3.2;7.3.3;7.4.0;7.4.1;7.4.2;7.4.3;7.5.0"}]

Document Information

Modified date:
18 June 2025

UID

ibm17236177