7.11.3. Overriding Persisted Configuration Settings
The settings in the Java backing store and in the
agent-configuration.xml
file for the agent can be overridden using the -D
option, the configuration parameter name, and the new value when the agent is started.
For example, to set a temporary value for how long the agent waits at startup to detect the JBoss ON server (
rhq.agent.wait-for-server-at-startup-msecs
), pass this argument with the start command:
agentRoot/rhq-agent/bin/rhq-agent.sh -Drhq.agent.wait-for-server-at-startup-msecs=90000