Ad Widget

Collapse

zabbix_get -s localhost -k agent.ping slow on some servers

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • unsupo
    Junior Member
    • Aug 2018
    • 2

    #1

    zabbix_get -s localhost -k agent.ping slow on some servers

    zabbix_get -s localhost -k agent.ping slow on some servers returns with correct value in over 40 seconds

    zabbix_agentd -t agent.ping returns correct value in a few milliseconds.

    zabbix agent version is 3.0.3.2-1
  • DmitryL
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2016
    • 278

    #2
    Please post output of following commands from the same host:
    Code:
    time zabbix_get -s 127.0.0.1 -k agent.ping
    time zabbix_agentd -t agent.ping

    Comment

    • unsupo
      Junior Member
      • Aug 2018
      • 2

      #3
      time zabbix_get -s 127.0.0.1 -k agent.ping

      1

      real 0m40.015s

      user 0m0.008s

      sys 0m0.016s



      time ./zabbix_agentd -t agent.ping

      agent.ping [u|1]

      real 0m0.030s

      user 0m0.008s

      sys 0m0.020s

      Comment

      • kloczek
        Senior Member
        • Jun 2006
        • 1771

        #4
        Zabbix server/proxy does not connects to the agent on icmp/echo.
        You need to check this connection using tcping command.
        Second: slow reply may be caused by CPU saturation or other issues on monitored host. Please make sure that something on monitored host side is not causing this issue. This is most likely is the cause as you are able to observe the issue only on some hosts, ad if it the cause this has nothing to do with zabbix agent.
        http://uk.linkedin.com/pub/tomasz-k%...zko/6/940/430/
        https://kloczek.wordpress.com/
        zapish - Zabbix API SHell binding https://github.com/kloczek/zapish
        My zabbix templates https://github.com/kloczek/zabbix-templates

        Comment

        Working...