All Projects → labeveryday → ping_script

labeveryday / ping_script

Licence: other
Simple script to ping a list on devices on windows

Programming Languages

python
139335 projects - #7 most used programming language

Projects that are alternatives of or similar to ping script

Cloudprober
An active monitoring software to detect failures before your customers do.
Stars: ✭ 1,269 (+4976%)
Mutual labels:  ping
Powershell ipv4networkscanner
Powerful asynchronus IPv4 network scanner for PowerShell
Stars: ✭ 161 (+544%)
Mutual labels:  ping
Ng2 Idle
Responding to idle users in Angular (not AngularJS) applications.
Stars: ✭ 240 (+860%)
Mutual labels:  ping
Irtt
Isochronous Round-Trip Tester
Stars: ✭ 106 (+324%)
Mutual labels:  ping
Lagmonitor
Monitor performance of your Minecraft server. Similar to VisualVM and Java Mission Control.
Stars: ✭ 147 (+488%)
Mutual labels:  ping
Ping Me
A cross platform personalized Ping
Stars: ✭ 190 (+660%)
Mutual labels:  ping
Ultrasonic
Minimalist library for Ultrasonic Module HC-SR04, PING))) and Seeed SEN136B5B to Arduino
Stars: ✭ 77 (+208%)
Mutual labels:  ping
cisco-ip-trace
Trace IP addresses to edge Cisco switch port
Stars: ✭ 65 (+160%)
Mutual labels:  netmiko
Go Ping
A simple ping library using ICMP echo requests.
Stars: ✭ 158 (+532%)
Mutual labels:  ping
Mylg
Network Diagnostic Tool
Stars: ✭ 2,538 (+10052%)
Mutual labels:  ping
Pingtunnel
ping tunnel is a tool that advertises tcp/udp/socks5 traffic as icmp traffic for forwarding.
Stars: ✭ 1,904 (+7516%)
Mutual labels:  ping
Ping exporter
Prometheus exporter for ICMP echo requests using https://github.com/digineo/go-ping
Stars: ✭ 134 (+436%)
Mutual labels:  ping
Go Lambda Ping
Deploy a Lambda to Ping a Site in 20 Seconds!
Stars: ✭ 195 (+680%)
Mutual labels:  ping
Networkmanager
A powerful tool for managing networks and troubleshoot network problems!
Stars: ✭ 1,296 (+5084%)
Mutual labels:  ping
Is Reachable
Check if servers are reachable
Stars: ✭ 249 (+896%)
Mutual labels:  ping
Mmm Networkscanner
A module for MagicMirror which determines the status of devices on the network based on their MAC or IP address
Stars: ✭ 85 (+240%)
Mutual labels:  ping
Ip Attack
Auto IP or Domain Attack Tool ( #1 )
Stars: ✭ 162 (+548%)
Mutual labels:  ping
pycameresp
Motion detection with image notification for Esp32CAM and Esp32 flasher with GUI based on esptool.py.
Stars: ✭ 40 (+60%)
Mutual labels:  ping
IPpy
🚀 Ping IP addresses and domains in parallel to find the accessible and inaccessible ones.
Stars: ✭ 54 (+116%)
Mutual labels:  ping
Deadman
deadman is a curses-based host status checking application using ping
Stars: ✭ 214 (+756%)
Mutual labels:  ping

Ping Script, ping a network device to verify if the device is up or down

This is a script that leverages the os library to ping a network device to verify if the device is up or down and output the status to results.txt. Use this script to learn the basics of python.

Download the Code

To get started: Download the code and cd the ping_script directory

git clone https://github.com/labeveryday/ping_script.git
cd ping_script

Python Virtual Environment

When executing python code or installing python applications you should get into the practice of creating and managing python virtual environments. This will allow you to run different versions of a python library while avoiding version conflicts. My preferred tool for python virtual environments is venv There are tools out there. Remember to find what works best for you.

On Linux or Mac

python3 -m venv venv
source venv/bin/activate

On Windows

python3 -m venv venv
.\venv\Scripts\activate.bat

Example: Script in action

Now that you have everything installed and updated you can execute the script

(venv) duan@ubuntu ping_script$ python tool.py
Down 192.168.23.1 Ping Unsuccessful
Down 192.168.23.2 Ping Unsuccessful
Up 192.168.23.142 Ping successful
Up 192.168.23.143 Ping successful
Up 192.168.23.144 Ping successful

NOTE: To modify the subnets and the range change the starting digit and the ending digit in line 18.

ping_range

Walk through

Here is a video walk through of the ping_script in action.

Watch the video

About me

Introverted Network Automation Engineer that is changing lives as a Developer Advocate for Cisco DevNet. Pythons scripts are delicious. Especially at 2am on a Saturday night.

My hangouts:

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].