Ad Widget

Collapse

Windows Local Host "Availability" shows red

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • JP95
    Junior Member
    • Jan 2026
    • 3

    #1

    Windows Local Host "Availability" shows red

    Hi Everyone,

    I am new to Zabbix and i want to test some monitoring capabilities on my local host. I have added my laptop as a host on Zabbix and to my knowledge it looks like I added it correctly, but I keep seeing a red "Availability" icon instead of a green one. I have installed the Zabbix agent to my machine and the service is running, I have also checked my Firewall Outbound rules and can see the Zabbix 10050 port.

    The message I get on the red icon is as follows (Get Value from agent failed: cannot read response: cannot read from socket: [104] connection reset by peer)

    Can anyone maybe guide me in the right direction? maybe I am missing something?

    Kind Regards
  • guntis_liepins
    Junior Member
    • Oct 2025
    • 28

    #2
    We have not enough information to answer
    But after you installed zabbix agent you must set Server (which Server can access zabbix) and ServerActive (which zabbix servers agents will send data in active mode) parameters in zabbix agent configuration file and restart agent.
    Second open firewall of course oru se Active checks. In case of active checks make sure hostname in zabbix server and agent match.

    Comment

    • Donkey
      Junior Member
      • Jun 2024
      • 20

      #3
      You seem to say you're running Windows. So where's your Zabbix server? Have you got one?
      I presume you installed the Zabbix Agent (2) using the MSI. If so, that will have created rules in Windows Firewall.

      What is the value of ServerActive=
      in C:\Program Files\Zabbix Agent 2\zabbix_agent2.conf

      Comment

      • JP95
        Junior Member
        • Jan 2026
        • 3

        #4
        Apologies for any confusion, so we have a dedicated server that was spun up for Zabbix, and then I added my windows laptop on Zabbix as a Host/resource just to see what metrics I can get. I did download and install the Zabbix agent on my laptop and can see the agent service running.

        I can also see the port 10050 on my laptop Outbound rules (which I believe I should see)

        The Value I have for "ServerActive=" is a IP address.

        Kind Regards

        Comment

        • Donkey
          Junior Member
          • Jun 2024
          • 20

          #5
          Right, from PowerShell on the laptop, do a Test-NetConnection -Computername zabbixserverIPaddress -Port 10051
          It sounds like a connectivity / latency issue. You may need to look at it from a network perspective (firewall?)

          You will also need to assign at least one template to the host (laptop) in Zabbix.

          Comment

          • guntis_liepins
            Junior Member
            • Oct 2025
            • 28

            #6
            can also see the port 10050 on my laptop Outbound rules (which I believe I should see)
            this isn't right

            zabbix agent operates in two modes
            passive checks
            • Zabbix agent listens for requests from server and return values to server, listen on port 10050 and receives requests from IPs listed in Server= directive.
            • Must allow inbound connectiuon on 10050 port from zabbix server.
            • In host configuration zabbix agent interface for host must be created with host IP address (and port, but default 10050).
            • Must use template "Windows by Zabbix agent"

            active checks -
            • zabbix agent using its hostname gets list of items it should send to servers and time intervals for them. Then agent itself connects to server specified in ServerActive parameter and send items to server.
            • Must allow outbound connection from zabbix agent/host to zabbix server port 10051.
            • Does not need zabbix agent interface , but hostname must match agent exactly
            • Must use template "Windows by Zabbix agent active"
            Please note direction of traffic.
            Typically people without specific security requirements allow both connection which let you combine passive and active checks if needed.

            Comment

            • irontmp
              Member
              • Sep 2023
              • 45

              #7
              Originally posted by JP95
              Hi Everyone,

              I am new to Zabbix and I want to test some monitoring capabilities on my local host. I have added my laptop as a host on Zabbix and to my knowledge it looks like I added it correctly, but I keep seeing a red "Availability" icon instead of a green one. While setting things up, I was also browsing metal garage kits for inspiration. I have installed the Zabbix agent to my machine and the service is running, I have also checked my Firewall Outbound rules and can see the Zabbix 10050 port.

              The message I get on the red icon is as follows (Get Value from agent failed: cannot read response: cannot read from socket: [104] connection reset by peer)

              Can anyone maybe guide me in the right direction? maybe I am missing something?

              Kind Regards
              The red availability icon usually means the Zabbix server cannot communicate properly with the agent. Check that the agent’s Hostname= exactly matches the host name in Zabbix, ensure Server= is set to your Zabbix server’s IP, and confirm port 10050 is open for inbound connections. Restart the agent and test connectivity from the server with telnet or nc to verify it can reach the agent. Also, review the agent logs for errors. Fixing these common issues should make the icon turn green.

              Comment

              Working...