Ad Widget

Collapse

VMware CPU Usage in percentage

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • diegodaloiso
    Junior Member
    • Jan 2021
    • 4

    #16
    Hi ismailsarp , do you how to monitor those items over an specifict time lapse? I need a trigger for "vmware.hv.cpu.usage.perf[{$VMWARE.URL},{$VMWARE.HV.UUID}]" , if cpu utilization is over 90% more than 10 minutes. Thanks!

    Comment

    • ismailsarp
      Junior Member
      • Feb 2023
      • 3

      #17
      Originally posted by diegodaloiso
      Hi ismailsarp , do you how to monitor those items over an specifict time lapse? I need a trigger for "vmware.hv.cpu.usage.perf[{$VMWARE.URL},{$VMWARE.HV.UUID}]" , if cpu utilization is over 90% more than 10 minutes. Thanks!
      You can do as below​.
      You can change time (5m or 10m)


      1) Add a new macros for Vmware Hypervisors template;

      ​​

      Macro:
      Code:
      {$CPU.UTIL.CRIT}
      Value: 90 (you can change it as you want)

      2) And add a new trigger for High CPU

      Click image for larger version

Name:	image.png
Views:	736
Size:	44.4 KB
ID:	459564​​

      Event Name:
      Code:
      High CPU utilization (over {$CPU.UTIL.CRIT}% for 5m)
      Operational Data:
      Code:
      Current utilization: {ITEM.LASTVALUE1}
      Expression:
      Code:
      min(/VMware Hypervisor/vmware.hv.perfcounter[{$VMWARE.URL},{$VMWARE.HV.UUID},"cpu/utilization[average]"],5m)>{$CPU.UTIL.CRIT}




      3) And Create trigger actions for alarm High CPU

      Click image for larger version

Name:	image.png
Views:	792
Size:	16.4 KB
ID:	459562






      And now you can get alarms.


      I send alarm email and MicrosoftTeams platform same time

      Click image for larger version

Name:	image.png
Views:	725
Size:	63.6 KB
ID:	459563


      Good luck !

      Comment

      • derli1988
        Member
        • Apr 2021
        • 60

        #18
        Good day zabbix community

        I'm trying to get RAM Usage in percentage for Hypervisors.

        Using that item key:
        vmware.hv.perfcounter[{$VMWARE.URL},{$VMWARE.HV.UUID},"mem/usage[average]"]

        However, I'm getting the percentage wrong


        VMware: Memory usage in percents
        36m 2s 4232 %

        The value is sort of correct, except it is multiplied by 100.

        Comment

        • ismailsarp
          Junior Member
          • Feb 2023
          • 3

          #19
          Originally posted by derli1988
          Good day zabbix community

          I'm trying to get RAM Usage in percentage for Hypervisors.

          Using that item key:
          vmware.hv.perfcounter[{$VMWARE.URL},{$VMWARE.HV.UUID},"mem/usage[average]"]

          However, I'm getting the percentage wrong


          VMware: Memory usage in percents
          36m 2s 4232 %

          The value is sort of correct, except it is multiplied by 100.

          Did you add custom multiplier as follows ?

          Click image for larger version

Name:	image.png
Views:	631
Size:	14.1 KB
ID:	468299

          Comment

          • derli1988
            Member
            • Apr 2021
            • 60

            #20
            Originally posted by ismailsarp


            Did you add custom multiplier as follows ?

            Click image for larger version

Name:	image.png
Views:	631
Size:	14.1 KB
ID:	468299
            LIFE SAVIOUR

            Comment

            • derli1988
              Member
              • Apr 2021
              • 60

              #21
              It works like a charm
              Attached Files

              Comment

              Working...