Page tree

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:

  • 0 - Disable
  • 1 - Enable

"/DKR/DEBUG" = "1"

/DKR/JAVA_HOMESet this variable to the directory path of the JRE.

"/DKR/JAVA_HOME" = "C:\java\jre7"

/DKR/HOST/<DockerHost>/hostnameStores the name of the Docker host.

"/DKR/HOST/mydocker.bmc.com/hostname" = "mydocker.bmc.com"

/DKR/HOST/<DockerHost>/portStores the port number."/DKR/HOST/mydocker.bmc.com/port" = "2376"
/DKR/HOST/<DockerHost>/protocol

Stores the protocol that is used for connection. 

Valid values:

  • 0 - HTTP
  • 1 - HTTPS 
"/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>/cntrNameFilterSet this variable to include or exclude Docker containers from monitoring. Default value is .*\A1

For example: regex\Aoption

  • regex: This is a regular expression for matching Docker container names. (default value is .*)
  • \A: This is a separator character.
  • option: Enter 1 for inclusion and 0 for exclusion (default value is 1).
"/DKR/HOST/mydocker.bmc.com/cntrNameFilter" = ".*\A1"

 

  • No labels