Schedule demo

Docker Swarm Monitor


Docker Swarm - Overview

Docker Swarm is Docker’s built-in clustering and orchestration solution that lets multiple Docker hosts work together as a single system. It helps you deploy, manage, and scale containerized applications across multiple machines, with a swarm manager coordinating the cluster and the participating systems acting as nodes.

Applications Manager enables effective Docker Swarm monitoring by providing visibility into cluster health, node status, and service performance, helping you identify and resolve issues faster. Learn more about Applications Manager’s container monitoring capabilities.

Creating a new Docker Swarm monitor

REST API to add a new Docker Swarm monitor: Click here

Once the prerequisites are fulfilled, follow the steps given below to create a new Docker Swarm monitor:

  1. Click on the New Monitor link.
  2. Select Docker Swarm under the Virtualization category.
  3. Specify a Display Name for the Docker Swarm monitor.
  4. Enter the Host Name/IP Address of the server where the Docker Swarm Manager is running.
  5. Enter the Port number used to access the Docker Swarm REST API.
  6. Choose the Credential Details option:
    • If you select Use below credential, enter the User Name and Password required to access the Docker Swarm REST API.
    • If you select Select from credential list, choose the appropriate credential from the preconfigured credential list.
  7. If the Docker Swarm REST API is accessed over SSL, enable the SSL is enabled option.
  8. (Optional) Select the Advanced Settings checkbox to configure additional options:
    • Specify the Discovery Filter Regex to filter containers that are to be discovered and monitored. Only the containers that match the given regex will be added.
    • Enable Client Certificate Authentication if client certificate—based authentication is configured on the Docker server.
  9. Specify the Polling Interval (in minutes) to determine how frequently Docker Swarm metrics are collected.
  10. (Optional) Choose a Monitor Group to associate this Docker Swarm monitor. You can associate it with multiple groups if required.
  11. Click Add Monitor(s) to complete the configuration.

This discovers all associated nodes and starts monitoring the nodes and containers in the Docker Swarm cluster.

Monitored Parameters

Go to the Monitors Category View by clicking the Monitors tab. Click on Docker Swarm under the Virtualization table. The Docker Swarm bulk configuration view is divided into three tabs:

  • Availability tab gives the Availability history for the past 24 hours or 30 days.
  • Performance tab gives the Health Status and events for the past 24 hours or 30 days.
  • List view enables you to perform bulk admin configurations.

Click on the tabs listed below to view the corresponding metrics monitored:

Overview

ParameterDescriptionREST API SupportPrometheus Support
NODE OVERVIEWS
Total Worker NodesTotal number of worker nodes available in the Docker Swarm cluster that execute application workloads.SupportedSupported
Total Manager NodesTotal number of manager nodes responsible for managing the Docker Swarm cluster and orchestrating services.SupportedSupported
RESPONSE TIME
Response TimeTime taken by the Docker Swarm REST API to respond to requests, indicating the overall responsiveness of the Swarm manager (in ms).SupportedSupported
NODE DETAILS
Total NodesTotal number of nodes (both manager and worker) present in the Docker Swarm cluster.SupportedSupported
Active NodesNumber of nodes that are currently active and available for scheduling and running services.SupportedSupported
Inactive NodesNumber of nodes that are currently unavailable or not responding within the Docker Swarm cluster.SupportedSupported
CONTAINER OVERVIEW
Total ContainersTotal number of containers discovered across all nodes in the Docker Swarm cluster.SupportedSupported
Running ContainersNumber of containers that are currently running and actively serving workloads.SupportedSupported
Crashed ContainersNumber of containers that have failed or exited unexpectedly due to errors or crashes.SupportedSupported

Node

ParameterDescriptionREST API SupportPrometheus Support
Node Details
HostnameName of the Docker Swarm node as identified within the cluster.SupportedSupported
RoleRole assigned to the node in the Docker Swarm cluster, such as Manager or Worker. Manager nodes handle orchestration, while worker nodes run application workloads.SupportedSupported
AvailabilityCurrent availability status of the node, indicating whether it is active and able to accept workloads.SupportedSupported
Created AtDate and time when the node was added to the Docker Swarm cluster.Supported
Last Updated TimeMost recent date and time when the node’s status or configuration was updated.SupportedSupported
Node Platform Details
OS NameOperating system running on the Docker Swarm node.SupportedSupported
ArchitectureSystem architecture of the node, such as x86_64 or ARM.Supported
Total CPU ProcessorsTotal number of CPU processors available on the node.Supported
Total MemoryTotal physical memory available on the node (in GB).Supported
Engine VersionDocker Engine version running on the node.SupportedSupported

Container

ParameterDescriptionREST API SupportPrometheus Support
Top 5 Memory UtilizationGraph showing the top 5 containers by memory utilization.SupportedSupported
Top 5 CPU UtilizationGraph showing the top 5 containers by CPU utilization.SupportedSupported
Container Details
Container NameName assigned to the container for identification.SupportedSupported
StateCurrent runtime state of the container, such as Running, Exited, or Paused.SupportedSupported
Image NameName of the container image used to create the container.SupportedSupported
Network ModeNetwork mode in which the container is running (for example, bridge, host, or overlay).SupportedSupported
Restart CountTotal number of times the container has restarted.SupportedSupported
Container Stats
Memory Utilization (%)Percentage of memory currently utilized by the container.SupportedSupported
CPU Utilization (%)Percentage of CPU currently consumed by the container.SupportedSupported
Bytes Received (KB)Total amount of network data received by the container (in KB).SupportedSupported
Bytes Transferred (KB)Total amount of network data transferred (sent and received) by the container (in KB).SupportedSupported
Container Timestamp Details
Exit CodeExit status code returned when the container last stopped.SupportedSupported
Created AtDate and time when the container was created.Supported
Started AtDate and time when the container was last started.SupportedSupported
Up TimeTotal duration for which the container has been running since it was started.SupportedSupported
Up Time (Hrs)Total running time of the container expressed in hours.SupportedSupported

Service

ParameterDescriptionREST API SupportPrometheus Support
Services
Service NameName assigned to the Docker Swarm service.SupportedSupported
Image NameContainer image used by the Docker Swarm service.SupportedSupported
ProtocolNetwork protocol used by the service to communicate, such as TCP or UDP.Supported
Endpoint ModeMode used to expose the service endpoints, such as VIP or DNSRR.Supported
ReplicasCurrent number of service replicas running in the Docker Swarm.SupportedSupported
Previous Replica CountNumber of replicas configured for the service before the most recent update.Supported
Created AtDate and time when the Docker Swarm service was created.Supported

Configuration

ParameterDescriptionREST API SupportPrometheus Support
Swarm NameName assigned to the Docker Swarm cluster.Supported
Task History Retention LimitNumber of completed task records retained by the Swarm manager for troubleshooting and auditing.Supported
Snapshot IntervalInterval (in ticks) at which the Swarm manager takes state snapshots for recovery purposes.Supported
Election TickNumber of ticks used to determine leader election timeouts among Swarm managers.Supported
Heartbeat TickFrequency (in ticks) at which heartbeat signals are sent between Swarm nodes to maintain cluster health.Supported
Auto Lock Manager EnabledIndicates whether automatic locking of the Swarm manager’s encryption keys is enabled.Supported
Subnet SizeCIDR subnet size used for allocating IP addresses to Swarm services and containers.Supported
UDP PortUDP port used by Docker Swarm for node-to-node communication and cluster management.Supported

Loved by customers all over the world

"Standout Tool With Extensive Monitoring Capabilities"

It allows us to track crucial metrics such as response times, resource utilization, error rates, and transaction performance. The real-time monitoring alerts promptly notify us of any issues or anomalies, enabling us to take immediate action.

Reviewer Role: Research and Development

carlos-rivero
"I like Applications Manager because it helps us to detect issues present in our servers and SQL databases."
Carlos Rivero

Tech Support Manager, Lexmark

Trusted by thousands of leading businesses globally