R
R
Reshh4rd2019-10-23 15:31:15
Python
Reshh4rd, 2019-10-23 15:31:15

What are the Python libraries for network checks?

Hey!
I made a script that from node A checks the network availability of node B, sends the result to the database, and everything is already displayed there in grafana. Implemented port availability checks via socket.
Actually the question is: are there any libraries in python that check availability via ICMP, check for packet loss (Loss) and packet transmission time (ms)? Now I check these parameters through subprocess ping , just parsing the output and the response code for ICMP, but I see such an implementation as a crutch, there are probably written tools for such checks. Couldn't find it on google...

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
PrAw, 2019-10-23
@Reshh4rd

banned on google for what?
https://pypi.org/project/pyping/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question