ericterrell / trashcanmonitor Goto Github PK
View Code? Open in Web Editor NEWMonitor your 5G21-12W-A High-Speed Internet Gateway device 24/7
License: GNU General Public License v3.0
Monitor your 5G21-12W-A High-Speed Internet Gateway device 24/7
License: GNU General Public License v3.0
Hi there, trying out your code and it seems I cannot run it without being root. Any ideas? Thanks!
$ python3 TrashCanMonitor.py 30 trashcan-stats.csv
wait_seconds: 30
output_file_path: trashcan-stats.csv
Traceback (most recent call last):
File "/Users/ob1/Downloads/TrashCanMonitor.py", line 208, in <module>
main()
File "/Users/ob1/Downloads/TrashCanMonitor.py", line 198, in main
record_stats(ping_ip_address, timeout_seconds, simultaneous_pings, target_url, output)
File "/Users/ob1/Downloads/TrashCanMonitor.py", line 58, in record_stats
result = ping(target, timeout, count)
File "/usr/local/lib/python3.9/site-packages/pythonping/__init__.py", line 73, in ping
comm = executor.Communicator(target, provider, timeout, socket_options=options, verbose=verbose, output=out,
File "/usr/local/lib/python3.9/site-packages/pythonping/executor.py", line 247, in __init__
self.socket = network.Socket(target, 'icmp', source=None, options=socket_options)
File "/usr/local/lib/python3.9/site-packages/pythonping/network.py", line 33, in __init__
self.socket = socket.socket(socket.AF_INET, socket.SOCK_RAW, self.protocol)
File "/usr/local/Cellar/[email protected]/3.9.2_4/Frameworks/Python.framework/Versions/3.9/lib/python3.9/socket.py", line 232, in __init__
_socket.socket.__init__(self, family, type, proto, fileno)
PermissionError: [Errno 1] Operation not permitted
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.