본문 바로가기

Zabbix/trouble shooting

failed to accept an incoming connection

메시지: failed to accept an incoming connection: connection from "x.x.x.1" rejected, allowed hosts: "x.x.x.2"
 

원인

agent의 log에 남는 메시지로, Connection을 시도하는 Zabbix Server(혹은 Proxy) IP는 x.x.x.1, agent에 설정된 Zabbix Server(혹은 Proxy) IP는 x.x.x.2 인 경우이다.


요구 사항


agent의 zabbix_agentd.conf 내 Zabbix Server(혹은 Proxy) 정보 변경


agent의 zabbix_agentd.conf 내
 
Server=
 
영역에 접근을 시도하는 수집 서버의 IP를 설정한 뒤, 저장 후 agent 재기동하여 정상화.