Solved

vCenter Login Details

Posted on 2014-01-22
3
515 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 117

Accepted Solution

by:
Andrew Hancock (VMware vExpert / EE MVE) 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

When we have a dead host and we lose all connections to the ESXi, and we need to find a way to move all VMs from that dead ESXi host.
HOW TO: Install and Configure VMware vSphere Hypervisor 6.5 (ESXi 6.5), Step by Step Tutorial with screenshots. From Download, Checking Media, to Completed Installation.
Teach the user how to install log collectors and how to configure ESXi 5.5 for remote logging Open console session and mount vCenter Server installer: Install vSphere Core Dump Collector: Install vSphere Syslog Collector: Open vSphere Client: Config…
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

21 Experts available now in Live!

Get 1:1 Help Now