Ad Widget

Collapse

How do I know the ideal settings for my zabbix_server.conf?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cesarsj
    Senior Member
    • Dec 2018
    • 154

    #1

    How do I know the ideal settings for my zabbix_server.conf?

    How do I know the ideal settings for the following parameters, configurable in zabbix_server.conf?

    # StartPollers = 5
    # StartPreprocessors = 3
    # StartPollersUnreachable = 1
    # StartTrappers = 5
    # StartHTTPPollers = 1
    CacheSize = 16M
    # CacheUpdateFrequency = 60
    # HistoryCacheSize = 16
    # TrendCacheSize = 4M
    # ValueCacheSize = 8M
    Timeout = 4

    Zabbix Server is on a VM with 16 GB of RAM, and in my.cnf innodb_buffer_poll_size is 12GB. 4 Core CPU. In the system there are already 863 hosts, and 8659 active items.

    My boss is very judicious, systematic. It boasted to me that Zabbix is ​​almost gone, and in the queues there is nothing waiting. But when I say that I am going to increase the value of any parameter, I have to explain to him why I am increasing to that value.

    I researched how to adjust these values ​​based on criteria, but all I found was this link: https://blog.zabbix.com/monitoring-h...esses-are/457/
  • cesarsj
    Senior Member
    • Dec 2018
    • 154

    #2
    Should StartPollersUnreachable, StartIPMIPollers, StartHTTPPollers, and StartJavaPollers together be less than the value of StartPollers? That is, StartPollers is the maximum that can have the total of these items?

    Comment

    • Atsushi
      Senior Member
      • Aug 2013
      • 2028

      #3
      Each setting must be adjusted by checking the server process busy status and queue status. You should consider the number of items that must be processed per second, rather than the total number of monitored hosts and items. As shown in the referenced URL, check the busy rate and cache status of each process that can be confirmed with the monitoring template for Zabbix server.

      Why did you think to increase the value? If there was a basis for the increase, you could explain it to your boss.

      Each poller is set for each individual role. The maximum number is not specified in StartPollers.

      Comment

      • cesarsj
        Senior Member
        • Dec 2018
        • 154

        #4
        Originally posted by Atsushi
        Each poller is set for each individual role. The maximum number is not specified in StartPollers.
        To definitely resolve my question, if StartPollers is not the maximum number of Pollers available for IPMIPollers, HTTPPollers, JavaPoller, and UnreachablePoller, what are these findings specifically for?

        Comment


        • Atsushi
          Atsushi commented
          Editing a comment
          You can specify as many processes as you need for the role you need.
      • cesarsj
        Senior Member
        • Dec 2018
        • 154

        #5
        Atsushi Your last comment did not help me clarify things. Let's say StartPollers = 5 is a poller set. Draw on the paper a large ball 5cm in diameter, this ball will be the StartPollers. We can say that a smaller ball called StartUnreachablePollers with 1cm of diameter plus another ball called StartHTTPPollers too with 1cm of diameter, would fit inside StartPollers, but if we wanted to add another 4cm diameter StartJavaPollers ball, would it not be possible?

        Comment


        • Atsushi
          Atsushi commented
          Editing a comment
          Are you reading my post?
          I said, "The maximum number is not specified in StartPollers. "
          StartPollers, StartUnreachablePollers, StartHTTPPollers, and StartJavaPollers are settings that specify the number of processes in different roles. There is no problem even if the StartPollers setting is 5, and other setting values are 5 or more. If there are no problems with the availability of resources on the server running Zabbix server and the number of connections to the database, you can start as many processes as needed for each role.
      • cesarsj
        Senior Member
        • Dec 2018
        • 154

        #6
        1) Other questions are, if I increase the size of CacheSize from 16M to 32M, will this increase have consequences on other parameters, processing or other aspects?

        2) Since January, free CacheSize has decreased from 42% to 32%. Why must it have decreased?

        3) If I make the increase, do I need to restart the server, or does CacheUpdateFrequency = 60 tell me that it will increase in the next minute?

        The command
        Can zabbix_server -R config_cache_reload also be used at this time so I don't have to restart the server?

        Comment

        • cesarsj
          Senior Member
          • Dec 2018
          • 154

          #7
          Atsushi I could understand better now. Thanks!

          Now, I look forward to someone helping me to clarify the other issues. It would be a great help.

          Sometimes I think the Zabbix manual itself doesn't clarify everything.

          Comment

          Working...