logo

Wazzup WEB

Universal server monitoring script + Telegram bot notification

https://t.me/xruin Privatium Github Privatium https://t.me/xruin


wazzup-web-gif


Installation

1. Clone Repository

git clone https://github.com/xbaysal11/wazzup-web.git
cd wazzup-web/
chmod +x wazzup-web.sh

2. Get TOKEN and CHAT_ID

3. Configure script

Open wazzup-web.sh file and configure

TOKEN=<bot_token>
CHAT_ID=<chat_id>
API=https://api.telegram.org/bot$TOKEN/sendMessage

SERVER=<web_url>
LOG_FILE=<path_to_log_file>
LOG_LINES=10
MESSAGE_HEAD='SERVER IS DOWN!'
AVAILABLE_STATUS_CODE='200|301'

4. Cron

1. Open terminal and write:

sudo crontab -u <USERNAME> -e

2. Add new cron tab in the cron file

* * * * * bash /path/to/script/wazzup-web.sh

NOTE: generate time here : crontab.guru


SPONSORS [Become a sponsor]

https://t.me/xruin


LICENSE

Wazzup WEB is MIT licensed.