Ad Widget

Collapse

Timeout !

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • llopht
    Junior Member
    • May 2005
    • 19

    #1

    Timeout !

    Hello,

    I use zabbix to check around 40 servers on my lan. With the last 6 servers I have always timeout errors (linux and windows with zabbix agent). How to known why ?

    Thanks,

    Jérôme

    Note. I use the last agent.
  • llopht
    Junior Member
    • May 2005
    • 19

    #2
    In fact it seem I have timeout problem because I have too many items (2000) and hosts (63). I have try to increase poller threads to 15 but this is the same problem. I have delete some items on each hosts, that work, timeout errors disappear.

    Alexei, do you have a solution ?

    Thanks !

    Comment

    • James Wells
      Senior Member
      • Jun 2005
      • 664

      #3
      Greetings,

      Right off the bat, I would suggest moving most of your item checks to Zabbix Agent (Active) if possible. This will reduce the load on the pollers and help reduce the number of items that can timeout.
      Unofficial Zabbix Developer

      Comment

      • llopht
        Junior Member
        • May 2005
        • 19

        #4
        I have change this settings but now I have none data return by my agent. Must I changer another thing ?

        What is the difference between agent and agent active ?

        Thanks

        Jérôme

        Comment

        • James Wells
          Senior Member
          • Jun 2005
          • 664

          #5
          Originally posted by llopht
          I have change this settings but now I have none data return by my agent
          You should leave a couple of items as Zabbix Agent, and most as Zabbix Agent (Active)

          Must I changer another thing ?
          Should not need to change anything else. Just let it go for a while. Be default the agents check for active lists every 2 minutes, but I have seen it take up to 2 hours before they get a list. If after 2 hours, it is still not working, ensure that the hostnames listed in the Zabbix DB match those of the servers that you are monitoring. Then make sure there is no firewall rules that block communication of the two ports you are using for the server and agent communication. If those are correct, then from the server attempt to connect to one of the agents manually, using telnet or zabbix_get.

          What is the difference between agent and agent active?
          There are two main modes to run the Zabbix agent in, the first is passive mode, in this mode, the server polls the agents and gathers the information directly, the agents, simply return what the server is asking for. The second mode is active, in this mode, the agent polls the server for a list of things to monitor, and then monitors those items, periodically sending the results to the server.

          In active mode, the Zabbix Agent will contact the Zabbix Server at startup, and periodically (Based on the RefreshActiveChecks entry in the zabbix_agentd.conf file) and asks the server for a list of items to monitor. The server then queries the database, based on the name of the Zabbix Agent (As configured by the Hostname entry in the zabbix_agentd.conf file). It then returns this list to the Zabbix Agent, who runs off and gathers the data with the periodicity defined by the item configuration.

          The first mode uses a great deal of resources on the server and is fairly easily blocked by long queries, the second mode uses more far fewer resources on the server as the agents themselves send the data when it is available.
          Unofficial Zabbix Developer

          Comment

          Working...