Solved

vCenter Login Details

Posted on 2014-01-22
3
516 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 118

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

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Backup Exec Failure 3 46
VMware Black Screen 13 81
iscsi device with 0 LUN ID 2 54
vmdk greater than 2TB 2 20
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.
In this article, I will show you HOW TO: Suppress Configuration Issues and Warnings Alert displayed in Summary status for ESXi 6.5 after enabling SSH or ESXi Shell.
Teach the user how to use configure the vCenter Server storage filters Open vSphere Web Client:  Navigate to vCenter Server Advanced Settings: Add the four vCenter Server storage filters: Review the advanced settings: Modify the values of the four v…
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…

932 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

10 Experts available now in Live!

Get 1:1 Help Now