This is simple app to health check local server via Cron job or API.
Setup Python
Setup Python Env
git clone https://github.com/AWS-First-Cloud-Journey/health-check-agent.git
cd health-check-agent
python3 -m venv .venv
. .venv/bin/activate
pip install -r requirements.txt
Edit file .env for mysql connection, default CHECK_FREQUENCY is 1 or 1 minute
To Add your own shell script action just update file actions.sh
python run_manual.py
flask run
python run_schedule.py