其实很简单的东西,结果折腾了好久。
首先去官网 下个source,然后按照文档来 https://www.zabbix.com/documentation/3.2/manual/installation/install。

下面说下遇到的问题:

1.configure: error: Invalid Net-SNMP directory - unable to find net-snmp-config。

解决方案

yum install net-snmp-devel 解决。

 

2.Get value from agent failed: cannot connect to [[xxxxx]:10050]: [4] Interrupted system call

检查防火墙配置:

vi /etc/sysconfig/iptables
然后加入 -A INPUT -p tcp -m tcp --dport 10050 -j ACCEPT

最后重启  service  iptables  restart
再尝试下 telnet xxx  10050  看看 是不是有返回值,有就说明可以了

或者就两行命令:

 /sbin/iptables -I INPUT -p tcp --dport 10050 -j ACCEPT
/etc/rc.d/init.d/iptables save




 

 

相关文章:

  • 2021-09-16
  • 2021-08-25
猜你喜欢
  • 2021-12-20
  • 2022-12-23
  • 2021-08-22
  • 2021-11-18
  • 2021-10-03
相关资源
相似解决方案