Ad Widget

Collapse

Agent zabbix 6.4 cannot connect to IP

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • delring
    Junior Member
    • Nov 2023
    • 4

    #1

    Agent zabbix 6.4 cannot connect to IP

    Good morning
    When I install the Zabbix agent on my VMs they communicate correctly,
    but after a while I get the Status Not available "Get value from agent failed: cannot connect" IP interrupted system call.
    If I reboot the machine communicates again, but after a while it is lost again,
    How do I make sure this communication is not lost?
    Thank you.​
  • cyber
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2006
    • 4807

    #2
    DHCP? Connect to name then, not IP...

    Comment

    • delring
      Junior Member
      • Nov 2023
      • 4

      #3
      Thanks for the answer cyber:

      The machines have static ip, i added the DNS on the host in zabbix, and it happen again. actualy the agent log show this error.
      it says something for you?
      Didnt found good info about that.

      3504:20231121:143111.828 using configuration file: C:\Program Files\Zabbix Agent\zabbix_agentd.conf
      3504:20231121:143112.767 PdhLookupPerfNameByIndex() failed: [0xC0000BBD] Un argumento requerido no se encuentra o es incorrecto.
      3504:20231121:143112.768 PdhLookupPerfNameByIndex() failed: [0xC0000BBD] Un argumento requerido no se encuentra o es incorrecto.
      3504:20231121:143112.768 PdhLookupPerfNameByIndex() failed: [0xC0000BBD] Un argumento requerido no se encuentra o es incorrecto.
      3504:20231121:143112.769 PdhLookupPerfNameByIndex() failed: [0xC0000BBD] Un argumento requerido no se encuentra o es incorrecto.
      3504:20231121:143112.769 Failed to initialize builtin counter: % Processor Time
      3504:20231121:143112.769 Failed to initialize builtin counter: Total Sessions
      3504:20231121:143115.520 agent #0 started [main process]
      4340:20231121:143115.539 agent #1 started [collector]
      4344:20231121:143115.540 agent #2 started[listener #1]
      4348:20231121:143115.556 agent #3 started[listener #2]
      4352:20231121:143115.558 agent #4 started[listener #3]​

      Comment

      • cyber
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • Dec 2006
        • 4807

        #4
        It looks like something with localized performance counter names. I guess templates use english names and you maybe have localized windows and default is spanish?

        Comment

        • delring
          Junior Member
          • Nov 2023
          • 4

          #5
          Thansk cyber, but i think need more help, I'm trying to understand this situation, but i dont know exactly what to do.

          Its very strange agent works good, but in less than 24hours lost the comunication with agent.

          Comment

          • solution
            Senior Member
            • Jun 2020
            • 269

            #6
            try Rebuild the perf registry.
            stop zabbix-agent
            CMD -->
            cd c:\windows\system32
            lodctr /R
            cd c:\windows\sysWOW64
            lodctr /R​
            start zabbix-agent

            **https://ss64.com/nt/lodctr.html

            Wellington​

            Comment

            • delring
              Junior Member
              • Nov 2023
              • 4

              #7
              Thanks to all,

              Finaly, I found a solution installing agent 2,

              All machines are working with this one.

              Regards.

              Comment

              Working...