Ad Widget

Collapse

exclude VMs with powerstate 0 or 2 from discovery

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • metal
    Member
    • Nov 2019
    • 42

    #1

    exclude VMs with powerstate 0 or 2 from discovery

    How can I exclude VMs with powerstate equlas 0 or 2 from VMs discovery. I am using zabbix v5.0, and Template VM VMware.

    Template VM VMware Guest is where all VMs appear, but I need only those with powerstate equals 1.
  • Hamardaban
    Senior Member
    Zabbix Certified SpecialistZabbix Certified Professional
    • May 2019
    • 2713

    #2
    Using the standard LLD rule you can't filter vm by state because it only returns {#VM.UUID}{#VM.ID}{#VM.NAME}{#HV.NAME}{#DATACENTER .NAME}{#CLUSTER.NAME}

    Comment

    • metal
      Member
      • Nov 2019
      • 42

      #3
      this is what I have thought, this is why I came here asking for a possible solution, I could just write a macro {$VMWARE.VM.POWERSTATE.NOT_MATCHES} -> ^(0|2)$ but this is not possible, as it will not work.

      Comment

      Working...