简体   繁体   English

使用 SNMP 的 Docker 容器监控系统

[英]Docker containers monitoring system using SNMP

Can anyone tell me if it is a good idea to monitor Docker containers using SNMP?谁能告诉我使用 SNMP 监视 Docker 容器是否是个好主意? I mean, I'm thinking at installing SNMP agent on each container and collect data throug a Flink/Kafka stream, but I don't know if it's ok to proceed in this way like installing SNMP agent on each container or not.我的意思是,我正在考虑在每个容器上安装 SNMP 代理并通过 Flink/Kafka 流收集数据,但我不知道是否可以像在每个容器上安装 SNMP 代理那样继续进行。

Thank you!谢谢!

There are docker APIs which many tools use to collect this info.许多工具使用 docker API 来收集这些信息。 You do not need to install anything inside the containers for these basic metrics.对于这些基本指标,您无需在容器内安装任何东西。 The most popular open source tool for this is Prometheus, but there are dozens of commercial tools which use the same method.最流行的开源工具是 Prometheus,但有许多商业工具使用相同的方法。

https://docs.docker.com/config/thirdparty/prometheus/#configure-docker https://docs.docker.com/config/thirdparty/prometheus/#configure-docker

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM