KloudMate Agents
Docker Agent
6 min
this document guides you through installing the kloudmate agent on your host using docker for host metrics and log collection what the docker agent monitors once installed, the docker agent collects container metrics cpu, memory, network, and disk usage for each running container container lifecycle events start, stop, restart host metrics cpu, memory, disk, and network usage of the docker host container and host logs stdout/stderr from containers and system logs from host alerts configure thresholds for containers or the host to notify on performance issues dashboards prebuilt views for container level and host level performance this allows you to monitor containers and host together , troubleshoot performance issues, and correlate logs with metrics accessing your data view all collected data in these kloudmate sections 1\ infrastructure monitoring monitor docker host metrics (cpu, memory, disk, network) see all running containers and their resource usage track availability and uptime for containers and host docid\ mbrzyeofwi63rio0dd2qm 2\ dashboards build custom dashboards tailored for your containers or host metrics docid\ ok ep0fq7ewvljdwp4mi8 3\ log explorer search logs per container or host filter logs by container name, severity, or timestamp correlate container logs with metrics to troubleshoot issues docid 8xd7dr5xgyamqh5umhnlr pre requisites docker must be installed on the system the commands below are for reference only log in to kloudmate and copy your account specific command to install the agent install agent step 1 navigate to the settings → agents section in your kloudmate account step 2 select docker from the list of available integrations step 3 copy and run the docker agent install command in your terminal to download and install the agent step 4 run the following command to verify the agent is running correctly log integration by default, the kloudmate agent collects basic system logs to configure custom application logs and enable file based log monitoring, refer to docid\ cjfdb06do tlizykti8t5 documentation this guide explains how to configure the file log receiver add custom log file paths enable multiline log parsing validate logs in log explorer next steps open infrastructure monitoring to see all running containers and host metrics go to dashboards to visualize container and host performance use log explorer to investigate container logs and host logs configure alerts for container or host thresholds uninstall agent run the following command to uninstall the agent