• 设备
    • 今日
    • 0

    cacti 客户端配置

    1. yum install -y net-snmp net-snmp-utils

    2. vi /etc/snmp/snmpd.conf

     2.1 改为 com2sec notConfigUser 监控端IP public

     2.2 更改 com2sec notConfigUser default public  -> com2sec notConfigUser  172.16.0.183       qQ7istirt

     2.3 更改access notConfigGroup "" any noauth exact systemview none none
         改为access notConfigGroup "" any noauth exact all none none

     2.4 将 #view all included .1 80 前面的 # 注释去掉

     2.5 若连通测试OK,但状态为:down, 需到: Console -> Device -> SNMP Community -> qQ7istirt //设定被监控主机的连接密码

    3. service snmpd restart
    在监控主机上测试snmp客户端(如IP为172.16.0.90)连通性
    snmpwalk -c qQ7istirt -v2c 172.16.0.90
    若timeout则检查:iptables

    -A INPUT -s 172.16.0.0/24 -p udp -m udp --dport 161 -j ACCEPT  客户端设置防火墙过滤
    -A INPUT -s 172.16.0.183/32 -p udp -m udp --dport 161 -j ACCEPT
    来自:PC 广东省广州市
    上一篇: cacti新建磁盘空间监控
    您可能还喜欢这些:

    亲,沙发正空着,还不快来抢?

    评论审核已开启:即评论经审核才能正常显示! 记住我的个人信息 回复后邮件通知我