Changing BMC Application Diagnostics Collector settings
You can change the BMC Application Diagnostics Collector settings in the collector.properties file located in the following directories:
- For Windows
<InstallationDirectory>\collector\properties
- For Linux
<InstallationDirectory>/collector/properties
After making changes directly to the the collector.properties file, restart the Collector service.
Changing the host name for communication with the Collector
By default BMC Application Diagnostics uses the operating system’s configured host name to communicate between components. The Collector’s host name must be reachable from the Agent and Portal computers.
If the operating system's host name is incorrect or you want BMC Application Diagnostics Server components to use an IP address to connect to one another, you must override the default host name configuration as follows:
- Open the collector.properties file.
- Change the callback.address value to the correct host name or IP that you want components to use when connecting to the Collector.
Changing ports
Set the BMC Application Diagnostics Collector's HTTP listening port.
The default port is 8200.tomcat.http.listening.port=8200Set the BMC Application Diagnostics Collector's HTTPS listening port.
The default port is 8243.tomcat.https.listening.port=8243Set the port on which the BMC Application Diagnostics Collector listens for connections signaling it to shut down.
The default port is 8209.shutdown.port=8209
Configuring portal connection
Set the portal connection.
portal.connection.http.port=8100
portal.connection.https.port=8143
Database settings
Set the database location.
database.url=jdbc:mysql://localhost:3306/adops_collectorSet the password to access the database.
The password is encrypted. To change your password, encrypt it first. See Encrypting passwords.database.password.enc=ABCD1234
Proxy settings
If the collector uses a proxy to connect to the portal, configure the proxy details. If you do not need to configure a proxy, leave the values empty.
Set the proxy details for HTTP:
http.proxy.host=
http.proxy.port=Set the proxy details for HTTPS:
https.proxy.host=
https.proxy.port=Set the proxy details for SOCKS:
socks.proxy.host=
socks.proxy.port=
Encrypting passwords
Passwords are encrypted. Before changing your password, you must encrypt it first.
To encrypt a password:
For Windows
- Open a command prompt, and run the following command:
<InstallationDirectory>\collector\bin\passwordEncrypt.bat <NewPassword>
A message displays while the password is encrypted.
Once encrypted, the secret password is displayed. - Copy the encrypted secret password and paste it in the relevant properties file.
For Linux
- Run the following command:
<InstallationDirectory>/collector/bin/passwordEncrypt.sh <NewPassword>
A message displays while the password is encrypted.
Once encrypted, the secret password is displayed. - Copy the encrypted secret password and paste it in the relevant properties file.