Quick Reference Guide
VMware Auditing
VMware vCenter Server 4.1-6.0
VCenter Events View
Common VMware
Events:
Run vSphere Web Client on your vCenter server > Navigate to VmPoweredOffEvent – VM powered
“Events” Tab > Event Console will open where you can find all off
events happened with your virtual machines VmPoweredOnEvent – VM powered
on
vSphere Events View VmSuspendedEvent – VM
suspended
AccountCreatedEvent – Account
Run vSphere Client on your computer > Select a Host > Navigate to created
“Events” Tab > “Event Console” will open where you can find all AccountRemovedEvent – Account
removed
events happened with your virtual environment
AccountUpdatedEvent – Account
updated
PowerCLI Events View EnteredMaintenanceModeEvent –
Entered maintenance mode
ExitMaintenanceModeEvent – Exit
Run VMware PowerCLI connect to your vCenter using command: maintenance mode
Connect-VIServer –server servername PermissionAddedEvent –
Permission added
Execute command Get-VIEvent PermissionRemovedEvent –
You can get more information by executing: Get-Help Get-VIEvent Permission removed
You can specify parameters by adding the monitored event from PermissionUpdatedEvent –
Permission updated
the Common VM Events list into this script (save this script in txt UserLoginSessionEvent – User login
file with .ps1 extension) and run this script in PowerCLI console: UserLogoutSessionEvent – User
Get-VIEvent -Start (Get-Date).adddays(-120) | ` logout
UserPasswordChanged – User
where {$_.gettype().Name -eq "add event here” - password changed
and $_.CreatedTime -lt (Get-Date).adddays(1)} | ` AlarmAcknowledgedEvent – Alarm
acknowledged
select @{N="VMname"; E={$_.Vm.Name}},
BadUsernameSessionEvent –
@{N="OccuredTime"; E={$_.CreatedTime}}, Invalid user name
ClusterCreatedEvent – Cluster
@{N="Hostname"; E={$_.Host.Name}}, created
ClusterDestroyedEvent – Cluster
@{N="Username"; E={$_.UserName}} deleted
You can find full list of events here –
You can also select different date range by changing “adddays” url2open.com/vmevents
parameter.
Gain #completevisibility into all activity in your VMware environment
for free with Netwrix Auditor for VMware: netwrix.com/go/trial-vm
Corporate Headquarters: Toll-free: 888-638-9749 Int'l: 1-949-407-5125
300 Spectrum Center Drive, Suite 1100, EMEA: 44 (0) 203-318-0261 netwrix.com/social
Irvine, CA 92618