Agent configuration variables are the means by which the characteristics of a PATROL Agent are defined. To configure a Docker host for monitoring by using PATROL Configuration Manager, add the following set of agent configuration variables, and apply it on the BMC PATROL Agent that runs BMC PATROL for Docker:
Directory path and variable | Description | Example |
---|---|---|
/DKR/DEBUG | Set this variable to 1 to enable the debug. Valid values:
| "/DKR/DEBUG" = "1" |
/DKR/JAVA_HOME | Set this variable to the directory path of the JRE. | "/DKR/JAVA_HOME" = "C:\java\jre7" |
/DKR/HOST/<DockerHost>/hostname | Stores the name of the Docker host. | "/DKR/HOST/mydocker.bmc.com/hostname" = "mydocker.bmc.com" |
/DKR/HOST/<DockerHost>/port | Stores the port number. | "/DKR/HOST/mydocker.bmc.com/port" = "2376" |
/DKR/HOST/<DockerHost>/protocol | Stores the protocol that is used for connection. Valid values:
| "/DKR/HOST/mydocker.bmc.com/protocol" = "1" |
/DKR/HOST/<DockerHost>/clientCertPath | Specify the path (along with the file name and .pfx extension) where the certificate file is located. Note The password certificate file must reside on the host where the PATROL agent is running. BMC PATROL default account must have read permission on the directory where the password certificate file is located. | "/DKR/HOST/mydocker.bmc.com/clientCertPath" = "C:\ssl\cert.pfx" |
/SecureStore/DKR_HOST/<DockerHost>/clientCertPswd | Enter the password for the certificate file in <password> field as below: DKR;DKR_HOST/<password> | "/SecureStore/DKR_HOST/mydocker.bmc.com/clientCertPswd" = "DKR;DKR_HOST/P@ssw0rd" |
/DKR/HOST/<DockerHost>/cntrNameFilter | Set this variable to include or exclude Docker containers from monitoring. Default value is .*\A1 For example: regex\Aoption
| "/DKR/HOST/mydocker.bmc.com/cntrNameFilter" = ".*\A1" |