Zabbix is deployed in Containerized environment using Openshift and zabbix agent is deployed on VM. I am not able to connect Zabbix server on Container and Zabbix agent on VM.
Complete Scenario:
1) Zabbix version 3.2 is deployed on Openshift
2) Zabbix service is given external IP to expose it to outside world
3) Zabbix Agent version 3.2 is deployed on VM
4) In zabbix agent configuration file "Server" parameter is given as service external IP confihgured above
5) On Zabbix Server it is throwing Error as "agent dropped connection because of access permissions"
6) In Zabbix Agent logs it is printed as "3987:20191102:022800.803 failed to accept an incoming connection: connection from "Node IP on which "Zabbix Server" is deployed rejected, allowed hosts: "<external_IP> configured above"
Though in this case I am able to telnet <Zabbix_server_external_IP>:10051 from zabbix agent and also telnet <Zabbix_agent_IP>:10050 from zabbix server
My actual requirement is Zabbix server and Zabbix agent to communicate on External IP configured to service.
I have also configured zabbix server configuration file parameter "SourceIP= <external_IP>" so that this IP is used for outgoing traffic but this is giving another Error: "Get value from agent failed: bind() failed: [99] Cannot assign requested address"
Please assist in this case.
Thank you in Advance
Complete Scenario:
1) Zabbix version 3.2 is deployed on Openshift
2) Zabbix service is given external IP to expose it to outside world
3) Zabbix Agent version 3.2 is deployed on VM
4) In zabbix agent configuration file "Server" parameter is given as service external IP confihgured above
5) On Zabbix Server it is throwing Error as "agent dropped connection because of access permissions"
6) In Zabbix Agent logs it is printed as "3987:20191102:022800.803 failed to accept an incoming connection: connection from "Node IP on which "Zabbix Server" is deployed rejected, allowed hosts: "<external_IP> configured above"
Though in this case I am able to telnet <Zabbix_server_external_IP>:10051 from zabbix agent and also telnet <Zabbix_agent_IP>:10050 from zabbix server
My actual requirement is Zabbix server and Zabbix agent to communicate on External IP configured to service.
I have also configured zabbix server configuration file parameter "SourceIP= <external_IP>" so that this IP is used for outgoing traffic but this is giving another Error: "Get value from agent failed: bind() failed: [99] Cannot assign requested address"
Please assist in this case.
Thank you in Advance