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....
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')
rachel sathya
22 Posts
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,