Skip to main content

Introduction

Docker allows us to deploy applications in an agile, dynamic, precise and simple way. With Docker Swarm these applications will run as services, being able to balance the load dynamically.

The Docker services monitoring plugin allows to visualize in Pandora the status of these services, as well as the statistics of resource usage by the containers deployed in the local docker.

The docker_services plugin will scan the swarm, retrieving the list of services, tasks and nodes through the methods provided by the docker commands.

With the collected data, XML will be sent to Pandora FMS, to represent the swarm nodes as agents.

Once the node agents are created, it will be created via API as many cluster views as services have been found.

Using the API, the resources will be linked, the pertinent agents will be created, and the monitoring modules of the services will be added.