How to Ping Multiple IP Addresses - Python

preview_player
Показать описание

Рекомендации по теме
Комментарии
Автор

I have been working with bash forever. This is so much easier and more usable. Thank you so much. You rock.

greyhnd
Автор

I have what I think is a good use case for this script - we have remote workers that don't understand what network connections they need in order to get access to corporate applications, or whether or not they're connected via VPN, Internet, or nothing. Having something like this with strategically documented IP addresses would allow desktop/network support to easily troubleshoot a caller's network status. If they can ping an Internet page and if they can ping an internal LAN server from a remote location when they're supposed to be connected to the corporate network. Then using red or green lights to show whether or not each ping of the IP addresses is successful.

tkonzl
Автор

This is short and sweet. Also, useful when we want to ping multiple IP addresses at the same time. Thank you.

harshmehta
Автор

Hey, great video. Thanks so much for doing this. I don't use Python regularly, but used it intensively when I worked at that big hardware company about 10 years ago. I would have thought there might be an actual integrated Python module for pinging by now. Next question is how to get data back from the ping response.

DaveFer
Автор

This was most helpful! Thank You!!! Please do more python videos.

JamesFrederickstech
Автор

Good afternoon, please tell me what needs to be added to the code so that, say, 2 devices ping each other within a few minutes, and, say, twice a day?

And thank you for videos VERY helpful!

EAleg
Автор

what if we want to return a meaningful name to an ip address.?
we ping the address, and we want output saying 'New york Node is up' or 'new york node is down'

austinanderson
Автор

Thank you very much for the examples, there is a possibility to export the ones with a ping response. Greetings and best of luck

orlandoeulate
Автор

Hi, so python is excellent for sys/network admins, right (in 2023)?

soufta
Автор

Thank you...
How to coding for notify in line group... please

oJaMeKunGo
Автор

It is very useful. But ping response how write a code with if.

narendranagalla
Автор

it is not working in system its shows everytime 32512 for each and every ip. how can i solve this problem. please help me

noorbasha
Автор

Hi teacher Can u help me one question?

nizamozdemir
Автор

i use subprocess and just work with the return code it's alot faster when working with 8000+ IP adresses

parlsson
Автор

also u can use " pip install pythonping " dependency any way great job WebDevPro

brainx-eiuk
Автор

Hi Sir,


How do I save the results to a text file?
Lets say I'm pining 60 ips in my network and to know the end result to monitor?


But hey great help for a beginner @ python, thanks

pravinraj
Автор

i need to save the result ...how we can improve it ...

jordansigh
Автор

Is there a way to save the output to a notepad?

greyhnd
Автор

it will be better if you use threading in python

ImVuCms
Автор

Thank for sharing, how i can collect result ping to send telegram please advise

ridwansogan