You want to change the heartbeat interval from 5 minutes to 1 hour on all deployed
systems. Previously, this required manual or scripted changes to the
agentconfig.xml file and a WinCollect service restart. With templates,
you can change this interval by performing the following steps.
Procedure
-
Locate the tmplt_AgentCore.xml template in the \IBM
\WinCollect\templates directory. This service contains the Heartbeat Interval
configuration.
- Make a copy of the template and name it
service_AgentCore.xml.
- Change the value of the
HeartbeatInterval
parameter to 3,600,000
milliseconds (1 hour).
<Service classification="Static" type="Service" version="7.2.8" module="AgentCore" name="AgentCore">
<Environment>
<Parameter name="HeartbeatInterval" value="3600000"/>
<Parameter name="ConfigurationCheckInterval" value="300000"/>
<Parameter name="Enabled" value="true"/>
<Parameter name="Deleted" value="false"/>
</Environment>
</Service>
- Move the service_AgentCore.xml file to the
\IBM\WinCollect\patch directory.
After a few seconds, the file
disappears and the agent restarts. The old agentconfig.xml file is moved to the
backup directory
(patch_checkpoint_xxxx).