patron
asked on
To Fetch Monthly Resource Utilization Report for CPU,Memory,Disk,Network Utilization on Esxi 6.5 with running vms
Need to Fetch Monthly Resource Utilization Report for CPU,Memory,Disk,Network Utilization for My 3-5 Host and 20-35 VMS
Is there any Script /automation or free utility available to provide user friendly report -easy to understand report for management
Can we Automate the same on monthly basis
Is there any Script /automation or free utility available to provide user friendly report -easy to understand report for management
Can we Automate the same on monthly basis
ASKER
Thanks ,but my need is -To Fetch Monthly Resource Utilization Report for CPU,Memory,Disk,Network Utilization on Esxi 6.5 with running vms
ASKER
Monthly report like extract in excel/reporting format for 1 month cpu,mem,disk utilization @Host/VM
ASKER
Thanks @ArneLovius.
How can I achieve this using script to automate my monthly report in user friendly dashboard /Excel/presentations
How can I achieve this using script to automate my monthly report in user friendly dashboard /Excel/presentations
Did you look at the 2nd link ?
ASKER
not working for me
What is not working for you, the second link ?
ASKER
Link is fine ,But not getting report as expected , looking for monthly for CPU,Memory,Disk and Network Utilization @Host/VM level
As I said, "it may be a useful starting point"
ASKER
Okay ,Thanks ,Will check for more enhancements
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Great , Thanks Senior IT System Engineer,Let me give a try
ASKER
Great Help Senior IT System Engineer , working fine for me.
Is it required to run it on weekly/monthly basis ?
Is it required to run it on weekly/monthly basis ?
ASKER
Thanks a lot.
Yes, I usually run it monthly not weekly.
glad that it could help you man :-)
glad that it could help you man :-)
Can someone tell me the sample syntax to run this script?
$ExportPath = 'C:\Temp'
$Servers = 'vcenter1','vcenter2'
$Servers | %{
. "C:\Program Files (x86)\Robware\RVTools 3.9.3\RVTools.exe" -passthroughAuth -s "$($_)" -c ExportAll2xls -d "$($ExportPath)" -f "RVTools-$($_)"
}
$smtpServer = 'smtp address'
$to = 'Receiver Email ID'
$from = 'Sender Email ID'
$att = Get-ChildItem -Path $ExportPath -Filter RVTools*.xlsx | select -ExpandProperty FullName
Send-MailMessage -SmtpServer $smtpServer -Subject 'RVTools reports' -To $to -From $from -Attachments $att
Reference :
https://communities.vmware.com/message/2665608#2665608