Ad Widget

Collapse

Problem : Zabbix poller processes more than 75% busy - Zabbix database optimize

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • duyth4
    Junior Member
    • Apr 2020
    • 7

    #1

    Problem : Zabbix poller processes more than 75% busy - Zabbix database optimize

    Hi all, good day.

    I have a Zabbix Monitoring server with server configuration about :

    CPU : 2 cores of virtual CPU
    RAM : 4GB
    HDD : 60GB

    What i am monitoring now :

    Number of hosts (enabled/disabled/templates) : 167 (9 / 0 / 158)
    Number of items (enabled/disabled/not supported) : 689 (638 / 45 / 6)
    Number of triggers (enabled/disabled [problem/ok]) : 161 (147 / 14 [5 / 142])
    Required server performance, new values per second 10.36

    Item configuration :

    Interval : 1m
    History storage periods : 7d
    Trend storage periods : 30d

    And now my server always have problem : Zabbix poller processes more than 75% busy.

    Anyone have a solution for this problem, in the next 2 week, the host could expand to 300 enable hosts and 200 templates ?
    And what configuration should I used for best database optimize.

    Thank you and have a nice day.
  • KBlasz
    Junior Member
    • Apr 2020
    • 20

    #2

    Hello, i had a similiar issue. that warning is coming up becuase your items are taking up a lot of pollers to complete. There are a few things that you can do.

    1. you have items that are no completing in a healthy way. to check this, go to administration > queue. if you see any items taking longer than a few min and returning errors then you are encountering badly set up checks.

    2. if items are being compeleted correctly but just taking a while then increas the amount of pollers zabbix starts with. this can be edited in the zabbix config file. note that this solution can cause issues in itself as zabbix main server should not be running with a tonne of pollers.

    3. The best solution that i personally would do, when you notice any poller issues is to offload these tasks to a zabbix proxy. this means that proxies pollers will be used instead of the main zabbix servers pollers. Zabbix main server is already doing a lot of stuff trying to manage everything, with 2 cores and 4gb of ram you are going to run into issues expanding without proxies. Set up a proxy or two and set up monitoring on them using the templates provided by zabbix. from there split the workload depending on how well everything is running.

    Comment

    • duyth4
      Junior Member
      • Apr 2020
      • 7

      #3
      Originally posted by KBlasz
      Hello, i had a similiar issue. that warning is coming up becuase your items are taking up a lot of pollers to complete. There are a few things that you can do.

      1. you have items that are no completing in a healthy way. to check this, go to administration > queue. if you see any items taking longer than a few min and returning errors then you are encountering badly set up checks.

      2. if items are being compeleted correctly but just taking a while then increas the amount of pollers zabbix starts with. this can be edited in the zabbix config file. note that this solution can cause issues in itself as zabbix main server should not be running with a tonne of pollers.

      3. The best solution that i personally would do, when you notice any poller issues is to offload these tasks to a zabbix proxy. this means that proxies pollers will be used instead of the main zabbix servers pollers. Zabbix main server is already doing a lot of stuff trying to manage everything, with 2 cores and 4gb of ram you are going to run into issues expanding without proxies. Set up a proxy or two and set up monitoring on them using the templates provided by zabbix. from there split the workload depending on how well everything is running.
      Hello, thank for your help.

      I have increase my poller from 5 to 50.
      The error disappear like magic.
      Thank you.

      Comment

      • tim.mooney
        Senior Member
        • Dec 2012
        • 1427

        #4
        If you search around the forums for "pollers", you may be able to find other people that did the same thing: increased the number of pollers from the default of "5" to some much, much larger value. That can cause its own issues.

        With settings like the number of pollers, you are much better off increasing by some smaller amount. For example, try changing it from 5 to 8, or 5 to 10. If it turns out that 8 or 10 isn't quite enough to get the pollers so they can keep up, then adjust it by another small amount, for example to 12 or 15.

        Comment

        • pat_10
          Junior Member
          • Mar 2021
          • 7

          #5
          Originally posted by tim.mooney
          If you search around the forums for "pollers", you may be able to find other people that did the same thing: increased the number of pollers from the default of "5" to some much, much larger value. That can cause its own issues.
          I can confirm what tim.mooney says. It's not a good idea to increase the value so drastically. It's best to always take small steps upwards.

          I wish you all a great weekend!

          Comment

          Working...