Site icon VMwareGuruZ

vCheck Daily Report for NSX

What is vCheck-NSX?

vCheck-NSX is an NSX-focussed reporting tool that can give you a periodic (i.e. Daily) look into the health of your platform.

 

About vCheck

vCheck is a PowerShell HTML framework script, the script is designed to run as a scheduled task before you get into the office to present you with key information via an email directly to your inbox in a nice easily readable format. This script picks on the key known issues and potential issues scripted as plugins for various technologies written as Powershell scripts and reports it all in one place so all you do in the morning is check your email.

One of they key things about this report is if there is no issue in a particular place you will not receive that section in the email, for example if there are no datastores with less than 5% free space (configurable) then the disk space section in the virtual infrastructure version of this script, it will not show in the email, this ensures that you have only the information you need in front of you when you get into the office. This script is not to be confused with an Audit script, although the reporting framework can also be used for auditing scripts too. I don’t want to remind you that you have 5 hosts and what there names are and how many CPUs they have each and every day as you don’t want to read that kind of information unless you need it, this script will only tell you about problem areas with your infrastructure.

 

What is checked for in the NSX version?

The following items are included as part of the vCheck NSX download, they are included as vCheck Plugins and can be removed or altered very easily by editing the specific plugin file which contains the data. vCheck Plugins are found under the Plugins folder. For each check that’s written, here’s a brief description of what it does

 

Connection Plugin for NSX

Function

Future Developments

 

NSX Manager Resource Util

Function

 

NSX Manager Service Summary

Function

 

NSX Manager Low Uptime

Function

Future Developments

 

NSX Manager SSO and vCenter Connections

Function

 

NSX Manager Backup Schedule

Function

Future Developments

 

NSX Manager NTP Setting

Function

Future Developments

 

NSX Controller Status Summary

Function

 

NSX Controller Upgrade Availability

Function

 

NSX Controller Disk Latency

Function

 

NSX Syslog Settings

Function

Future Developments

 

NSX Host Channel Health

Function

Future Developments

 

NSX Connectivity Test

Function

Future Developments

Installing

Copy the vCheck folder to the desired location, note the content structure, in particular the Plugins folder. Before you can use vCheck-NSX, you need to create an NSX credentials XML file.

Use the following to create a credential interactively, then store it as an XML file

$newPScreds = Get-Credential -message “Enter the NSX manager admin creds here:” $newPScreds | Export-Clixml nsxMgrCreds.xml

Once you have the file, move it into the root of the “15 NSX” plugins folder overwriting the blank file that’s there Ensure only authorised users (i.e. Sys Admins) have access to the file

Having the creds stored as a secure file allows for the automation of vCheck script runs. If there’s a better way to store NSX Manager credentials, I’d like to know.

Once the files are in the correct location and the credentials XML file has been created, you need to start the installer. Open a PowerCLI window AS AN ADMINISTRATOR then run… vCheck.ps1 -config …which will start the process of configuring your install. During the process, your system will be tested for the installation of PowerNSX and if needed, an installation process will start.

 

Be social and share it with social media, if you feel worth sharing it”
Exit mobile version