Ad Widget

Collapse

Sum of CPU Consumption in VMware Cluster

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • AndrewBest
    Junior Member
    • Dec 2015
    • 2

    #1

    Sum of CPU Consumption in VMware Cluster

    Evening,

    Been playing with Zabbix for a few weeks now. Has been a slow and entertaining journey of enlightenment.

    I want to create graphs which display the following items:
    • Sum of total CPU available in VMware Cluster
    • Sum of total consumed CPU in VMware Cluster
    • Sum of available RAM in VMware Cluster
    • Sum of consumed RAM in VMware Cluster


    I have the VMware module in and working. All my ESXi servers are being monitored as are their VM's.

    Ive used information I found elsewhere to produce a %age used item and graph for each hosts CPU and RAM. I would like to roll this up now into a single CPU and RAM graph for a VMware Cluster.

    Ive been looking at calculated and aggregate items and played around with some formulas. The last item I tried to create used the following formula:

    Code:
    (grpsum[“AUTEST”,”vmware.hv.cpu.usage[{$URL},{HOST.HOST}]”,last,0]) / ((grpsum[“AUTEST”,”vmware.hv.hw.cpu.freq[{$URL},{HOST.HOST}]”,last,0]) * (grpsum[“AUTEST”,”vmware.hv.hw.cpu.threads[{$URL},{HOST.HOST}]”,last,0]))
    Which resulted in the error:

    Code:
    28367:20151217:162448.900 item "Lab Compute:vmware.clstr.cpu.usage[{$URL},{HOST.HOST}]" became not supported: Cannot evaluate expression: expected numeric token at "grpsum[“AUTEST”,”vmware.hv.cpu.usage[{$URL},{HOST.HOST}]”,last,0]) / ((grpsum[“AUTEST”,”vmware.hv.hw.cpu.freq[{$URL},{HOST.HOST}]”,last,0]) * (grpsum[“AUTEST”,”vmware.hv.hw.cpu.threads[{$URL},{HOST.HOST}]”,last,0]))".
    I will plow some more time into it in the coming days and try and solve it. Can anyone offer some pointers in the mean time?
  • AndrewBest
    Junior Member
    • Dec 2015
    • 2

    #2
    Bump.

    Either I didn't explain what Im trying to do properly so no one could understand it or its a dumb question.

    Anyone want to lend me a clue?

    Comment

    • mrallengod
      Junior Member
      • Feb 2018
      • 4

      #3
      Originally posted by AndrewBest
      Bump.

      Either I didn't explain what Im trying to do properly so no one could understand it or its a dumb question.

      Anyone want to lend me a clue?
      Hi AndrewBest:

      Did you get the solution about this?
      Actually I have the same question with you.

      Comment

      Working...