Hi Everyone...!!!
Can anyone guide me how can I get the total alert definitions(expect the one which I have locally disabled) in vrops 6.7 in my environment.
Thanks in advance.
Try using PowerCLI (Module VMware.VimAutomation.vROps) and use cmdlet Get-OMAlertDefinition.
Get-OMAlertDefinition can be used to find the available alert definitions in the system. You can filter the output to show alert definitions of a given alert type and subtype.
Hope this is useful for you.
Rick
Please consider marking this answer "correct" or "helpful" if you think your question have been answered correctly.
Hi
I dont see anything such which lists out all predefined alerts, I am wondering if we have come across something apart from vmware documentation depending on versions
Please consider marking this answer as "correct" or "helpful" if you think your questions have been answered.
regards
Gayathri
Getting the alert definitions is easy the problem i thing ( Using REST anyway) is filtering them based on being enabled or not.
I know using rest there is no way to quay the policies so no way to know if they are enabled or not. running https://yourvrops/suite-api/api/alertdefinitions will list all the alert deffs you have. You can filter base on adapterKind, resourceKind and ID but that is about it.