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:
- ESXi host boot events
- Kernel / services starting post reboot
- Logs containing a reboot event
- Events leading up to the most recent reboot
- 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
Feedback
thumb_up
Yes
thumb_down
No