HI,
I am trying to run vCheck health report but after executing the script its doesn't move forward or even its move it it doesn't show any output. Also, it keeps evaluating plugins.
Thanks in advance for your help!
Thanks
vm2014
Are you connecting to a vCenter ?
Which vSphere/PowerCLI versions are you running this against ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
LuCd,
Yes, i am connecting the VC when i am running the script. I am using Power Cli version 6 Release 1. Need your help here.
VC version is 5.5
thanks
vm2014
I could only reproduce this error when I kill the connection to the vCenter while the vCheck script is running.
The 1st line seems to indicate you experienced a drop of the connection as well.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Could this be caused by the amount of events the script is trying to retrieve ?
How many days did you specify to go back for events ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Lucd,
I want to retrieve weekly report.
thanks
vm2014
Could you try with 1 day ?
Just to check if it could be resource thing ?
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
LucD,
Could you please let me know how to try with 1 day ? Thanks.
Thanks
vmk
Have a look at variable $VCEventAge in plugin 42.
The default is 1 day, but perhaps you changed it when you first ran vCheck.
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Hi LucD,
After changing to Day 1, the script was executed successfully but I am not able to find the output. Any idea where will be the output path ?
Thanks
vmk2014
If you didn't pass an OutputPath parameter on the invocation, it should be in the Temp folder ($env:Temp)
$Env:TEMP + "\" + $Server + "_vCheck_" + $Date.Day + "-" + $Date.Month + "-" + $Date.Year + ".htm"
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
The Get-ReportHtml function is defined in the Style.ps1 files (these can be found under the Styles folders
Blog: lucd.info Twitter: @LucD22 Co-author PowerCLI Reference
Did you update your style as @LucD mentioned? You won't get any output until you do that. It needs to be Version 1.1 at least (1.3 is the latest) due to the change in style handling.
As for your original issue, this is something that has been discussed here: https://github.com/alanrenouf/vCheck-vSphere/issues/217
There are some tweaks that may help resolve this for you.