Skip to content

AnthonyCalo/CheckServerConnections

Repository files navigation

CheckServerConnections

Overview

This is a gui created with tkinter for managing a program that checks connections to a list of servers or workstations. Input a list of servers you would like to keep track of. The gui will insert them into a sqllite database for persistent storage Run the Gui.py file and it will bring you to the first page(image below).

After this click on the second page to add a file location(bottom image). Write any file location. By default the file will appear in same folder as the program.

At this point press Run Scan and the application will scan the list of servers and write the results to the file locations listed. Example of the format below and in history.txt/ newlogs file in repo.
![scanres](https://user-images.githubusercontent.com/63485111/147626883-63a4a258-bfd6-41ce-9437-2fd38335fa0b.PNG)

Optional Gmail configuration

There is an optional feature that if a during a scan a high priority server is down the program will automatically email you with a message containing details.

In the Gmail.py on lines 12 & 13 enter gmail user and password. For this to work you will need to change a setting in gmail that allows less secure apps

This is completely optional and the application works fully without the additional email configuration


Additional use information

Once you configure the output locations and server list with the gui. You can schedule cronjob for python to run CheckServer.py. The scans will be automated to run at custom time. If you configure email update you won't even need to check logs because you'll get emailed if a server is down


server_conn_gui1

server_conn_gui2

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages