The agent's configuration is initially read from
agent-configuration.xml and overlaid with the values entered at the setup prompts at start up. After the agent is initially configured, the agent persists that configuration and never refers to the
agent-configuration.xml again, unless the configuration is purged and reloaded. Most configuration changes are made to the
rhq-agent-env.sh file, which is loaded every time the agent starts.
It is possible to change the persisted configuration (without editing the configuration files) using the
setconfig command at the agent prompt.
Open the agent prompt.
setconfig with the name of the preference to edit and its new value. The preference name is whatever the entry name is in the
agent-configuration.xml file. For example:
> setconfig rhq.agent.client.max-concurrent=20
Restart the agent process to load the new configuration.