Check your Cisco UCS environment for issues with vCheck

Do you use Cisco UCS? If you do then this will interest you.  vCheck is basically a FREE HTML reporting framework that was written to originally check a VMware environment but as it uses PowerShell it is easily adjustable to check anything that is PowerShell enabled, like for instance…. UCS environments.

One of the objectives of me putting vCheck into github was the hope that people would be able to easily pick up the framework and create their own projects to check other PowerShell enabled products, this has already been done with a number of different products as listed below:

Download Link Github Project Example Output Page
vCheck for vSphere Click here Click here
vCheck for Exchange 2010 Click here Click here
vCheck for vCD Click here Coming soon
vCheck for SCVMM Click here Click here
vCD Audit script Click here Click here
vCloud Air Audit Click here Click here

And now you can add Cisco UCS to the list, Joshua Barton has done a great job of using the framework to create a new vCheck edition that will enable UCS Admins to run a check on their systems and bring back any known issues that may be a problem.  Don’t forget, this as with all the other vCheck editions is a community project so you can add your own checks very easily in the plugins folder, if you need help then check out this early video which was recorded of me showing how to easily do that.

So what does it check currently?

  • General Details
  • Recent Faults
  • Unassociated Profiles
  • High Pool Utilization
  • Fault Retention Policy
  • Default Adapter Behavior
  • Non-Functioning Enabled Ports
  • Switching Mode
  • Inactive Servers
  • Uplink Flow Control
  • LACP Policies
  • UDLP Policies
  • Maintenance Policies
  • Default Pool Schema
  • Chassis Discovery Policy
  • Power Policy
  • SEL Policy

What does it look like?

As you can see, the html file that is created, which can also be scheduled to be sent to you as an email looks pretty awesome:

UCS-vCheck

 

The full example can be seen here: http://www.foobartn.com/assets/examples/example-report.html

How do I download this and get involved?

Visit the Github Rep here: https://github.com/FooBartn/vCheck-UCS/tree/dev

Download it directly from here: https://github.com/FooBartn/vCheck-UCS/archive/dev.zip

And make sure you thanks Joshua on twitter via @FooBartn

8 thoughts on “Check your Cisco UCS environment for issues with vCheck

  1. Med T

    Hi guys,
    I am new in cisco UCS and I would to know how to use the script .

    What is link with cisco ucs tools .

    Regards

    Med T

  2. Susika Hettiarachchi

    can some one help me on how to hard code credentials in ../Plugins/00 Initialize/00 Connection Plugin for UCS.ps1 plugin

  3. Joshua Barton (@FooBartn)

    Hey Robert,

    I apologize for your trouble. I’m guessing that it is a connection issue. I do not believe the UCS cmdlet will autologin like PowerCLI. It is also not something I have added.

    You could hard code your credentials in for now if you like. Look at the ../Plugins/00 Initialize/00 Connection Plugin for UCS.ps1 plugin. There is a section that has:

    $UcsConnection = Connect-Ucs $UcsDomain -ErrorAction Stop

    That is where you could hard code credentials.

    They’ve also recently changed the module name from CiscoUcsPS to Cisco.UCSManager

    I’m trying to work through some bureaucratic issues that have kept me from continuing to contribute to this. I should be able to remedy both of these issues soon. I’ll add it as a feature request on github and make it a priority to add in as soon as I can. In the meantime if you need assistance in hard coding credentials let me know and I’ll do all I can to help 🙂

  4. Robert Bellarmin

    can some one help me to schedule it through the scheduled task. I have schedule it and received the file without any data.

  5. FooBartn

    Hey Peter,

    I agree that that is a beautiful report, but it doesn’t really serve the same purpose. That report will give you an amazing amount of information, but you have to look through and determine if everything looks OK.

    Alan’s vCheck framework is built so that it only reports parameters that are out of sync with what YOU expect for your environment.

    Give it a try… You never know, you might find a use for it. If it doesn’t have something you’re looking for let me know and I’d be happy to add it! 🙂

    Thanks!

Leave a Reply to FooBartn

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.