How can you exclude a Virtual Machine from a specific Rule scope to prevent getting alarm notifications for that Virtual Machine
Make a copy of the Rule that needs to be modified
Disable the Original Rule
Activate the Copy
Modify the scope of the rule like : <topology_type> where (managedObjectReference !="vm-xxxx") where vm-xxxx is moref ID of the virtual machine
OR
Modify the scope of the rule like : <topology_type> where virtualMachine.name not in {"vm1","vm2"} where vm1, vm2 are vritual machine names that need to be excluded
To find moref ID, do the following:
within the vFoglight web console, navigate to Administration | Tooling | Script Editor dashboard
In the "Script" box, paste the below script and click on Run button
ts = server.get("TopologyService");
ty = ts.getType("VMWVirtualMachine");
ds = ts.getObjectsOfType(ty);
names = "";
ds.each { it->
names += it.get("name")+" "+it.get("managedObjectReference")+"\r\n";
}
return names;
It will return items like:
PG_Windows2008R2 vm-806
(In the above, vm-xxx is the moref for the VM)
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center