agent 与server的连接问题

Get value from agent falied:cannot connect to [IP:PROT] Noroute to host

1 看到这种错误首先可以判断出是agent 与server的连接问题
2 首先用server ping一下agent 如果能ping通就进行可能是防火墙的问题
3 添加策略 firewall-cmd --zone=public --add-port=10050/tcp --permanent
4 firewall-cmd--reload
5 或者直接关闭防火墙

猜你喜欢

转载自blog.51cto.com/14483703/2576757