https://github.com/alxndr13/isitup
Tool written in Go, which checks the Availability of defined Services or Resources - sends a Message via a Telegram Bot, if a service is offline
https://github.com/alxndr13/isitup
Last synced: 3 months ago
JSON representation
Tool written in Go, which checks the Availability of defined Services or Resources - sends a Message via a Telegram Bot, if a service is offline
- Host: GitHub
- URL: https://github.com/alxndr13/isitup
- Owner: alxndr13
- License: gpl-3.0
- Created: 2017-04-02T15:10:58.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2017-04-13T20:51:02.000Z (about 8 years ago)
- Last Synced: 2025-02-27T06:00:05.023Z (3 months ago)
- Language: Go
- Size: 37.1 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# isitup
Tool written in Go, which checks the Availability of defined Services or Resources - sends a Message via a Telegram Bot, if a service is offlineSends only one Message in 10 Minutes if a Service is down at multiple scans. When its up again, you'll receive a Message.
# Usage
```
Usage of ./isitup:
-config string
Sets the location of the config file (default "./settings.toml")
-interval string
Sets the Scan interval in seconds - WARNING: Overrides the Setting in the config file. (default "60")
-logfile string
Sets the location of the logfile. (default "./isitup.log")
-servicefile string
Sets the location of the service file - WARNING: Overrides the Setting in the config file. (default "./service.isitup")```
# Setup
- cd /opt
- git clone https://github.com/alxndr13/isitup
- cd isitup/
- chmod +x install.sh && ./install.sh### settings.toml:
- Enter the Access Token of your Telegram Bot
- Enter the Chat ID of the person, who should get notifications (You have to figure out, how to get this yourself. :p - You have to Message the Bot first [/start], before you can receive Messages.)### service.isitup
- Enter IP Adress as well as the Port, line after line
- Service Names can be added after a single dash (-)Example:
```
192.168.0.100:80-Local Webserver
8.8.8.8:53-Google DNS
```## Startup
- ``` systemctl enable isitup && systemctl start isitup ```
### ToDo:
- multiple receivers
- udp?
- ..?