I have a Zabbix server running with some nodes reporting and all works well, I am trying to add some more servers to be monitored, and I ran into this issue.
The server is saying that attempts to contact the agent are timing out. On the server to be monitored I run "zabbix_get -s 127.0.0.1 -k agent.version"
in the agent config file I have server and server active listed with 127.0.0.1 and the actual IP of the node and the IP of the Zabbix server, similar to a server where this command works.
Both the server and node to be monitored in AWS. As are the other nodes that are working. Even same subnets.
I have ports 10050 and 10051 open to the world in the security group for both the server and the node to be monitored.
selinux is disabled, local firewall is not running.
Netstat "netstat -tulpn|grep zabbix" Shows this:
tcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN 20798/zabbix_agentd
tcp 0 0 :::10050 :::* LISTEN 20798/zabbix_agentd So I am puzzled as to what is blocking this connection, even when only involving the local host.
Anyone have any ideas?
Working server
# zabbix_get -s 127.0.0.1 -k agent.version
3.4.10
Settings in /etc/zabbix/zabbix_agentd.conf
Server=xxx.xx.xx.xxx,127.0.0.1
ServerActive=xxx.xx.xx.xxx,127.0.0.1
not working server that is configured similar to working server
# zabbix_get -s 127.0.0.1 -k agent.version
zabbix_get [27835]: Check access restrictions in Zabbix agent configuration
Server=127.0.0.1,xx.xxx.xx.xxx,xxx.xx.xx.xxx,xx.xx .xx.xxx
ServerActive=127.0.0.1,xx.xxx.xx.xxx,xxx.xx.xx.xxx ,xx.xx.xx.xxx
Thanks for any help!
The server is saying that attempts to contact the agent are timing out. On the server to be monitored I run "zabbix_get -s 127.0.0.1 -k agent.version"
in the agent config file I have server and server active listed with 127.0.0.1 and the actual IP of the node and the IP of the Zabbix server, similar to a server where this command works.
Both the server and node to be monitored in AWS. As are the other nodes that are working. Even same subnets.
I have ports 10050 and 10051 open to the world in the security group for both the server and the node to be monitored.
selinux is disabled, local firewall is not running.
Netstat "netstat -tulpn|grep zabbix" Shows this:
tcp 0 0 0.0.0.0:10050 0.0.0.0:* LISTEN 20798/zabbix_agentd
tcp 0 0 :::10050 :::* LISTEN 20798/zabbix_agentd So I am puzzled as to what is blocking this connection, even when only involving the local host.
Anyone have any ideas?
Working server
# zabbix_get -s 127.0.0.1 -k agent.version
3.4.10
Settings in /etc/zabbix/zabbix_agentd.conf
Server=xxx.xx.xx.xxx,127.0.0.1
ServerActive=xxx.xx.xx.xxx,127.0.0.1
not working server that is configured similar to working server
# zabbix_get -s 127.0.0.1 -k agent.version
zabbix_get [27835]: Check access restrictions in Zabbix agent configuration
Server=127.0.0.1,xx.xxx.xx.xxx,xxx.xx.xx.xxx,xx.xx .xx.xxx
ServerActive=127.0.0.1,xx.xxx.xx.xxx,xxx.xx.xx.xxx ,xx.xx.xx.xxx
Thanks for any help!
Comment