ESXi host reboot check script for ESXi log bundle
search cancel

ESXi host reboot check script for ESXi log bundle

book

Article ID: 382695

calendar_today

Updated On:

Products

VMware vSphere ESXi 7.0 VMware vSphere ESXi 6.0 VMware vSphere ESXi 8.0

Issue/Introduction

The host reboot check script is tailored for a quick summary of the following:

  1. ESXi host boot events
  2. Kernel / services starting post reboot
  3. Logs containing a reboot event
  4. Events leading up to the most recent reboot
  5. BIOS information

Environment

VMware vSphere ESXi 6.x

VMware vSphere ESXi 7.x

VMware vSphere ESXi 8.x

Resolution

Note: The script must be executed against the home directory of an ESXi host log bundle.
 Procedure to run:

  • Once logs are extracted on the script server, cd to the ESXi logs directory, where the file "gsstoolbox-results.txt" is located.
  • Download the Python script attached to this article, and open it in the text editor (Notepad++).
  • Create a file inside the ESXi logs directory with  .py extension and copy the data from the script to this new file
  • Once done run the script with command: python your_file_name.py

Sample Output:


Additional Information

https://knowledge.broadcom.com/external/article?legacyId=1019238

Attachments

esxi_reboot_check.py get_app