如何在CoreOS上启用snmp [英] How do I enable snmp on CoreOS

查看:87
本文介绍了如何在CoreOS上启用snmp的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我似乎找不到关于该主题的任何有用信息.

I cannot seem to find any useful info on the topic.

此外,监视CoreOS(我们使用观测站)的最佳方法是什么.

Furthermore, what is the best way to monitor CoreOS (we use observium).

推荐答案

如果最需要标准Linux SNMP指标,则只需部署一个运行SNMP守护程序的容器.为此,您可能需要将其公开给主机的网络名称空间(如果使用的是Docker,则为--net=host),然后肯定需要绑定安装/proc(将-v /proc:/hostproc传递给docker run).您需要指向SNMP守护程序的唯一不寻常的事情是/hostproc而不是/proc.

If standard Linux SNMP metrics are most you need, you just want to deploy a container that runs SNMP daemon. For that purpose you will probably need to expose it to host's network namespace (--net=host, if you are using Docker) and then you definitely need to bind-mount /proc (with -v /proc:/hostproc passed to docker run). The only unusual thing you would need point the SNMP daemon at is the /hostproc instead of /proc.

为此,您可以尝试使用 polinux/snmpd 图像

You can probably try using the polinux/snmpd image for this purpose.

这篇关于如何在CoreOS上启用snmp的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆