Ad Widget

Collapse

Zabbix-GPU data Aggregation

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • IT_TEAM_SSA
    Junior Member
    • Jan 2020
    • 3

    #1

    Zabbix-GPU data Aggregation

    Heyo,

    I'm using this zabbix template (https://share.zabbix.com/cat-server-...-multiple-gpus) to monitor GPU Servers.
    Some servers have 1 GPU and some have 2 GPUs.

    I'm looking for a way to aggregate data (GPU Usage) from all GPUs into 1 single data stream.
    For example : I have 2 servers with 1 GPU and 3 servers with 2 GPUs, total 2*1 + 3*2 = 8 GPUs.

    How can I aggregate all those GPU into a single graph/data stream ?

    I managed to agregate the single GPU Servers into 1 but i can't find a way to do it with the dual GPU servers.

    Thank you and happy new years
  • gofree
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • Dec 2017
    • 400

    #2

    Comment

    • IT_TEAM_SSA
      Junior Member
      • Jan 2020
      • 3

      #3
      Heyo,
      I'm aware of this (and this is already what I'm using)
      My issues is that my GPUs are defined as an array ([0] if Mono GPU and [0,1] for dual GPUs
      Here is my item Key : grpavg["Mono GPU Servers","gpu.utilization[0]",last]

      the ideal Key would be : grpavg["GPU Servers","gpu.utilization[0]",last]

      My issues is that I need to aggregate servers with arrays both [0] and [0,1].
      It seems I can't do it with grpavg.

      Can you help me further ?

      Thank you

      Comment

      • IT_TEAM_SSA
        Junior Member
        • Jan 2020
        • 3

        #4
        Sorry Typo :
        The ideal Key would be : grpavg["GPU Servers","gpu.utilization[0] & gpu.utilization[0,1]",last]

        Comment

        • gofree
          Senior Member
          Zabbix Certified SpecialistZabbix Certified Professional
          • Dec 2017
          • 400

          #5
          maybe use calculated items on aggrgated items ?

          https://www.zabbix.com/forum/zabbix-...aggregate-item

          create two aggregated items and calculate them ( not sure if it will work but worth a try )

          Comment

          Working...