Ad Widget

Collapse

Monitor Specific VMs Only

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jimmy.mccubbins
    Junior Member
    • Oct 2025
    • 5

    #1

    Monitor Specific VMs Only

    We have the wide spread CPU Uitlization over 85% trigger that is assigned to basically all VMs, but we have some specific ones that we need to know when they are over 50%. How do I create a new trigger to alert only on these specific VMs?
    We are monitoring all of these servers through VCenter.
    This is the expression we are currently using avg(/VMware Guest/vmware.vm.cpu.usage.perf[{$VMWARE.URL},{$VMWARE.VM.UUID}],2m)>50
    Last edited by jimmy.mccubbins; 17-11-2025, 22:51.
  • jimmy.mccubbins
    Junior Member
    • Oct 2025
    • 5

    #2
    We attempted to create a new Host and Template but It wont let us use more than 1

    Comment

    • BP_Vital
      Member
      Zabbix Certified SpecialistZabbix Certified Professional
      • Feb 2016
      • 42

      #3
      if you have a global trigger for CPU utilization >85%, but need to override that value to 50, i'd say macros is the way to go.
      For example
      1. add a macro {$VMWARE.VM.CPU.WARNING} with value 85 on VM template level
      2. replace existing global trigger expression avg(/VMware Guest/vmware.vm.cpu.usage.perf[{$VMWARE.URL},{$VMWARE.VM.UUID}],2m)>85 with
      avg(/VMware Guest/vmware.vm.cpu.usage.perf[{$VMWARE.URL},{$VMWARE.VM.UUID}],2m)>
      {$VMWARE.VM.CPU.WARNING}.
      Logic remains the same, you will only get rid of hardcoded number.
      3. On the "special" VM's host create macro {$VMWARE.VM.CPU.WARNING} with value 50, overriding 85 on template level.

      Now the "special" hosts will trigger on cpu > 50 instead of default 85, rest will continue to trigger on >85
      Last edited by BP_Vital; 19-11-2025, 10:09.

      Comment

      Working...