Skip to content

The program is created to ping several ip addresses, put results in separate txt files, distribute files between folders, send email if ip is not reachable, send email if ip is reachable again. All action are independent for each ip address. The program has TRUE CLI, which is similar to CMD or router CLI.

License

Notifications You must be signed in to change notification settings

ArtyomKozyrev8/ICMP_Ping_Monitor_True_CLI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ICMP_Ping_Monitor_True_CLI

The program is created to ping several ip addresses, put results in separate txt files, distribute files between folders, send email if ip is not reachable, send email if ip is reachable again, display reachable|unreachable messages in CLI screen. All action are independent for each ip address. The program has two logging modes - long and short, for detailed ping statistics and for just recording reachable/unreachable events.

The program has TRUE CLI, which is similar to CMD or router CLI. The CLI is based on subprocess.Popen class.

Note that the program can be used only in Windows OS and Unix (tested in Ubuntu 18.04, Debian-9.8.0-amd64-xfce, Debian 8, NAS ASUSTOR AS1002T) now, but you can do some changes to try to use it in your OS.

The program was tested in Python versions 3.4 - 3.7 . The program use SQL LITE 3 database (distributed with python, you do not need to upload it independently).

Feel free to ask questions and give remommendations. Feel free to use the code in your projects or to to learn from.

If you face any probelms, feel free to apply to me kozirev8@gmail.com , I'll do my best to help.

The program is not the final version, I'm going to add new changes in future, new contributors are welcome.

To use the program you need to upload all files. Then just to start program start main.py file by Python3.

All other files to run program will be automatically created after you did all required steps during first launch of the program.

If it is first launch, do setup and recipients commands. Note that when you start the commands you rewrite data, rather than add any new information to the old one.

About

The program is created to ping several ip addresses, put results in separate txt files, distribute files between folders, send email if ip is not reachable, send email if ip is reachable again. All action are independent for each ip address. The program has TRUE CLI, which is similar to CMD or router CLI.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages