zabbix报错: cannot connect to [[192.168.119.110]:10050]: [111] Connection refused

本文涉及的产品
云防火墙,500元 1000GB
简介:

zabbix报错:Get value from agent failed: cannot connect to [[192.168.119.110]:10050]: [111] Connection refused

 

报错信息:Get value from agent failed: cannot connect to [[192.168.119.110]:10050]: [111] Connection refused

wKioL1gAPTSR6vjXAAD-snckIl0604.png

错误分析:Connection refused 拒绝连接!

1)客户端与服务端网络不通;

2)客户端服务内用防火墙阻隔;

3)网段内用物理防火墙阻隔。

解决方法:

1)查看日志:查看、分析错误原因

root@a-desktop:~# tail /var/log/zabbix-agent/zabbix_agentd.log

  5927:20160913:101039.428 agent #2 started [listener #2]

  5923:20160913:102113.808 Got signal [signal:15(SIGTERM),sender_pid:5999,sender_uid:0,reason:0]. Exiting ...

  5923:20160913:102113.810 Zabbix Agent stopped. Zabbix 2.2.2 (revision 42525).

  6004:20160913:102113.824 Starting Zabbix Agent [Cloud_platform002]. Zabbix 2.2.2 (revision 42525).

  6004:20160913:102113.824 using configuration file: /etc/zabbix/zabbix_agentd.conf

  6005:20160913:102113.824 agent #0 started [collector]

  6006:20160913:102113.825 agent #1 started [listener #1]

  6007:20160913:102113.825 agent #2 started [listener #2]

  6008:20160913:102113.825 agent #3 started [listener #3]

  6009:20160913:102113.825 agent #4 started [active checks #1]

2)如果是网络不通,可以做域名解析或者通过zabbix-agent实现数据收集

         zabbix-agent分布式监控可以参考我的另一篇分享《zabbix分布式监控(阿里云zabbix-server,.. indextj.gif

3)如果服务器防火墙

添加规则:iptables -I INPUT -p tcp -m multiport --destination-port 80,10050:10051 -j ACCEPT

4)物理防火墙

同样的也是在墙上开个10050TCP端口










本文转自 运维小当家 51CTO博客,原文链接:http://blog.51cto.com/solin/1861788,如需转载请自行联系原作者
目录
相关文章
|
监控 开发工具
Zabbix自定义KEY报错ZBX_NOTSUPPORTED: Unsupported item key.
[root@zabbix bin]# ./zabbix_get -s 192.217.24.47 -k jump-server ZBX_NOTSUPPORTED: Unsupported item key.
9882 0
|
SQL 监控 关系型数据库
Mysql主从同步报错解决:Error executing row event: Table zabbix.history-..
Mysql主从同步报错解决:Error executing row event: Table zabbix.history-..
324 0
|
7月前
|
数据采集 监控 数据库
请问OceanBase社区版能否通过zabbix监控,然后将报错信息展现到grafana?
【2月更文挑战第25天】请问OceanBase社区版能否通过zabbix监控,然后将报错信息展现到grafana?
72 2
|
监控 Linux
CentOS 7安装zabbix-agent 5.0报错:依赖检测失败:libpcre.so.0(64bit)获取GPG密钥失败
CentOS 7安装zabbix-agent 5.0报错:依赖检测失败:libpcre.so.0(64bit)获取GPG密钥失败
361 0
|
监控 Linux Apache
访问zabbix安装页面报错500,apache报错Call to undefined function mb_detect_encoding()
访问zabbix安装页面报错500,apache报错Call to undefined function mb_detect_encoding()
251 0
|
监控 安全
zabbix测试发邮件报错–连接到Zabbix主机 “localhost“ 失败
zabbix测试发邮件报错–连接到Zabbix主机 “localhost“ 失败
295 0
|
监控
zabbix通过yum安装,启动报错zabbix-agent.service never wrote its PID file. Failing.
zabbix通过yum安装,启动报错zabbix-agent.service never wrote its PID file. Failing.
259 0
|
监控 Oracle 关系型数据库

推荐镜像

更多