zabbix 連線被拒絕

2021-08-25 16:39:06 字數 1187 閱讀 6837

(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,.. 》

(3)如果伺服器防火牆

新增規則:iptables -i input -p tcp -m multiport --destination-port 80,10050:10051 -j accept

(4)物理防火牆

Mysql遠端連線被拒絕

遠端連線mysql資料庫時 error 1045 28000 access denied for user root localhost using password yes 遠端連線被拒絕 解決方法 mysql use mysql database changed mysql grant all ...

mysql遠端連線失敗被拒絕。

如果你想連線你的mysql的時候發生這個錯誤 error 1130 host 192.168.1.3 is not allowed to connect to this mysql server 1。改表法。可能是你的帳號不允許從遠端登陸,只能在localhost。這個時候只要在localhost的...

解決WinScp連線被拒絕的問題

嘗試以下方法 0 telnet ip port 檢查埠是否正常 1 開啟 關閉防火牆 這裡需要關閉 sudo ufw enable disable 2 開啟遠端服務 在終端介面輸入 service sshd start。結果顯示 ssh unrecognized service。輸入檢視命令 ser...