Git Product home page Git Product logo

trashcanmonitor's People

Contributors

ericterrell avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

trashcanmonitor's Issues

non-root = error

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.