-
Problem report
-
Resolution: Known Error
-
Trivial
-
None
-
6.0.19
-
None
-
Rocky Linux 8 ec2 instance in AWS
[constanti@zbxproxy-01 ~]$ zabbix_proxy --version
zabbix_proxy (Zabbix) 6.0.17
Revision c81d82859a8 24 April 2023, compilation time: Apr 24 2023 11:31:21
[constanti@zbx-01 ~]$ sudo zabbix_server --version
zabbix_server (Zabbix) 6.0.15
Revision 287da69c170 31 March 2023, compilation time: Mar 31 2023 12:08:49
Rocky Linux 8 ec2 instance in AWS [ constanti@zbxproxy-01 ~]$ zabbix_proxy --version zabbix_proxy (Zabbix) 6.0.17 Revision c81d82859a8 24 April 2023, compilation time: Apr 24 2023 11:31:21 [ constanti@zbx-01 ~]$ sudo zabbix_server --version zabbix_server (Zabbix) 6.0.15 Revision 287da69c170 31 March 2023, compilation time: Mar 31 2023 12:08:49
We set up a zabbix-proxy in AWS running on an ec2 instance which is behind a network Load Balancer. The LB has a listener on port 10050, 10051 and 80 and associated target groups pointing to the proxy instance
We have a zabbix role with an iam policy as explained in https://www.zabbix.com/integrations/aws_ec2 and we also installed the 6.0 AWS EC2 by HTTP template on our frontend server
Steps to reproduce:
- add another ec2 instance in same vpc to the frontend server to monitor and associate the template
- ensure the template macros contain the zabbix user access keys and region
- ensure the ec2 instance macro contains the instance id
- check that the agent is sending data to the proxy
- check that the active proxy is sending data to the server
Result:
[constanti@zbxproxy-01 ~]$ tail -f /var/log/zabbix/zabbix_proxy.log
1574:20230815:085448.020 [ AWS EBS ] ERROR: Error: cannot get URL: Couldn't connect to server.
1615:20230815:085448.021 [ AWS EBS ] ERROR: Error: cannot get URL: Couldn't connect to server.
1609:20230815:085500.010 [ AWS EC2 ] ERROR: Error: cannot get URL: Couldn't connect to server.
1609:20230815:085500.014 [ AWS EC2 ] ERROR: Error: cannot get URL: Couldn't connect to server.
1609:20230815:085500.027 [ AWS EC2 ] ERROR: Error: cannot get URL: Couldn't connect to server.
1615:20230815:085500.035 [ AWS EC2 ] ERROR: Error: cannot get URL: Couldn't connect to server.
1609:20230815:085500.039 [ AWS EC2 ] ERROR: Error: cannot get URL: Couldn't connect to server.
1574:20230815:085500.051 [ AWS EC2 ] ERROR: Error: cannot get URL: Couldn't connect to server.
Expected:
the proxy collects data for the specific instance and sends it to the server
The frontend ui displays latest data for the EC2 instance