Skip to content

Latest commit

 

History

History
45 lines (24 loc) · 1.07 KB

README.md

File metadata and controls

45 lines (24 loc) · 1.07 KB

PythonPing by Ankur Paul

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

Screenshots

Image 1

Image 2

File Output

Instructions for run

  1. Clone the github repo by git clone https://github.com/nooobcoder/PythonPingTelnetStatus.git

  2. Check if Python2 is installed

python --version

  1. Run the script using: python python2port.py

After the script has run, check the newly created output folder where the resultant files are output


Running the script with arguments

Inputs:

  • -f, --file: The file name to read from.

  • -pc, --packet_counts: The number of packets.

  • -tr, --telnet_retries: The number of telnet retries.

Example Usage:

python python2port.py  -f  input.csv  -pc  4  -tr  4