Some useful bash scripts.
This repository has been archived on 2023-09-23. You can view files and clone it, but cannot push or open issues or pull requests.
Find a file
2020-12-30 02:01:43 +01:00
.gitignore added scripts and setup.sh 2020-05-21 01:57:45 +02:00
docker-compose-up-all.sh improved docker-compose-up-all.sh 2020-12-13 23:40:43 +01:00
docker-stack-deploy-all.sh updated docker-compose-up-all.sh 2020-10-19 19:59:22 +02:00
healthcheck.sh added scripts and setup.sh 2020-05-21 01:57:45 +02:00
LICENSE Initial commit 2020-05-20 23:46:30 +00:00
login-notify.sh updated login-notify.sh 2020-10-05 19:50:34 +02:00
node_dir_size_exporter.sh added update-notify.sh 2020-12-30 01:58:16 +01:00
README.md updated README.md 2020-12-30 02:01:43 +01:00
setup.sh updated setup.sh and README.md 2020-06-15 18:00:27 +02:00
update-notify.sh added update-notify.sh 2020-12-30 01:58:16 +01:00
validate-remote-backup.sh added scripts and setup.sh 2020-05-21 01:57:45 +02:00

awesome-scripts

Some useful bash scripts.

Content

Script Description
healthcheck.sh Script to use as cron wrap to monitor the job with health.sp-codes.de
login-notify.sh Script to send an alert on ssh login
validate-remote-backup.sh Script to validate server side rsync command to use ssh force command
docker-compose-up-all.sh Script to call docker-compose up -d on all subdirectories
docker-stack-deploy-all.sh Script to call docker stack deploy on all subdirectories
node_dir_size_exporter.sh Script to call du on a given directory to export the size to prometheus
update-notify.sh Script to call apt to check the host for new updates and notify in gotify

Setup

To set up all scripts in the current directory run this:

curl https://git.sp-codes.de/samuel-p/awesome-scripts/raw/branch/master/setup.sh | bash -s healthcheck.sh login-notify.sh validate-remote-backup.sh docker-compose-up-all.sh docker-stack-deploy-all.sh node_dir_size_exporter.sh update-notify.sh