Linux Report is a tool to help trouble shoot application base on linux.
python3.6.8
pip3 install prettytable
Edit application commands in linux_report.ini
A few sample Linux commands have been written in linux_report.ini,You can write commands to monitor business systems.
linux_report.txt & linux_report.html is execution result demo.
example:
execute:
python3 linux_report.py
python3 linux_report.py -p linux_report.ini
python3 linux_report.py -p linux_60s.ini (Brendan Gregg linux 60s )
python3 linux_report.py -p linux_report.ini -s txt >linux_report.txt
python3 linux_report.py -p linux_report.ini -s html >linux_report.html
send email:
python3 SendEmail3.py -p emailset.ini -f linux_report.txt
use crontab regularly perform linux_report.sh,auto generate report,and send email.
Enjoy it!