VMware Cloud Community
GaneshShastri
Enthusiast
Enthusiast

Want to Suppress alerts for child objects when a host dismantled/put into maintenance mode.

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

Reply
0 Kudos
2 Replies
sxnxr
Commander
Commander

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

Reply
0 Kudos