Changing Collector settings
You can change the BMC Application Diagnostics Collector settings in the collector.properties file located in the following directories:
- Windows
<InstallationDirectory>\collector\properties
- Linux
<InstallationDirectory>/collector/properties
This topic describes the following changes:
To change 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.
To changing the port numbers
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=8243
To configure the Portal connection
Set the Portal connection.
portal.connection.http.port=8100
portal.connection.https.port=8143
To modify 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.database.password.enc=ABCD1234Change the database retention time and size.
The retention time is in days.
The database size is in MB.retention.time=35
db.max.size=102400
To modify 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=
To encrypt a password
Before changing your password, you must encrypt it using the following procedure.
Windows
- Open a command prompt, and run the following command:
installationDirectory\collector\bin\passwordEncrypt.bat newPassword
A message is displayed during encryption and then the encrypted password is displayed. - Copy the encrypted password and paste it in the relevant properties file.
Linux
- Run the following command:
installationDirectory/collector/bin/passwordEncrypt.sh newPassword
A message is displayed during encryption and then the encrypted password is displayed. - Copy the encrypted password and paste it in the relevant properties file.