Configuring Docker Observer jobs
Using the Docker Observer, you can discover Docker network resources, including Docker Swarm clusters, and then visualize (or model) this data as a topology view in the Agile Service Manager UI. You configure observer jobs from the Observer Configuration UI.
Before you begin
Ensure you have the details for your Docker job to hand, specifically your Docker system's Unix socket, and / or host and port number.
The Docker Observer is installed as part of the core installation procedure.
About this task
Using the Observer Configuration UI you configure observer jobs that query the Docker REST API to retrieve data and display it as a topology in the Topology Viewer. The Docker Observer can model external Docker systems.
The job parameters determine whether to connect to a local Docker on the same (UNIX) host as the observer using the unix_socket parameter, or to a remote Docker using the host and port parameters.
Parameter | Action | Details |
---|---|---|
Unique ID | Enter a unique name for the job | Required |
Host | Use this to identify the TCP host socket (HTTP or HTTPS) on which to access the remote Docker system. | Required for remote Docker access only |
Username | Specify the username of the remote Docker environment with HTTPS. | Required for remote Docker with HTTPS access only. |
Password | Specify the password of the remote Docker environment with HTTPS. | Required for remote Docker with HTTPS access only. Accepts plain text or encrypted versions. |
Docker SSL Certificate | Specify the certificate file name. |
Required for remote Docker with HTTPs access only. Required. For more information, see Configuring observer job security.
|
Docker SSL TrustStore File | Specify the trustStore file name. Tip: You can use the observer name
(
<observer>.jks ) for example docker.jks . |
Required for remote Docker with HTTPs access only. For both on-prem and OCP, provide the JKS name, and the observer will then create the JKS file accordingly. |
SSL TrustStore File Password | Specify the trustStore password. | Required for remote Docker with HTTPS access only. Accepts plain text or encrypted versions. |
Port | Use this to identify the TCP port (HTTP or HTTPS) on which to access the remote Docker system. | Required for remote Docker access only |
Unix Socket | Use this to access local docker environments using the complete path. | Required for local Docker access only. Host and port parameters must be empty. |
View | Use this to select which resources are modeled in the topology view. | Optional. The Default displays running resources only. Options are:
|
Containers to exclude | List container you want to exclude. | Optional |
Access scope |
Enter text to provide a scope for the resources. Access scope can help map alerts to resources when resources in different scopes share parameters, such as matchTokens. |
Optional. Tip: You can define access scope for locations, project names,
namespaces, and so on.
|
Generate debug support file |
Set the optional Generate debug support file
parameter to
True to capture the output of the next scheduled job run as a file.
This file is stored with an observer's log files and can be used to debug observer issues, for
example at the request of your designated Support team, or while using a test environment. For
one-off jobs (that is, Load jobs), this parameter reverts to False after the next
completed run. To examine the output produced, you can load the generated debug file using the File
Observer. The file is saved to the following locations:
|
Optional |
Observer job description | Enter additional information to describe the job. | Optional |
Job schedule |
Specify when the job should run, and whether it should run at regular intervals. By default the job runs immediately, and only once. Optionally you can specify a future date and time for the job to run, and then set it to run at regular intervals after that. |
Optional. Transient (one-off) jobs only. If you set a job schedule, the run intervals must be at least 90 seconds apart. If you set them at less than 15 minutes, a warning is displayed, as the frequency can impact system performance. |