I have created this project to share some Python scripts that I use to monitor remote servers. The Server-tools include the following tools:
- Server check. Checks whether a node (e.g. localhost:8080) is up
- Disk check. Shows the percentage of the disk usage of a remote server(ssh).
The tool provides a GUI using the tkinter library.
#Screenshots
#Environments The tool has been tested only in Windows 7.
#Requirements The tool requires Python 3.4. You should also install the 'paramiko' library.
#Running the tool
execute:
python core.pyw
Double click on a server to check its status or click on the Check all button to check all the servers.
Double click on a server to check its disk usage or click on the Check all button to check all the servers.
#Configuration For every node the following information is required:
- server name
- username
- password
- port
You can manualy edit an existing node or add a server file by adding new entries under [NODES] in the config.conf:
0 = test.webisite1.com,test,test123!,8080
1 = test.webisite2.com,test,test123!,8080
2 = test.webisite3.com,test,test123!,8080
Every row should have a unique index number and then the server information: x=server,username,password,port
- Go to the configuration tab
- Add the information to the Add new node section
- Click on the Add node button
- Click on the Save changes button
- Restart the program
- Go to the configuration tab
- Edit an exiting node
- Click on the Save changes button
- Restart the program