This python script works only on Python 2. While this could be developed for Py3, but the requirements of the client was only in Python2.
Script well tested for CSV files > This script currently pings for ipv6 addresses only, ipv4 support shall come soon
-
Clone the github repo by
git clone https://github.com/nooobcoder/PythonPingTelnetStatus.git
-
Check if Python2 is installed
python --version
- Run the script using:
python python2port.py
After the script has run, check the newly created output folder where the resultant files are output
-
-f, --file
: The file name to read from. -
-pc, --packet_counts
: The number of packets. -
-tr, --telnet_retries
: The number of telnet retries.
python python2port.py -f input.csv -pc 4 -tr 4