compdigit44
asked on
PowerCli 5.1 - Get all Warning Events from host
We have a very large Vmware environment with 8 clusters and 43 hosts. I would like a way to view all warning events from all of my host at once
I tried using the get-host | get-vievent -type warning but it did not work
I am looking for a format like: host name date of event warning info
suggestions
I tried using the get-host | get-vievent -type warning but it did not work
I am looking for a format like: host name date of event warning info
suggestions
ASKER
Thanks Hancock!!!
We actually use Foglight by Quest and was looking for a command-line way to get this information as backup if the vAPP was down and to expand my own powercli knowledge. :-)
Thanks Again!!!
We actually use Foglight by Quest and was looking for a command-line way to get this information as backup if the vAPP was down and to expand my own powercli knowledge. :-)
Thanks Again!!!
ASKER
No I have not heard of Even-o-matic... I am surprise that isn't an easy way to view all event of a specific type from one window...
I will check out this tool morning tomorrow though
I will check out this tool morning tomorrow though
You are not using vCenter Server? Because it will allow retrieval of all managed hosts at once.
I get a nice even list using Ruby vSphere Console (RVC) on vMA 5.5
events -n 50 /vcenter/DCS
and you can specify, storage, datastores, vms, hosts, networks
events -n 50 /vcenter/DCS
and you can specify, storage, datastores, vms, hosts, networks
ASKER
Thanks Hancock..... We are no using the vMA......
Am I missing something that is informal is not readily available by default...
As always you are a source of information :-)
Am I missing something that is informal is not readily available by default...
As always you are a source of information :-)
vMA - You should really, as it includes all the tools, easily at your disposal!
It's just an Import from OVF, takes minutes to get up and running, join to Active Directory, so anyone can login, and run vCLI, esxcli, script etc
Events has always been one of those missing things, they don't get reported by Syslog, VMKernel, they just appear in vCenter, and then after 24 hours, disappear off the screen, but the data is in the SQL database - but awkward to get at!
e.g. like what user delete a VM, what user Power-On on a VM - these are handy for audits....
We use Ruby vSphere Console (RVC) on vMA, but also remember this is available in vCenter for Windows and also vSphere Appliance!
So you'll have access to it somewhere, and it's quicker, that writing scripts to get info really quickly.
It's just an Import from OVF, takes minutes to get up and running, join to Active Directory, so anyone can login, and run vCLI, esxcli, script etc
Events has always been one of those missing things, they don't get reported by Syslog, VMKernel, they just appear in vCenter, and then after 24 hours, disappear off the screen, but the data is in the SQL database - but awkward to get at!
e.g. like what user delete a VM, what user Power-On on a VM - these are handy for audits....
We use Ruby vSphere Console (RVC) on vMA, but also remember this is available in vCenter for Windows and also vSphere Appliance!
So you'll have access to it somewhere, and it's quicker, that writing scripts to get info really quickly.
ASKER
Can Ruby be used from a Widnows 7 workstation that connects to vCenter?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
(free trial available!)