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

ParameterDescription
NODE OVERVIEWS
Total Worker NodesTotal number of worker nodes available in the Docker Swarm cluster that execute application workloads.
Total Manager NodesTotal number of manager nodes responsible for managing the Docker Swarm cluster and orchestrating services.
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).
NODE DETAILS
Total NodesTotal number of nodes (both manager and worker) present in the Docker Swarm cluster.
Active NodesNumber of nodes that are currently active and available for scheduling and running services.
Inactive NodesNumber of nodes that are currently unavailable or not responding within the Docker Swarm cluster.
CONTAINER OVERVIEW
Total ContainersTotal number of containers discovered across all nodes in the Docker Swarm cluster.
Running ContainersNumber of containers that are currently running and actively serving workloads.
Crashed ContainersNumber of containers that have failed or exited unexpectedly due to errors or crashes.

Node

ParameterDescription
Node Details
HostnameName of the Docker Swarm node as identified within the cluster.
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.
AvailabilityCurrent availability status of the node, indicating whether it is active and able to accept workloads.
Created AtDate and time when the node was added to the Docker Swarm cluster.
Last Updated TimeMost recent date and time when the node’s status or configuration was updated.
Node Platform Details
OS NameOperating system running on the Docker Swarm node.
ArchitectureSystem architecture of the node, such as x86_64 or ARM.
Total CPU ProcessorsTotal number of CPU processors available on the node.
Total MemoryTotal physical memory available on the node (in GB).
Engine VersionDocker Engine version running on the node.

Container

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

Service

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

Configuration

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

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 over 6000+ businesses globally