i want to have any warning or error event in vcenter automatically email me. I can't seem to figure out how to do this.
I am no script guy, but i sure wish i had one or knew how to do this. Any ideas?
You could use an Alarm to send you an email when the alarm is triggered.
But the trigger can be 1 or more events, not any event.
Perhaps you should give that a go.
Are there any specific events/errors you want to monitor ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
nothhing specific. an Error or a Warning event and automatically send me an email.
Andreas did a good post on creating an Alarm triggered by an event (and which uses the available PowerCLI cmdlets).
See his Creating vCenter alarms with PowerCLI
But the available events, although there are quite a lot of them, are still limited.
It depends on what specific error you want to trap, to be able to use an alarm.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
