{"id":21379668,"url":"https://github.com/andreimarcu/aammonit","last_synced_at":"2025-03-16T10:27:21.110Z","repository":{"id":14304173,"uuid":"17012885","full_name":"andreimarcu/aammonit","owner":"andreimarcu","description":"Stub of a simple python monitoring system","archived":false,"fork":false,"pushed_at":"2014-05-04T17:20:45.000Z","size":166,"stargazers_count":3,"open_issues_count":1,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-22T22:31:31.615Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/andreimarcu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-02-20T07:46:57.000Z","updated_at":"2015-07-24T14:31:22.000Z","dependencies_parsed_at":"2022-09-16T00:41:03.757Z","dependency_job_id":null,"html_url":"https://github.com/andreimarcu/aammonit","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimarcu%2Faammonit","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimarcu%2Faammonit/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimarcu%2Faammonit/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/andreimarcu%2Faammonit/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/andreimarcu","download_url":"https://codeload.github.com/andreimarcu/aammonit/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243855975,"owners_count":20358918,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-22T10:22:30.643Z","updated_at":"2025-03-16T10:27:21.077Z","avatar_url":"https://github.com/andreimarcu.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"aammonit\n========\n\nStub of a simple python monitoring system\n\n\nRequirements\n------------\n- Python \n- All dependencies in requirements.txt\n\nInstallation\n------------\n1. pip install -r requirements.txt\n1. Copy config.py from config.py.example and edit for your usage\n2. Run ./aammonit.py\n3. Enjoy!\n\n\nIdeas/Vision\n------\n\nGlobally\n- The concept is supposed to extend to any monitorable thing:\n    - notify if price of bitcoin exceeds X\n    - notify if outside temperature drops below X\n    - notify if html page's DOM element changed\n    - etc. \n- Create an interface class, that can control aammonit as a whole (dynamically add notifiers, services, stop, start, etc)\n    - 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).\n    - Where/how is the configuration stored? sqlite? json overwrite on each config change/save? etc.\n- *Maybe* introduce metering, save results of each check, make them available to access in the interfaces \n    - i.e. IRC/XMPP interface: \n\n    ```\n    \u003cuser\u003e .view service_check_1  \n    \u003caammonit\u003e Last metrics for service_check_1: 0.1 0.2 0.1 0.15    \n    ```\n    - Web interface would display graphs, etc.\n\n\n\nMonitors\n- Every monitor should be optionally threaded, with an individual interval of checking, for high importance service checks\n- Add \"retries\" for checks until declared down\n- Detect self-connectivity issues before saying that everything is down\n\n\nETC\n---\n- Due to the stub nature of this project, there are a lot of things to cover that aren't covered here.\n\n\n\nAuthor\n------\nAndrei Marcu, http://andreim.net/","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreimarcu%2Faammonit","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fandreimarcu%2Faammonit","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fandreimarcu%2Faammonit/lists"}