Hello Team,
I want to suppress alerts for child objects when a host goes into maintenance mode or host removed from vcenter. Currently i am getting alert from datastore eventhough the host is dismantlled/removed from vcenter. I have created below SM, kindly have a look and let me know.
Count(${adaptertype=VMWARE, objecttype=Hostsystem, depth=1, attribute=runtime|maintenanceState, where = "!contains notInMaintenance"}) || Count(${adaptertype=VMWARE, objecttype=Datastore, attribute=summary|accessible, depth=-1, where = "!contains notInMaintenance"})
I have assigned these to Datastore & Hostsystem ObjectTypes.
Regards
GaneshS
Your SMs are for maintenance mode (there are other steps than just creating the the below SM to get it to work) I would not expect this to work for disconnected/removed objects.
What is the object status of the datastore that is still alerting within inventory browser
This was just uploaded yesterday: