Web Agent Guides › Web Agent Configuration Guide › Web Agents › Web Agent Configurations › How to Edit an Agent Configuration File
How to Edit an Agent Configuration File
The agent configuration file controls the settings of a locally-configured Web Agent. To change those settings, use the following process:
- Create a backup copy of WebAgent.conf (for a traditional agent) or LocalConfig.conf file (for a Framework agent).
- Open the original copy of the agent configuration file with a text editor.
- Enable or disable parameters by doing any of the following:
- Removing the pound sign (#) from the beginning of the line to enable a parameter.
- Adding the pound sign (#) to the beginning of the line to disable a parameter.
- Change the values of parameters using the following guidelines:
- Do not add spaces between the parameter names, the equals sign (=), and the parameter values.
- Surround the parameter values with quotation marks.
- The WebAgent.conf and LocalConfig.conf files are not case-sensitive. You do not have to match the case shown in the sample file installed with the Agent.
- Many values are shown in the file as descriptive variables, such as <Agent Name>,<IPAddress>. Replace the angle brackets and text with the values you want.
- In cases where the value is Empty, a blank is valid as the default. A default value applies only if there is no pound sign (#) preceding the parameter.
- Set EnableWebAgent to yes only when you are done making changes, then save and close the file.
This makes all local configuration changes effective. If you make more changes after an Agent has been enabled, you must restart your web server for those changes to become take effect.