Skip to content

akarneliuk/automated-troubleshooting

Repository files navigation

Troubleshooting with Python and Bash

Here you can find some Python and Bash scripts aiming to help you with the troubleshooting.

Index

Script Description
get_public_ip.py Resolving your public IP and printing to stdout
get_speed.py Measuring the speed of your internet connectivity and mailing to you. Requires speedtest installation at Your Linux/MAC.
measure_speed.py Run the client side of the iperf3 session to a default port and save the output. Executed as ./measure_speed.py iperf3_server_ip. Add it to cron as: 0 * * * * /home/aaa/Dev/automated-troubleshooting/measure_speed.py 192.168.1.67 in crontab -e in CentOS. Requires iperf3 installation at Your Linux/MAC.
get_nodes.py Generate the list of the hosts live in either your local subnet or in a chosen destination. Requires fping installation at Your Linux/MAC.
shell_tools.sh Install the necessary tools (e.g., iperf3, fping, etc) at your Operating System
bash_cumulus_vxlan.sh Genrate IP/MAC/VLAN/VTEP mapping for Cumulus Linux
bash_measure_packet_loss.sh Measure the packet loss towards the list of destinations

Want to learn more?

We have something for you:

Release

Current release is 0.2.2.

Applicability

Any *-NIX based system (e.g., Linux, Unix, MAC OS). In fact, those Python scipts perfectly run on Raspbery PI as well (tested at PI 4B).

(c)2020-2021, karneliuk.com

About

The materials supporting the `Tools` series at karneliuk.com

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published