https://github.com/andreimarcu/aammonit
Stub of a simple python monitoring system
https://github.com/andreimarcu/aammonit
Last synced: about 1 year ago
JSON representation
Stub of a simple python monitoring system
- Host: GitHub
- URL: https://github.com/andreimarcu/aammonit
- Owner: andreimarcu
- Created: 2014-02-20T07:46:57.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-05-04T17:20:45.000Z (about 12 years ago)
- Last Synced: 2025-01-22T22:31:31.615Z (over 1 year ago)
- Language: Python
- Size: 162 KB
- Stars: 3
- Watchers: 4
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
aammonit
========
Stub of a simple python monitoring system
Requirements
------------
- Python
- All dependencies in requirements.txt
Installation
------------
1. pip install -r requirements.txt
1. Copy config.py from config.py.example and edit for your usage
2. Run ./aammonit.py
3. Enjoy!
Ideas/Vision
------
Globally
- The concept is supposed to extend to any monitorable thing:
- notify if price of bitcoin exceeds X
- notify if outside temperature drops below X
- notify if html page's DOM element changed
- etc.
- Create an interface class, that can control aammonit as a whole (dynamically add notifiers, services, stop, start, etc)
- Subclasses of this can be a terminal controller, IRC/XMPP controller (but then have to re-use the notifier as a controller, so need a way to communicate).
- Where/how is the configuration stored? sqlite? json overwrite on each config change/save? etc.
- *Maybe* introduce metering, save results of each check, make them available to access in the interfaces
- i.e. IRC/XMPP interface:
```
.view service_check_1
Last metrics for service_check_1: 0.1 0.2 0.1 0.15
```
- Web interface would display graphs, etc.
Monitors
- Every monitor should be optionally threaded, with an individual interval of checking, for high importance service checks
- Add "retries" for checks until declared down
- Detect self-connectivity issues before saying that everything is down
ETC
---
- Due to the stub nature of this project, there are a lot of things to cover that aren't covered here.
Author
------
Andrei Marcu, http://andreim.net/