Ad Widget

Collapse

View Windows server or VMware guest VM CPU/RAM in simple %

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • acatic1
    Member
    • Oct 2019
    • 38

    #1

    View Windows server or VMware guest VM CPU/RAM in simple %

    Using Zabbix 4.4.0 and Grafana. I'm a general noob in both, but have been intensely building them out over the past few weeks.

    I'm trying to put together a table of my VM guest servers' performance values, similar to https://grafana.com/grafana/dashboards/5456.

    When I test different keys such as vm.memory.size[free], system.swap.size[,free], vm.memory.size[total], I'm getting crazy values such as 2417164288.00% for free memory, which does correspond to the bytes available. I just want a neat number like 75%. What do I need to do for that? Is it a zabbix or grafana thing?

    Attached Files
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Use calculated item and simple expression for percent like this (free_memory/total_memory)*100

    Comment

    • acatic1
      Member
      • Oct 2019
      • 38

      #3
      Thank you Hamardaban. How do I apply that? Is ‘free...100’ the key for the item?

      I saw people mentioning that calculation, I just didn’t see how it is actually applied.

      Comment

      • Hamardaban
        Senior Member
        Zabbix Certified SpecialistZabbix Certified Professional
        • May 2019
        • 2713

        #4
        Sorry.... There is an easier way to get "percent" - use "vm.memory.size[pused]" or " vm.memory.size[pavailable]" and "system.swap.size[,pfree]" ( pfree (free swap space, in percent), pused (used swap space, in percent))
        Read

        Comment

        • acatic1
          Member
          • Oct 2019
          • 38

          #5
          Thank you Hamardaban. I appreciate it.

          Comment

          Working...