https://github.com/vghessel/monitoringsites-go
https://github.com/vghessel/monitoringsites-go
golang http
Last synced: 1 day ago
JSON representation
- Host: GitHub
- URL: https://github.com/vghessel/monitoringsites-go
- Owner: vghessel
- Created: 2023-03-01T13:22:47.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-31T20:24:18.000Z (about 3 years ago)
- Last Synced: 2025-02-27T17:22:58.536Z (over 1 year ago)
- Topics: golang, http
- Language: Go
- Homepage:
- Size: 4.66 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Monitoring and Logging with Golang
### Steps
* Put the websites that will be monitored in the "sites.txt" file.
* You can change the "monitoring" and "delay" constants:
*monitoring* - How often will you monitor the site sequence
*delay* - How long will the application wait to run again
* Run application!
### How it works?
The application will check through a GET if the Status will be 200, showing that the site is online.
If any other Status Code returns, it will show that it is offline and the error and status will be printed in the terminal.
You can run the application directly from the source code, or if you are using Linux just run the "hello" file.