Configure Agent HTTP Request Header

If you monitor a remote HTTP server, it is useful to configure the HTTP request header for agent HTTP requests.



The http.useragent property defines the value for the User-Agent request header in HTTP requests issued by the Hyperic Agent. By default, the User-Agent in agent requests includes  the Hyperic Agent version - and so change upon agent upgrade. If a target HTTP server is configured to block requests with an unknown User-Agent, agent requests will fail after agent upgrade.

You can use http.useragent to define a User-Agent value that will be consistent across upgrades.

Note: does not contain this property by default. You must explicitly add it to the file.



For example: