How do I enable snmp on CoreOS

坚强是说给别人听的谎言 提交于 2019-12-07 19:46:48

问题


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

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


回答1:


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.

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



来源:https://stackoverflow.com/questions/29281350/how-do-i-enable-snmp-on-coreos

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!