美文网首页
CENTOS使用SNMP可监控网卡流量

CENTOS使用SNMP可监控网卡流量

作者: hel2o | 来源:发表于2016-08-10 08:46 被阅读0次

若希望使用 Cacti 监控 Linux 服务器的网卡流量,需要在被监控的 Linux 服务器上安装 net-snmp-utils 相关软件包,我们可以通过 yum 在线安装,例如:

yum install net-snmp-utils

安装好 net-snmp-utils 后,在被监控的服务器上编辑/etc/snmp/snmpd.conf文档

vi /etc/snmp/snmpd.conf
在其中添加下面这行命令
view systemview included .1.3.6.1.2.1.2
保存并重新 snmpd 服务
service snmpd restart

相关文章

网友评论

      本文标题:CENTOS使用SNMP可监控网卡流量

      本文链接:https://www.haomeiwen.com/subject/anodsttx.html