ccastell

updated

13 years ago

C

ccastell

1 Rookie

21 Posts

0

160661

September 17th, 2013 15:00

Exclude vm object from logical disk alarm

So i have set up a three phase alarm for logical disk, this is applied to all virtual machines.  i need a way for me to copy this rule and modify the default thresholds, then i need this new copied rule to just include one virtual machines logical disks.  how can i do this?  i already went down the services avenue but that won't work since i use attributes to create the services.  it just won't work the way i need it to.  so the easiest way is to create a copy of the rule, apply it to the specific objects.  i then need to modify the orginial rule to exlude that same object.  please help....

  • 957

    0

    Posted October 1st, 2013 15:00

    Hey Chris,

    Can you try below syntax:

    VMWVirtualMachineLogicalDisk where virtualMachine.name not in {'VM_Core 5.6.7','Centos - Apache​'}

    Where VM_core 5.6.7 & Centos-Apache are Vm's.

    Thanks,

  • ccastell

    1 Rookie

    21 Posts

    957

    0

    Posted September 20th, 2013 17:00

    exclude not include, sorry

  • ccastell

    1 Rookie

    21 Posts

    957

    0

    Posted September 20th, 2013 17:00

    Thanks, this was helpful.  i was able to create this as a rule to include from my alarm.

    VMWVirtualMachineLogicalDisk where not (uniqueId='d397d21e-f2b7-4ff0-b52b-0c03188a3c6d')

    however when i try and add a second machine it doesn't actucally do remove the second object but it produces a green response.  what is wrong with my syntax?

    VMWVirtualMachineLogicalDisk where not (uniqueId='d397d21e-f2b7-4ff0-b52b-0c03188a3c6d') or not (uniqueId='14690e23-bc95-4cbd-9549-647b7e94f99f')

  • ccastell

    1 Rookie

    21 Posts

    957

    0

    Posted October 1st, 2013 14:00

    beuller....   JK

    Can anyone assist?

  • 957

    0

    Posted September 17th, 2013 17:00

    Hi Chris,

    Here is a link on how to handle this: https://support.quest.com/SolutionDetail.aspx?id=SOL67189

    Kevin