• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 217
  • Last Modified:

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
0
compdigit44
Asked:
compdigit44
  • 5
  • 4
1 Solution
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Have you had a look at Opvizor - http://www.opvizor.com/

(free trial available!)
0
 
compdigit44Author Commented:
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!!!
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
have you tried Event-O-Matic

http://www.lucd.info/tag/event/
0
Ultimate Tool Kit for Technology Solution Provider

Broken down into practical pointers and step-by-step instructions, the IT Service Excellence Tool Kit delivers expert advice for technology solution providers. Get your free copy now.

 
compdigit44Author Commented:
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
0
 
QlemoBatchelor, Developer and EE Topic AdvisorCommented:
You are not using vCenter Server? Because it will allow retrieval of all managed hosts at once.
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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
0
 
compdigit44Author Commented:
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 :-)
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
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.
0
 
compdigit44Author Commented:
Can Ruby be used from a Widnows 7 workstation that connects to vCenter?
0
 
Andrew Hancock (VMware vExpert / EE MVE^2)VMware and Virtualization ConsultantCommented:
Yes...

http://rubyinstaller.org/

before you get into Ruby, you may want to see what it can offer, on vCenter for WIndows (already installed!).
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 5
  • 4
Tackle projects and never again get stuck behind a technical roadblock.
Join Now