Comments (7)
Could you please try running this after running pip?
$ python3 setup.py install
And then try running again. Could you also please let me know the result? If that works, I'll update the README.
from cachet-url-monitor.
Yes, that installation step was missing from the readme.md. This is the output:
running install
running bdist_egg
running egg_info
creating cachet_url_monitor.egg-info
writing dependency_links to cachet_url_monitor.egg-info/dependency_links.txt
writing cachet_url_monitor.egg-info/PKG-INFO
writing top-level names to cachet_url_monitor.egg-info/top_level.txt
writing manifest file 'cachet_url_monitor.egg-info/SOURCES.txt'
reading manifest file 'cachet_url_monitor.egg-info/SOURCES.txt'
writing manifest file 'cachet_url_monitor.egg-info/SOURCES.txt'
installing library code to build/bdist.linux-x86_64/egg
running install_lib
running build_py
creating build
creating build/lib
creating build/lib/cachet_url_monitor
copying cachet_url_monitor/configuration.py -> build/lib/cachet_url_monitor
copying cachet_url_monitor/scheduler.py -> build/lib/cachet_url_monitor
copying cachet_url_monitor/__init__.py -> build/lib/cachet_url_monitor
copying cachet_url_monitor/latency_unit.py -> build/lib/cachet_url_monitor
copying cachet_url_monitor/status.py -> build/lib/cachet_url_monitor
creating build/bdist.linux-x86_64
creating build/bdist.linux-x86_64/egg
creating build/bdist.linux-x86_64/egg/cachet_url_monitor
copying build/lib/cachet_url_monitor/configuration.py -> build/bdist.linux-x86_64/egg/cachet_url_monitor
copying build/lib/cachet_url_monitor/scheduler.py -> build/bdist.linux-x86_64/egg/cachet_url_monitor
copying build/lib/cachet_url_monitor/__init__.py -> build/bdist.linux-x86_64/egg/cachet_url_monitor
copying build/lib/cachet_url_monitor/latency_unit.py -> build/bdist.linux-x86_64/egg/cachet_url_monitor
copying build/lib/cachet_url_monitor/status.py -> build/bdist.linux-x86_64/egg/cachet_url_monitor
byte-compiling build/bdist.linux-x86_64/egg/cachet_url_monitor/configuration.py to configuration.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cachet_url_monitor/scheduler.py to scheduler.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cachet_url_monitor/__init__.py to __init__.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cachet_url_monitor/latency_unit.py to latency_unit.cpython-35.pyc
byte-compiling build/bdist.linux-x86_64/egg/cachet_url_monitor/status.py to status.cpython-35.pyc
creating build/bdist.linux-x86_64/egg/EGG-INFO
copying cachet_url_monitor.egg-info/PKG-INFO -> build/bdist.linux-x86_64/egg/EGG-INFO
copying cachet_url_monitor.egg-info/SOURCES.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying cachet_url_monitor.egg-info/dependency_links.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
copying cachet_url_monitor.egg-info/top_level.txt -> build/bdist.linux-x86_64/egg/EGG-INFO
zip_safe flag not set; analyzing archive contents...
creating dist
creating 'dist/cachet_url_monitor-1.4-py3.5.egg' and adding 'build/bdist.linux-x86_64/egg' to it
removing 'build/bdist.linux-x86_64/egg' (and everything under it)
Processing cachet_url_monitor-1.4-py3.5.egg
Copying cachet_url_monitor-1.4-py3.5.egg to /opt/statusmonitor/lib/python3.5/site-packages
Adding cachet-url-monitor 1.4 to easy-install.pth file
Installed /opt/statusmonitor/lib/python3.5/site-packages/cachet_url_monitor-1.4-py3.5.egg
Processing dependencies for cachet-url-monitor==1.4
Finished processing dependencies for cachet-url-monitor==1.4
However I am now receiving a different error:
can't find '__main__' module in 'cachet_url_monitor'
It still won't launch.
from cachet-url-monitor.
Please disregard the last error I posted in my comment above, I simply entered the wrong path.
After running the python3 setup.py install
command it is now working properly, so you might want to add that to the readme.
Now I just need to figure out correct regex to detect the status of my instance.
Thanks!
from cachet-url-monitor.
Great! Thanks for the update. FYI, the regex looks into the body of the response.
I'll leave this bug open until I update the readme.
from cachet-url-monitor.
Awesome. With the original issue aside, I must be doing something wrong with the regex then as I keep getting "Regex did not match anything in the body".
Is the regex field in the config the filter or what it will be filtering to look for? I'm trying to use this to monitor the status of my Gitlab instance which will return the message Gitlab OK
through the health API.
I've never done automated status monitoring before so I'm a bit confused on what to configure.
Late Update: Please disregard my original message in this reply, I figured out what I was doing wrong and everything is working perfectly as intended.
from cachet-url-monitor.
I have this issue when configuring it on Ubuntu 16.0.4.
It resolved after pip and run command
$python setup.py install
from cachet-url-monitor.
Thanks for sharing this, @thyspir! I updated the README a while back and @Yandols confirmed it's working for him. I'll close this issue.
from cachet-url-monitor.
Related Issues (20)
- Error al actualizar un incidente HOT 4
- Url unreachable issue - question HOT 2
- Allowed_fails behaviour
- Add JSON body and verify option to webhook POST request
- Documentation needed?
- Component with id [1] does not exist. HOT 4
- Is there a way to customize the message set? HOT 5
- Url not reacheable and component status HOT 3
- ARM version of Docker image?
- Reset Status After Incident Resolved HOT 3
- scheduler.py issue HOT 2
- No Errorcode for wrong IP:Port
- Wrong api to push metric points HOT 1
- Allowed_fails does not work
- AttributeError: 'list' object has no attribute 'lower' HOT 1
- Failure #1 with threshold set to 0 HOT 1
- Cachet Status not updated if check fails HOT 1
- Supervising Database Status
- Sorting the endpoints based on status
- Regex doesn't match text on checked site page
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cachet-url-monitor.