ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    How to Calculate Zabbix CPU Load

    IT Discussion
    zabbix centos 7
    3
    13
    9.8k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • wirestyle22W
      wirestyle22
      last edited by wirestyle22

      Disclaimer: This was my first Zabbix install and I am still familiarizing myself with it.

      Is Zabbix calculating CPU load in order of magnitude? What does the values on the left (5,10,15, 20) mean in relation to my CPU? I'm assuming this is a default trigger and I need to calculate what the value of my processor(s) are, but I have no idea what these values mean.

      0_1482959096774_chart2.png

      1 Reply Last reply Reply Quote 0
      • scottalanmillerS
        scottalanmiller
        last edited by

        It's showing actual load. It's not making anything up. That's the same load number your OS displays (like in the top command.) Your alarms should be based on load factor, not load. No way to guess what a good load is for your system nor does it matter. Load factor matters, load does not.

        1 Reply Last reply Reply Quote 1
        • scottalanmillerS
          scottalanmiller
          last edited by

          That's a very busy server. How many cores / thread engines does that box have?

          1 Reply Last reply Reply Quote 0
          • wirestyle22W
            wirestyle22
            last edited by

            But the trigger is set to 5. The CPU Utilization is showing only 30% so I just need to change the trigger realistically, right?

            scottalanmillerS 2 Replies Last reply Reply Quote 0
            • dafyreD
              dafyre
              last edited by

              I talked with him about this. This is a Windows Box. I think windows calculates the CPU Load differently than a Linux machine.

              scottalanmillerS 1 Reply Last reply Reply Quote 0
              • scottalanmillerS
                scottalanmiller @wirestyle22
                last edited by

                @wirestyle22 said in How to Calculate Zabbix CPU Load:

                But the trigger is set to 5.

                That's pretty dumb. 5 is totally arbitrary and has no meaning for load. It's not showing load factor (which should stay at 1 or below) and doesn't show what it takes to determine load factor. So the alarm is useless. You'd have to factor load factor manually and set a proper alarm yourself.

                1 Reply Last reply Reply Quote 0
                • scottalanmillerS
                  scottalanmiller @wirestyle22
                  last edited by

                  @wirestyle22 said in How to Calculate Zabbix CPU Load:

                  The CPU Utilization is showing only 30% so I just need to change the trigger realistically, right?

                  CPU has a load of 30, we have no idea what the utilization percentage is. That's not shown here. We have no way to know what is going on with only this information. We don't know the load factor or the percentage of utilization nor the thread count.

                  1 Reply Last reply Reply Quote 0
                  • scottalanmillerS
                    scottalanmiller @dafyre
                    last edited by

                    @dafyre said in How to Calculate Zabbix CPU Load:

                    I talked with him about this. This is a Windows Box. I think windows calculates the CPU Load differently than a Linux machine.

                    Should not, it's a standard thing. Not really OS dependent.

                    1 Reply Last reply Reply Quote 0
                    • scottalanmillerS
                      scottalanmiller
                      last edited by

                      CPU load is the number of threads in a runnable state on the system. On the windows agent, it's measured using an averaged "processor queue length" perfmon counter.

                      1 Reply Last reply Reply Quote 1
                      • wirestyle22W
                        wirestyle22
                        last edited by wirestyle22

                        This is CPU utilization within Zabbix (what I was referring to)

                        0_1482960988928_chart2.png

                        1 Reply Last reply Reply Quote 0
                        • scottalanmillerS
                          scottalanmiller
                          last edited by

                          There we go, see how low the percentage is? That's 1% - 5% only. This suggests that your load is just fine. But figuring out your load factor is critical to knowing if everything is okay and what a threshold should be. What's your thread engine count for this VM?

                          wirestyle22W 1 Reply Last reply Reply Quote 0
                          • wirestyle22W
                            wirestyle22 @scottalanmiller
                            last edited by

                            @scottalanmiller said in How to Calculate Zabbix CPU Load:

                            There we go, see how low the percentage is? That's 1% - 5% only. This suggests that your load is just fine. But figuring out your load factor is critical to knowing if everything is okay and what a threshold should be. What's your thread engine count for this VM?

                            I actually uploaded the wrong one. The new one I just put up is accurate.

                            1 Reply Last reply Reply Quote 0
                            • scottalanmillerS
                              scottalanmiller
                              last edited by

                              Okay, still not bad. Only peaking at 30% and not often at all.

                              1 Reply Last reply Reply Quote 0
                              • 1 / 1
                              • First post
                                Last post