Script to gather storage, hardware logs from Dell Cloudedge and Poweredge Servers

Log-bot script uses ipmitool, lshw, MegaCli to grab System event logs, controller logs and various hardware information. During execution the script checks for the ipmitool (delloem patched) and install it if its not available. The script takes 4-8 minute to complete. It is successfully tested on various Dell CloudEdge and PowerEdge servers running different Linux distributions.
List of logs it gathers:

    Chassis
  • -Fan rpm’s
  • -FRU information
  • -Power consumption and power history
  • -Power Supply
  • -DRAC info
  • -System event logs
  • -Temperature information
    OS
  • -Basic Linux command output: (df -h, dmesg, fdisk, free, fstab, lspci etc)
  • -Network Information
  • -Bus information
  • -Logical information
  • -Driver and firmware information
  • -Tape drive information
  • -Disk and volume information
  • -Controller & Vendor information
  • -Size & disk information
  • -Disk’s UUID
  • -Disk size & serial number
  • -BMC information
  • -GPGPU information
    Storage
  • -Controller logs
  • -Partition information & other storage related information

Note: In each bundle there will be a execs.logs file which will have all the commands the script execute.

 

How to gather logs:

For previous versions click here
 Download the script by clicking on link or

root@theprojectbot:-# wget http://theprojectbot.com/Program/log-bot_v2.tar.gz

 Extract the file using the command:

root@theprojectbot:-# tar -xvf log-bot_v2.tar.gz

 Navigate to the right directory using command:

root@theprojectbot:-# cd bot

 Run the script:

root@theprojectbot:-# python main.py


Log-bot screenshot



Leave a Reply

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