Skip to content

fbsouzas/go-monitor

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Go Monitor

This CLI project monitors the health check of your applications and generates logs with information about your applications is running or not.

How it works

how to use

How to use

1 - Clone the project in your src dir.

git clone git@github.com:fbsouzas/go-monitor.git

2 - Go to the project dir.

cd go-monitor

3 - Create the file with the applications to monitor.

cp applications.txt.sample applications.txt

4 - Put your applications in the applications.txt file. Example:

https://www.my-aplication-1.com/
https://www.my-application2.com/

5 - Open the main.go and configure with your preferences.

# main.go
const numberTimesToTest = 3 # Number of times that applications will be test
const delay = 5 # Delay of each test
const applicationsFile = "applications.txt" # Filename with the applications
const logFile = "log.txt" # Log filename

6 - Run the Go monitor

go run main.go

Goal

This project was created for studying and have the first contact with Golang and learn more about this programming language.

About

CLI to applications healthy checks

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages