- Zabbix agent 10051 connection refused You can use ping command for that. Zabbix server Hi. I have in my log this: I have installed an zabbix-agent on a Windows host, while the zabbix-server on CentOS host, but get value error: cannot connect to [[172. On the machine running the container i have installed zabbix-agent2 which is running and enabled as a service. If you are having problems with Zabbix, post here. 168. 166. 5. On the active server, the application looks correct; on the standby, the top-right pane (system Zabbix front end works perfectly after this proxy in nginx. 778 Unhandled exception And miracle has come. Zabbix agents also make outbound connections back to the server which is usually listening on port 10051. Zabbix server and agent using dns with docker swarm 1. On Portainer, we have exposed port 10051 of the zabbix-server container, and we can connect to it via telnet (10. 28996:20180525:153939. Possible reasons: • 1. 24. since didgitalocean doesnt require any i didn't besides git server works without any modification. 295252 User parameters reloaded If this is your first visit, be sure to check out the FAQ by clicking the link above. In Active check the zabbix agent connects to the zabbix server via 10051 port by default. 6 and 172. 2 by port 10051 for active checks # you can do it with telnet from your zabbix server > telnet <agent ip> <10050 or 10051> Trying <agent ip> Connection to host_ip 10050 port [tcp/zabbix-agent] succeeded! It means that nothing block connection and if ZBX is red it exclude the problem with network - it have to be something in config? What does the status check? Some item? Maybe there is something wrong? I tired with "Windows by Zabbix agent active" and "Windows by Zabbix agent" templates. 683 Zabbix agent item "agent. If you're 100% sure the firewall on the Zabbix hosts is open (you should try a telnet from the network, to be 100% sure), then there's Port is opened on both sides and I have checked with Test-NetConnection in Powershell that I can connect from agent to server on specifed port (10051). but when I turn back and apply checkpoint to my Late but i hope this could help you. 2]:10050]: [111] Connection refused I have opened ports 10051 and 10050 on ec2. The problem: The server is configured to access the client via PSK TLS, but the agent is configured to only accept unencrypted connections. 312 active check configuration update from [127. 305 active check configuration update from [zabbix-server:10051] started to fail (cannot connect to [[zabbix-server]:10051]: [111] Connection refused) 15894:20210315:134143. 1:10051: connectex: No 1) you are trying to use agent. Any suggestions with sample documentation woule be much Hi, Since yersterday my zabbix-server stops serveral times. I receive the following errors in the . Since they are both on the same system I shouldnt have to worry about ports being open. Editing this file, search by "ServerActive" parameter and put the zabbix server address there (as in the 'Server' parameter). 44) are failing to connect with ssl-related errors. yaml file, zabbix agent is set to port 10050, which is the same as in the configuration on the website. I can see the machine in my zabbix web frontend : when i click hosts i see the zabbix host and the ping is working on this host. Hi everyone! I need to move my Zabbix server to my other Hypervizor, and after the move i started my zabbix. 588 active check configuration update from [zabbix-server:10051] is working again 76:20210929:194255. 0. I'm trying to run a Zabbix Proxy in cluster and let that do active checks back to the pod's Nov 23 17:41:10 agent-hostname1 zabbix-agent[23090]: 60:20181123:144110. Hi, Im running zabbix server in a docker container where port 10051 is open. When I try to telnet to port 10051 I get "Connection refused". X]:10050]: [111] Connection refused" on the agent. I’ve added the zabbix servers IP in vshere to allow the connection. log I then ran command zabbix_server and zabbix server started with no errors. Error: Cannot connect to [80. Ignore the inbound connection to the server to start with and focus on getting the connection from the server to the agent working. log DebugLevel=5 Server=10. 1 telnet: connect to address 127. address. 12- connection problems. dial tcp :0->XX. Hi guys, I'm using zabbix 6. xxx. 6. Please report bugs //support. I have installed two sever in OL9. One possible reason - Zabbix agent closes connection because it comes from a host or IP address, not matching "Server=" parameter in zabbix_agentd. 149804 [101] sending of heartbeat message to Hi guys, recently I downloaded zabbix 6. 003 active check configuration update from [zabbix-server: 10051] started to fail (cannot connect to [[zabbix-server]: 10051]: [111] Connection refused) 1743: 20200827: 083705. 230782 [101] active check configuration update from host [Zabbix server] started to fail 2022/12/12 06:56:18. I can't open a new port in the AWS firewall due to security reasons. 032 active check configuration update from [zabbix-server: 10051] is working again 1743: 20200827: 083705. 59. 0 and the monitoring with the template "Linux by Zabbix agent active". and also ListenIP=192. If however you're using zabbix agent that is verified to work here are some other pointers: I prefer installing telnet on the zabbix server and then try to use it to make sure the server can reach the agent. Please, tell me how to set up a firewalld on the host with zabbix-agent so that can access to port 10051/tcp on the zabbix-server? IP zabbix-agent 10. xxx]:10051 [cannot connect to [[xxx. tcpdump is your best friend in this case. Thank you for your answer, when you say telnet it means to make a telnet from the zabbix server to the remote agent so the remote machine, our old Zabbix version 2. 412 temporarily disabling Zabbix agent checks on host "CLC-01A-L3": interface unavailable 2448:20231010:030050. Y. 0 LTS but after few hours, zabbix agent become unavailable, when check the log, looks like it cannot access [127. error: [Errno 111] Connection refused. The log shows: active check data upload to [zabbix server IP:10051] is working again active check configuration update from [zabbix server IP: 10051] is working again active check data upload to [zabbix server IP:10051] started to fail ([connect] TCP successful, cannot If this is your first visit, be sure to check out the FAQ by clicking the link above. vnet. It should raise PROBLEM, imho. telnet: connect to address 10. I try to have a 2 zabbix agent on a debian server because i want to monitor him with 2 telnet: Unable to connect to remote host: Connection refused and in my zabbix server: error: Get value from agent failed: *** Cannot connect You need to make sure that from host1 you can telnet to port 10051 on both zabbix servers. Any idea what else I 15650:20210315:133943. When I install the agent (version 1) in the server that Ever since some updates, a few zabbix agents (still version 5. ) The port of the docker-compose is well defined and mapped (10051:10051) docker; zabbix; Share. . Incorrect server IP / DNS in "zabbix. 170 I add the 009813:20050525:172134 Cannot connect to [10. Make sure you can connect from agent host to server/proxy:10051 and from server/proxy to agent host:10050. 2 OWASP ZAP docker returns 'Connection refused' when running active-scan. and ServerActive=127. service zabbix-agent status If not, try to start it. ping zabbix_get [2699789]: Get value error: please Keep in mind, that you have to foreward the Port on to the Agent on the router. 0e but the problem is still same. conf on windows PC. service: Unit zabbix-server. ping zabbix_get [2699789 I can ping from agent host to server and back. run . It's honestley driving me crazy. Nevertheless, as I wrote zabbix server or proxy does not filter incoming connections so it cannot cause "Connection refused" message which said that you see. run from zabbix server: Action->SCRIPT any I reinstalled everything and now zabbix server says "Connection refused" but doing a telnet on that port and doing a quick paste of the version command now I got: telnet xxx. Attached how it looks like but doesnt really says much and since logs is not useful I am not sure how to proceed. In both servers, the port 10050 is working fine but unable to connect the Zabbix agent to the master server because the port 10051 is closed. * or your desired nic. Zabbix agent communication problems 01-02-2007, 18:09. Comment. So my question is, why is port 10051 not open when zabbix_server is running? Interrupted system call - I've seen these in zabbix when connections are timed out. Hi all No access from host with zabbix-agent to zabbix-server on port 10051. 27-11 [192. I'm trying to use the Unix_t template, the SNMP template_works for another host, I can telnet to the machine using port 10051, netstat shows it listening, zabbix_server is running along with the agent daemon, and I've checked Cannot fix "Zabbix agent on server is unreachable for 4 hours" alert on two Ubuntu servers. python; sockets; Share. Post Cancel. We are in the process of evaluating zabbix to be used for monitoring and we have been trying a small setup to get more familiarized. 1179818:20070201:172530 Getting list of active checks failed. 100. 452 Starting Zabbix Agent Get value from agent failed: Cannot establish TCP connection 12-06-2024, 19:25. 101: Connection refused log from zabbix agent: 2021/08/17 02:46:13. 1 by port 10050 for passive checks 1. ] 408:20230525:121246. I have encountered a problem when trying to do active checks through zabbix agent. It would appear it connects to the server by virtue of the information in the log file but I don't know what else to see to No connection between Zabbix server and agent ensure that it shows as LISTEN on *. 238. Possible reasons: 1. log file Can you help me solve the problem? If this is your first visit, be sure to check out the FAQ by clicking the link above. It worked well before upgrade May be that the 'zabbix_agentd. Another reason - if encryption is used - could be problems with TLS. 1) and also try his valid IPv4. Closed. Hello, I have a server on azure and one proxy on local network that work properly. Agent config: LogFile=c:\Zabbix\zabbix_agentd. 04 as my hyper-v VM(My Server)soo in start it works fine. 4 The problem that Zabbix server and Windows Agent not communicating in the SAME network. Managed to get everything setup and installed, on the front end I am unable to connect to the server. null XML Word Printable. the message in the log is this: active check configuration update from [server. If you are hosting the proxy and the agent on the same server then make sure to check all ports in use. Verify that the proxy is listening 10051 port (parameter ListenPort in zabbix_proxy. I ama ble to run zabbix-agent, but when I am adding another server as host, I am getting following errors: Connection to Zabbix server "localhost" refused. 2 I have a container with zabbix agent with assigned IP: 172. 0 from 6. It's the same FW makes NAT and sends data in both directions enabling the port 10050 and 10051 so you can make the connection. 472956 [101] cannot connect to [127. 855 Zabbix Agent stopped. Hi everybody, I have a problem related with Zabbix 6. 176 test-zbx-srv1 - 192. restart" -o "0 Others were working but are now showing errors in the logs and the zabbix agent keeps shutting down. 2 and Windows. loc] started to 10051: i/o timeout') Zabbix server refuses to call a session on the active port of zabbix agent2 even though all Receive empty resonse from Zabbix Agent [10. 693 Starting Zabbix Hi, I have Zabbix Server monitoring more than 1000 hosts and recently some hosts added are not sending data to the server. Assuming that agent dropped connection because of access permisions. I found 10051] [Connection refused] 1179818:20070201:172530 Connection reset by peer. Don't forget to turn Debuglevel back to original one after everything is sorted out. I can see the following in the agent log: 2023/12/12 14:34:07. 612 Starting Zabbix Agent [Zabbix server]. 1: Connection refused [root@zabbix-server]# But if I do it to 10050 this comes out: [root@zabbix Agent Zabbix on NAT/Firewall Hello good, effectively served Zabbix has a NAT address assigned by the same FW. zabbix Get value from agent failed: cannot connect to [[220. domain. which drove me crazy for a couple of hours, i had the exact same problem, zabbix server could not fetch data and saying connection refused on port Hi everyone, I am encountering this issue when trying to setup monitoring from the Zabbix agent hosted on Windows with the Zabbix Server hosted on Azure Cloud Ubuntu server. 3 -p 10050:10050 -d --privileged --name DockerHost3-zabbix-agent -e ZBX_SERVER_HOST="zabbix-server" -e I also allowed everything on the MikroTik GW router connecting the Zabbix Server to the different physical the agent was not expecting this address and refused the connection. Hi, I have about 400 servers with zabbix_agent 5. 2) You don't configured the firewall on server to accept any inbound connection to port 10051 And when the agent try to get the list of active checks, the Server's Firewall (selinux/whatever) doesn't allow him to connect. Get value from agent failed: cannot connect to [[10. If this is your first visit, be sure to check out the FAQ by clicking the link above. For other servers where i use the agent, i This is Zabbix certificate load issue: "Get value from agent failed: TCP successful, cannot establish TLS to [[127. ] Unable to connect to [127. . I assume that the agent tries to reconnect every second). X. Restart your zabbix agent service if you make any changes to the conf I get a "server actively refused the connection" in the log file On boot, I get one of these 3600:20130321:140856. I've performed installation of Zabbix agent on new server and I've Zabbix active agent can't connect to Zabbix server - connection was forcibly closed by Port is opened on both sides and I have checked with Test-NetConnection in Powershell that I can connect from agent to server on specifed port (10051). 2 we opened the firewall from the agent on the machines to our server Zabbix, we also changed the timeout to = 30 and it still does not work, we have a new message "Get value from agent failed: ZBX_TCP_READ() We've set up two hosts running Zabbix Server 6. 5 (revision I have these errors with server and agent, I installed them on 2 virtual machines, and I set connection to bridged. and telnet AGENT 10051 Trying AGENT telnet: connect to address AGENT: Connection refused ===== this show that agent can connect to zabbix servers port 10050 and 10051 but still zabbix-sender has error: zabbix_sender -z SERVER -s "HOSTNAME" -k "sql. I would like to add a linux host to Zabbix, with active agent - unfortunately it does not work. In other words I'm 100% sure that your problems are not related to the zabbix per se (if you are able to renet on 10051 to localhost on zabbix server/proxy host). Name resolution is fine, in both directions. The primary symptom is that zabbix-server is not listening on ANY port (netstat -anltp | grep zabbix). Agent log: 640432:20240612:190932. Hey guys, we are currently - sort of - cleaning up our infrastructure. To start viewing messages, select the forum that you want to visit from the selection below. If it does work then its possible the server is using a different IP address to originate the connection than the one used for your telnet test, this is only a problem for a multi homed host. My server machine ip address: 10. I have a zabbix server in a container connected to two networks, with assigned IP addresses: 172. 15. 1. net zabbix agent restarts successfully but host is not visible in skywalking UI. If you do not succeed, find the reason, for example verify FW rules, make sure I opened ports 10050 and 10051 in the router's firewall. 0 zabbix agent for windows (I think) that had not been compiled with TLS support correctly. Or. After upgrading to 7. 2) some of the items used on this host are not "zabbix agent (active)" type This message means that: 1) you configured ServerActive=192. hostname I got the right fqdn back as defined in both the proxy and agent. On the agent I am getting: no active checks on server [Y:10051]: host [X] not found. Security environment (for example, SELinux) is blocking the connection; 3. The Zabbix server consists of two nodes and operates in native HA. 032 no active checks on server [zabbix-server: 10051]: host Use this forum to ask questions about how to do things in Zabbix. It worked well before upgrade. 137 Active check configuration update started to fail 2252:20230525:124206. 63 My agent machine ip address: 10. Forgot password FreeBSD agent running but no data. service failed to load: No such file or directory. 0 and installed the frontend in one server and the zabbix-server in another. Zabbix 1600px I myself had an issue with 4. 6 in HA mode, using nginx, patroni, pgbouncer, haproxy, and postgres 15. 45:10051] [Connection refused] 28485:20070629:171959 Getting list of active checks failed. 17]:10050]: [111] Connection Connection Refused is 99% a firewall problem. 0 on ubuntu 20. (see attachment) Trying to connect to the Get value from agent failed: ZBX_TCP_READ() failed: [104] Connection reset by peer. conf" or server IP/DNS override in the "zabbix. X. Log In. The second problem is local zabbix agent. 04. I can see that it is *trying* to send to the zabbix server, and I can initiate a connection, however it seems like Zabbix is ignoring the data and dropping the connection. Hi, New Zabbix user here, just deployed Zabbix server via the installation ISO successfully, however the client agent (v2) isn't communicating with the server. Skip to main All zabbix monitored servers are linked to a security group with two inbound rules for port 10050 and 10051 for the zabbix-server The connection from the client agent to the server on port 10051 is not working in your case and you Zabbix with proxy; Active agent with proxy referred to with FQDN/DNS name; Observe outgoing DNS requests on agent host 10051]: [111] Connection refused) Observe that the agent host sends an A and AAAA DNS request for the proxy each second (looks like this to me. When I try to connect to the web server with the address 192. We only saw almost like a DDOS attack from the agents, 3 of 68, spamming the Zabbix server with some reconnect over and over again: 2022/10/13 09:23:13. 186. First can't connect to db, but i fix it. 2 installed, 1 zabbix server and 1 zabbix proxy server, at first eveything was work as expected, but recentlly, the zabbix proxy can't get the last data from time to time with some servers. old as well). 150. 10050/10051 can be used in both configs and could conflict resulting in one of them not listening Use this forum to ask questions about how to do things in Zabbix. my setup: zabbix server and database are installed on WSL Zabbix agent installed on windows server we are not Connection refused zabbix_agent #19. conf file. 169 test-zbx-srv1 - 192. Improve this answer. Zabbix agent closes the connection because it comes from a host or IP address, not matching "Server=" parameter in zabbix_agentd. conf). Bonjour, je suis en stage mon tuteur la demandé d'installé et de comprenndre zabbix le seul probléme qui se trouve sé ke des host se mete dispo et dutre on comme message Cannot connect to[ ] [Connection refused] Zabbix front end works perfectly after this proxy in nginx. X]:10050]: [111] Connection refused” on the agent. 331 Connection to Zabbix server "localhost:10051" refused. I can telnet from server to host on 10050. I tested my connection with telnet and it works. 10:10051] [Connection refused] 014943:20061127:144355 Getting list of active checks failed. 208. 259 Get active checks error: cannot connect to [[192. For it to work you need: set in agent configuration file the ServerActive directive 2022/12/12 06:52:48. conf) Hello all, this is my first post in the group. com:10051] [machine_zabbix_agent] is working again 2023/09/28 13:00:42. I move a client from different subnet to same subnet as server, it works just fine. 239. Server 11110:20201119:144604. Configure /etc/inetd. But because the Zabbix container uses the ENV variable ZBX_SERVER_HOST to set both the ZBX_SERVER_HOST and the ACTIVE_SERVER it keeps on failing with a invalid server name adres. 10. 30]:10051]: [0x0000274D] No connection could be made because the target machine 28485:20070629:171959 Get active checks error: Cannot connect to [192. 88. 1]:10050]: cannot connect with TLS and certificate: no Zabbix server mysql connection issue. 572 active check configuration update from [zabbix-server:10051] started to fail (cannot resolve [zabbix-server]) 76:20210929:194255. Zabbix 3. Collapse. I'm sure that my zabbix server got notify by active agent But when i go to Configuration -> Host I got And it's seems to react as an passiv one telling me connection refused on port 10050 for my gitserver. 149955 [101] active check configuration update from [zabbix. 6. active check configuration update from host [Linux] started to fail. conf file Hostname from using address like myip. xxx Connected to xxx. 317 agent #4 started [active checks #1] 3032:20140612:113200. 228652 Zabbix Agent2 hostname: [Zabbix server] 2022/12/12 06:52:49. 193. 1:10051]: dial tcp :0->127. I understood that i can get this logs to zabbix. ] – david sierra fernandez. Any idea what We are receiving the "Zabbix agent on server is unreachable for 4 hours" but restarting the Zabbix agent nor reinstalling the Zabbix agent is clearing it. 89 I can find a lot of information on setting up Zabbix server on a Pi, just not setting up an Zabbix agent on a Pi. 20-08-2020, 17:15. It listens on localhost:10051 and forwards it to the Zabbix Server:10051. conf. Hello, I have a server on cluod and a proxy on local network and work properly. ZabbixServer ---> Router -- Portforewarding ---> Zabbix Agent As already said. On the agent host, tcpdump -i any -n tcp port 10050 and see if you get incoming packets, if not, then there is something between the boxes or you don't have proper routing between the boxes or the host configuration in server has wrong IP. 1 10050 Mostly these errors occur when there is a block in its path. I have system located in various places so decided to connect it to the zabbix server via Active check. The app in configured in HA. 31, zabbix-server 10. In active mode Zabbix agent does not need any incoming connections, instead the agent would initiate connection to Zabbix server/proxy to port 10051, will get all configuration data it needs and will be reporting metrics same exact way. 32, if ens160 OS Centos 7 thx I am registering connection problems with the Zabbix Server with all my Zabbix Agents [101] history upload to [zabbix. xxx 10000 Trying xxx. 10051 is the default port of the zabbix agent . org:10051] Zabbix Docker: No Agent Connection 02-04-2024, 08:33. The firewall is turned off on all machines. Install nmap or similar tool on the agent, then from the agent: nmap -P0 -p 10051 192 Joined: Aug 2020; Posts: 81 #3. Check the last sections of scripts docs. xx. 567586 [101] sending of heartbeat message for [Zabbix Connection to Zabbix server "localhost" refused. Set "DebugLevel=4" in zabbix agent config file and restart agent service. This is as expected, I think. After doing some tweaks, we noticed that when setting passive mode to true, the startup and liveliness probe succeeds. I have seen the connection with the 10051 port in both servers (by Telneting IP address & port) it works fine. Same debug level can be set up on server for more information. 226. Trying to make Zabbix-agent and server communicate between two hosts, but the zabbix-agent host is using gnuTLS, which is much more particular than openssl; I even tried setting the SAN properly, to no avail. hostname" on host "CLC-01A-L3" failed: another network error, wait for 15 seconds 2372:20231010:030039. I'm trying to add a new proxy in another network but receive this message Unable to connect to the server [xxx. Checking the host, when I list out the ports it shows the port as “true” I’ve given it the linux os template at the moment ,but I’m getting “Get value from agent failed: cannot connect to [[X. but when docker-compose up , zabbix agent and zabbix server not connect together and zabbix agent on zabbix server not work. telnet <Agent IP or Hostname 10050> telnet 10. 16. I have updated the OpenSSL to 1. Login or Sign Up 4006:20091019:000821 Get value from agent failed. Dont forget: on zabbix server -> host, the type of itens need to be "zabbix agent (active)". 1. zabbix-agent is also running, and I can see in lsof and in netstat that it has port 10050 open, and I get a connection when I telnet to 10050. 2. com to the real ip as 192. If the above is not a case here, please check whether your agent can reach the Zabbix server (192. Details. We have several . 317 agent #3 started[listener #3] 3032:20140612:113159. 149 Starting Zabbix Server. Or you are using the wrong IP address, or the wrong port. 190]:10051]: [111] Connection refused HI I want to monitor a database server. 119956 [101] cannot connect to [ZABBIX-IP:10051]: dial tcp :0->ZABBIX-IP:10051: i/o timeout Why is agent. zabbix server can't connect to java gateway. I configure auto shutdown server at night and auto start in the morningso the issue is that whenever my server goes upmy zabbix server says running no msg. Connection refused. 239 Starting Zabbix Agent [Zabbix server]. Login or Sign Up [cannot connect to [[127. The Agent version is the latest 5. Cannot connect to [10. Of course the problem could be network connection also (while passive mode), but that I don't mind. 1:10051: connect: connection refused 2024/06/05 11:47:33. 594 agent #2 started[listener] 1248:20130904:105314. [ZBX-25217] Cannot fix "Zabbix agent on server is unreachable for 4 hours" alert on two Ubuntu servers Created: Get value error: cannot connect to [[demprxbuse1-01]:10051]: [111] Connection refused [damwilloughby@rxzabbix01 ~] $ zabbix_get -s demprxbuse1-01 -p 10050 -k agent. If you use Active agent to zabbix server (port 10051) do you get metrics? I usually stay away from using IPs and stick to FQDN. 4 Zabbix_agent doesn't work. Hi @banzayats, Thanks for your response. When I log into the web interface, I have the error: The connection to Zabbix server "localhost" failed. loc:10051 ceph-02. zabbix 10050/tcp #Zabbix Agent zabbix 10051/tcp #Zabbix Agent Still not getting response to request @ 10050. 2700:20140612:113159. Escape character is '^]'. Has anyone seen this? When I ran zabbix_get -s X -k agent. 588 no active checks on server [zabbix-server:10051]: host [23d448ba463e] not found 10051]: [111] Connection refused) 1263:20130904:092242. 5/zabbix I have no access. 1:10051: connect: connection refused 2022/12/12 06:52:49. 1]:10051 [cannot connect to [[127. 134:161] [Connection refused] So it seems that now is trying to connect to another port, well, maybe I'm wrong at this point, In any case, your SNMP port is wrong, it should be 161 (default). 573 active check configuration update from [server2:10051 Failed to start zabbix-server. in the docker-compose. Dividing zabbix frontend from zabbix server, everything works but sysinfo widget says connection refused . These are After some reading and trying, i manage to make the active agent, but i still got some errors message. 30 LTS to 7. Zabbix server set value from agent failed: ZBX_TCP_READ() timed out. I have configured Proxy and started. Login or Sign Up Logging in Remember me. I did not restart the server, as I need a blessing from the pope to do this. 1:10051] [Connection refused] please someone can help me and tell me what is wrong please? Last edited by mika2006; 11-05-2007, 17:20 zabbix_agent 10050/tcp zabbix_trap 10051/tcp # 5. 4 i already updated the conf file with AllowKey=system. And yet still zabbix server shows red marked agent and refuses to connect. zabbix server not receiving data from agent I spent almost two days trying to resolve and issue with my zabbix server not receiving data from an agent in another server. Previous template Next. 2 @edit: Both containers are on the same network I have zabbix agent installed directly on my linux system with IP I've got a agent set up on a ESXi host. 1:10051] started to fail (cannot connect to [[127. We are guessing because then the container is opening up / actively listening on 10050. 424 End of I am very new to zabbix and I am trying to get it running on an Azure VM running Ubuntu 18. Also check the communication between server specifying the Zabbix ports (10050, 10051), so that we make sure it is not close. I've tried using different port numbers to no avail. I have been trying to get all the software installed on a windows machine using system. On Zabbix Agent configure i try to add 'Server' his local ip (127. On agent log (Active Chaeck cannot connect to zabbix_server_ip:10051 no error) On server log (cannot connect to[ zabbix_agent_hostname] connection refused) I am not using active check, which work just fine the in same subnet. Will retry after 60 seconds I don't understand why the Zabbix server refused connections. that can be configured on the zabbix-agent. 200. Hi. – Gerald Schneider. The configuration of the local agent on each server I have made in this way (zabbix_agent. php"; • 2. log. Connection closed by foreign host. 230. com:10051] is working again 2023/09/28 13:01:14. On the active server, port 10051 is open; on the standby, it's closed. So, Zabbix server or proxy successfully opens a TCP connection to agent to do a passive check (to get an item value). 149804 Hello, I created a new zabbix server on Zabbix 5, the sql server and the application are on two separate servers. 2431:20231010:030019. Will retry after 60 seconds Connected to AGENT. 112:10051) now getting [[xxx. And it should accept all connections. php"; 2. Be sure that your zabbix server has connection with your zabbix agent (normally cause by firewalls) 1. Any idea what Highly likely your Zabbix server is not configured to listen on 10051 as it usually is commented out by default. Firewall is blocking TCP connection. 173 enabling Zabbix agent checks on host "CLC-01A-L3": interface became available 1743: 20200827: 083605. txt matches the one in zabbix front-end. I added a second proxy on other lan with the same configuration of the first one but receive always Unable to connect to the server SERVERIP]:10051 [cannot Cannot connect to [my_agent] [Connection refused] I've went through the forums and tried to solve my problem, but I can't get past it. I wanted to try out the zabbix-appliance as described in the docs by running this code: $ docker run --name zabbix-appliance -t \ -p 10051:10051 \ -p 80:80 \ -d zabbix/zabbix-appliance:latest When I login, the ZBX icon under Availability Hi, everyone! As the title says I'm having some issues with the communication between my Zabbix Server and Zabbix Proxy. run and EnableRemoteCommands=1 . I installed and configured the Zabbix Server in one machine with the IP 192. But few days ago one of my machines started to work bad (with zabbix agent already) (it running out of memory and killed postrgresql process). Export. There are other solution to "break" the NAT barrier: use a Proxy Server behind the Router OR use a Active Zabbix Agent. Security environment (for example, SELinux) is Port is opened on both sides and I have checked with Test-NetConnection in Powershell that I can connect from agent to server on specifed port (10051). 19. 76:20210929:194155. However, I was able to get the host name using the same ip and the gethostname() method in the client script and I can ping the desktop (server). I have Zabbix server and on localhost is running a java-gateway but Zabbix can't check any JMX data becouse it says: cannot connect to [[localhost]:10052]: [111] Connection refused but if I use a I can see zabbix_server is running, since I can see it in ps. XX:10051: connect: connection refused. 26. I assume the linux Zabbix agent is used. the firewall is down on the server and I added the exception for the port 10051 for incomming, outgoing connections and Dear All, I've successes in place upgrade my Zabbix 6. without success, agent version 6. I hope this help you. 11 Hostname=Windows host Agent log file: 6696:20180525:153934. conf Zabbix Agent Sorry for my english, i'm using a translator Good afternoon, I have the following problem, running zabbix in a virtual environment [root@zabbix-server]# telnet localhost 10051 Trying 127. 2 for the app and another server for the database in OL9. And how i cant connect 10050 hmmm. First you should check that ports are open between Zabbix server and target host. xx]. 10050/tcp open zabbix-agent 10051/tcp open zabbix-trapper Unable to get a response on ports 10050, 10051. Incorrect server IP/DNS in the "zabbix. Share. The agent tries to make the connection for the first time and fails, history upload to [zabbix. When im using that telnet command and look afterwards into log agent files it says: could not accept connection from (zabbix server ip) failed reading first byte. in Zabbix self i got the error: Connection to Zabbix server "localhost" refused. xxx]:10051]: [111] Connection refused] Still unable to connect Server is 4. sending of heartbeat message for [minutus-linux] started to fail. You have no access from server with agent to the Zabbix proxy. I've also opened up the ports 10051 and 10050 on both inbound and outbound port rules on I was able to set up an SSH tunnel to forward the agent results to the Zabbix server, using BitVise. no-ip. Log in. Hi, I'm having problems connecting the windows machine with active agent to the zabbix server. socket. I checked the tcp connection on zabbix proxy and found this: 1. Incorrect "NodeAddress" or "ListenPort" in the "zabbix_server. Incorrect Hello, I would like to restart my snmp service automatically (10 mins later) when the zabbix "service stopped" alert is triggered. 629379 [101] active check configuration update from [zbx-proxy. The Zabbix server If that does not work that means the agent is rejecting the connection as the inbound IP address does not match the one it has for the server. 151 in zabbix_agent. Please report bugs ="https Some servers are monitored with the agent, others only with SIMPLE CHECK [SRVR1] [Connection refused] i already tried another template with ONLY icmpping (simple check of course), but it stays the same. Commented Jul 25 at 12:47. [serverlinux:10051] started to fail (cannot connect to [[serverlinux]:10051]: [111] Connection refused) 37497:20231228:115242. 230741 [101] cannot connect to [127. Will retry after 60 seconds The zabbix-agent service on the monitored server is running. I have solved the issue by editing my zabbix-agent. the agent is running on 10050 but when i change it to 10051 (per the error) i get : root@pve01: hi i used official docker-compose for zabbix server with apache web server and my sql db. JPG There are quit a connection refused indicates that the zabbix agent is not running. Yes, this is not a big load, and we did not see any spikes in RAM, CPU or Disk for the Zabbix server. conf' dont have the right pointing to your zabbix server. XX. Sign Up. 172. is this "normal" behaviour? Thanks again, Colin. Closes the firewalld. However i If this is your first visit, be sure to check out the FAQ by clicking the link above. server. That way you'll have more information why communication does not work. Solution was to chown zabbix /etc/zabbix_server. Seems that after the reboot the other day a new log file was created with different permissions (I have a zabbix_server. Take a look at your config and you may find this: # Connection to Zabbix server "localhost" refused. Connection refused docker run --add-host=zabbix-server:172. I've added the zabbix servers IP in vshere to allow the connection. version[zabbix_agent] ZBX_NOTSUPPORTED Connection closed by foreign host. X and my Zabbix Proxy (with an Agent to monitor the status and such) in another machine with the IP 192. The agent was installed on the same computer as the server, so the agent's IP address should be 127. I've given it the linux os template at the moment ,but I'm getting "Get value from agent failed: cannot connect to [[X. Closed Sabrimjd opened this issue Feb 17, 2021 · 2 comments Closed Connection refused zabbix_agent #19. 020232:20070510:123608 Cannot connect to [127. 190]:10051]: [4] Interru. 0 The firewall on the host is allowing port 10050. Please make also sure that PSK string in C:\Zabbix\conf\client. also i set Created my psk as was mentioned in documentation with openssl rand -hex 64 then copied the key to the psk file. 4 zabbix below my configurations (see captures) I authorized on the agent zabbix windows AllowKey=system. The agent on this server appears to work fine, and is listening on port 10050. 4. 3 and 172. 3. 1 The This is an entry that has existed here from the very beginning. Here is the snippets from the log files. Can you connect from zabbix server to zabbix agent using telnet <zabbix_agent_host_ip After upgrading to 7. 2 as well. ping[] key to check is it possible to connect with the agent when the agent in active mode by definition is not listening on 10050/tcp. 31:10050] [Connection refused] Seems like the This parameter # must be between 1024 and 32767 # ListenPort=10051 # Source IP address for I am trying to monitor a Windows Server2019 using a Zabbix agent active, because it has no hyper-v or vcenter in which to [[127. First try to get value from agent using: zabbix_get tool - localy Log in to remote server and try to: when I telnet server from my remote one by telnet my_ip 10051 then I got connection but it freeze on Escape character - it do not disconnect but maybe this protocol is that. ping UNKNOWN when zabbix_agentd isn't responding? I think this is a major problem here. "Telnet localhost 10051" results in "Connection refused" Please help, kind people. Zabbix 5. Zabbix server daemon not running; 4. 1 I have a Zabbix agent and a master server. 75] [Connection refused] 009813:20050525:172134 Getting list of active checks failed. You may have to REGISTER before you can post. The machines: test-zbx-fe2 - 192. 10051]: [1111] Connection refused)" Why am I receiving this if port in conf file is set to 10050? I get different answers when I google it. 1]:10051]: [0x0000274D] No connection could be made because the target machine actively refused it. About nmap you a absolutely right, I don't see now that is port open, but i check not only nmap, i also check by telnet, and "Zabbix server is running" on web face was "No localhost:10051". 622 active check configuration update from [server1:10051] started to fail (cannot connect to [[server1]:10051]: [111] Connection refused) Nov 23 17:41:13 agent-hostname1 zabbix-agent[23090]: 61:20181123:144113. 0. 63 according to the config). I have installed Zabbix 6. Will retry after 60 seconds The server (linux) is listening on the zabbix ports, the client (Linux) agentd works fine for all functions but for these "active checks". 1]:10051]: Connection refused. If you have used encryption, so check your TLS settings Some network device (firewall) between server and agent is Active Agent config & log activity I've pasted below the config for the agentd running on windows and some of the log file. conf Stack Overflow for Teams Where developers & technologists share private knowledge with coworkers; Advertising & Talent Reach devs & technologists worldwide about your product, service or employer brand; OverflowAI GenAI features for Teams; OverflowAPI Train & fine-tune LLMs; Labs The future of collective knowledge sharing; About the company telnet: Unable to connect to remote host: Connection refused 4) Also - in this zabbix server i have monitored 7 switches by snmp - so ports are open. Get value error: cannot connect to [[demprxbuse1-01]:10051]: [111] Connection refused [damwilloughby@rxzabbix01 ~] $ zabbix_get -s demprxbuse1-01 -p 10050 -k agent. 7 (revision 70289). It not run and can't start it. xqyh gpqg jesnb xckgg jixq mzczs ckidu gny comvi pboi