Compare commits
3 commits
main
...
leoalho-pa
| Author | SHA1 | Date | |
|---|---|---|---|
| 6da5b5fd8b | |||
| 84aa36273e | |||
| 9b0db66b67 |
4 changed files with 9 additions and 8 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -1,2 +1,3 @@
|
||||||
uptimetracker
|
uptimetracker
|
||||||
uptimetracker.log
|
uptimetracker.log
|
||||||
|
config.json
|
||||||
|
|
@ -10,7 +10,7 @@ A lightweight HTTP uptime monitor written in Go. Checks a list of URLs at a conf
|
||||||
|
|
||||||
## Configuration
|
## Configuration
|
||||||
|
|
||||||
Edit `config.json`:
|
Copy `config.json.example` as `config.json` and edit it:
|
||||||
|
|
||||||
```json
|
```json
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -1,7 +0,0 @@
|
||||||
{
|
|
||||||
"interval_seconds": 30,
|
|
||||||
"discord_webhook": "https://discord.com/api/webhooks/1476280778215264387/CCnXB03_MgwYUUKWQcw2PKFihny8UyDk4knqdPmnS85McjIFdokVW6MlkhBgLcv0yAZv",
|
|
||||||
"targets": [
|
|
||||||
{ "name": "OpenIssue", "url": "https://openissue.io" }
|
|
||||||
]
|
|
||||||
}
|
|
||||||
7
config.json.example
Normal file
7
config.json.example
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
{
|
||||||
|
"interval_seconds": 30,
|
||||||
|
"discord_webhook": "",
|
||||||
|
"targets": [
|
||||||
|
{ "name": "OpenIssue", "url": "https://openissue.io" }
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue