Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



About this task

We want to create an alert rule that checks only a part of the overall system.




Procedure

This alert is supposed to only work on VMs from the VM cluster DX-Cluster.

...

  • In this example we cloned an alert from the systems alerts and modify the filters.
    So we do not have to touch the Alert alert conditions
     
  • (1) The alert works on VM virtual machines, so the object type is.
    Compute / VMware / Resource Consumer / VM Virtual Machine

  • (2) In the Alert Rule Section, we need to have 2 selections on VM cluster and VM virtual machine because we want to place filters on both layers.
    Please note that the natural order is adhered to. Cluster includes VM Virtual Machines and therefore VM cluster must precede VM virtual machines.
    If necessary, change the order with drag & drop.
    BVQ / VM Cluster / VM Virtual Machine

  • (3) The filter on the cluster name (this could als be name startWith "DC-Cl" or name pattern /DX.*/
    name = "DX-Cluster"
     
  • (4) Second filter is a restriction to the virtual machine, where we only want to check active machines to avoid unknown results.
    power_state = "Powered On"

  • We recommend not to use comparisons against performance metrics here, because this might result in a high load of the BVQ server.
    Place the kind of operations into the alert rule.

...