Solved

vCenter Login Details

Posted on 2014-01-22
3
518 Views
Last Modified: 2014-02-03
Hi,

How to obtain monthly login report from vCenter
1- How many times logged in a month and time stamp
0
Comment
Question by:kbjijo
3 Comments
 
LVL 4

Expert Comment

by:tmx84
ID: 39801535
0
 
LVL 7

Expert Comment

by:Ned Ramsay
ID: 39801542
You cant generate a report just like that but there is a good page I will link below that shows you how to use the PowerCLI to produce the reporting. You can modify their example search to check for a specific user.

http://kb.vmware.com/selfservice/microsites/search.do?language=en_US&cmd=displayKC&externalId=2020623
0
 
LVL 119

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE^2) earned 500 total points
ID: 39801649
I would recommend, and use Event-O-Matic, it can pick the actual event from, vCenter Tasks and Events, and then generate the actual PowerCLI to execute

see here

http://www.lucd.info/tag/event/

or use this code here

http://vninja.net/virtualization/exporting-vcenter-events-powercli/

to get all events between start and stop time/dates, export to notepad, and delete the events you do not need.

You will also need the following:-

I would recommend using the following, also VMware recommends the use of PowerCLI, which is PowerShell interface with vSphere-specific additions.

http://communities.vmware.com/community/vmtn/server/vsphere/automationtools/powercli

One of the simplest PowerCLI examples, and something which is actually extremely useful on its own, is the Get-VM cmdlet. Which lists VMs.

PowerCLI can be a bit overwhelming to use,  But it can be enhanced with a nice toolset and a library of preconfigured scripts to jump-start your mass changes, which is possible with PowerGUI

http://powergui.org/index.jspa

VMware Community Pack
http://www.virtu-al.net/featured-scripts/vmware-powerpack/
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
replace a Storage 5 76
Move ESX/VMs  from Vcenter 5.5 to Vcenter 6 6 55
VMWARE 13 62
VMs become orphaned after deleting from host and not vsphere 2 30
If we need to check who deleted a Virtual Machine from our vCenter. Looking this task in logs can be painful and spend lot of time, so the best way to check this is in the vCenter DB. Just connect to vCenter DB(default DB should be VCDB and using…
When converting a physical machine to a virtual machine using VMware vCenter Converter Standalone or vCenter Converter Enterprise, if an adapter type is not selected during the initial customization the resulting virtual machine may contain an IDE d…
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …
This Micro Tutorial steps you through the configuration steps to configure your ESXi host Management Network settings and test the management network, ensure the host is recognized by the DNS Server, configure a new password, and the troubleshooting…

806 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question