VMware Cloud Community
AlexanderNabok1
Contributor
Contributor

run vCheck for mutliple VC

Hi,

I need to run vCheck for multiple vCenters (18 to be exact) having one report per vCenter.

Can somebody suggest me how can I achieve this without creating separate directory with all vCheck plugins for each vCenter.

Thank you

26 Replies
LucD
Leadership
Leadership

Yes, that option is in the GlobalVariables.ps1


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
Trammell
Contributor
Contributor

LucD

Really appreciate your post on multi vcenter with vcheck.

Did you happen to modify the styles.ps1 so the vCenter name is in the report header?

Really don't want more copies of globalvaribles.ps1.

0 Kudos
LucD
Leadership
Leadership

I suspect you can change the content of the $reportHeader variable in plugin 00.
But I haven't tested that yet :smileygrin:


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
vmk2014
Expert
Expert

LucD,

Sorry, i didnt see any plugins.xml, in vcheck directory. i downloaded multiple times and unable to find any plugins.xml file. Is it possible to attach here ?

Thanks

vmk

0 Kudos
LucD
Leadership
Leadership

That .xml file is not in the distribution, you have to create it yourself.

There is a template fo such an .xml file on the vCheck home page, see Job XML Specifications


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos
vmk2014
Expert
Expert

LucD,

I was able to generate html report, but mail not received inbox.. Do i need to change to GlobalVaribles.ps1 $SendEmail = $true ? from $false

GlobalVaribles.ps1 $SendEmail = $false?

thanks

vmk

0 Kudos
LucD
Leadership
Leadership

No, to receive an email, you have to set $Sendmail to $true.

But make sure the other mail related variables in there are also set to valid values. Like $SMPTSRV, $EmailFrom, $EmailTo...


Blog: lucd.info  Twitter: @LucD22  Co-author PowerCLI Reference

0 Kudos