{"id":18275338,"url":"https://github.com/rahiel/supervisor-alert","last_synced_at":"2026-03-09T01:31:48.625Z","repository":{"id":57472436,"uuid":"56918227","full_name":"rahiel/supervisor-alert","owner":"rahiel","description":"Receive notifications for supervisor process events.","archived":false,"fork":false,"pushed_at":"2022-07-21T22:30:22.000Z","size":14,"stargazers_count":44,"open_issues_count":4,"forks_count":14,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-06T23:49:03.113Z","etag":null,"topics":["event-listener","notifications","supervisor","telegram"],"latest_commit_sha":null,"homepage":"https://pypi.org/project/supervisor-alert/","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rahiel.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-23T12:31:53.000Z","updated_at":"2025-02-06T08:37:36.000Z","dependencies_parsed_at":"2022-08-31T06:23:35.613Z","dependency_job_id":null,"html_url":"https://github.com/rahiel/supervisor-alert","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/rahiel/supervisor-alert","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahiel%2Fsupervisor-alert","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahiel%2Fsupervisor-alert/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahiel%2Fsupervisor-alert/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahiel%2Fsupervisor-alert/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rahiel","download_url":"https://codeload.github.com/rahiel/supervisor-alert/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rahiel%2Fsupervisor-alert/sbom","scorecard":{"id":758949,"data":{"date":"2025-08-11","repo":{"name":"github.com/rahiel/supervisor-alert","commit":"d4a052418a44e035f2084e3c4d628a729b49d7cc"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3,"checks":[{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Code-Review","score":0,"reason":"Found 1/12 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.txt:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE.txt:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 1 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-22T22:41:25.977Z","repository_id":57472436,"created_at":"2025-08-22T22:41:25.977Z","updated_at":"2025-08-22T22:41:25.977Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30279777,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-08T20:45:49.896Z","status":"ssl_error","status_checked_at":"2026-03-08T20:45:49.525Z","response_time":56,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["event-listener","notifications","supervisor","telegram"],"created_at":"2024-11-05T12:12:33.237Z","updated_at":"2026-03-09T01:31:48.571Z","avatar_url":"https://github.com/rahiel.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# supervisor-alert\n\n[![Version](https://img.shields.io/pypi/v/supervisor-alert.svg)](https://pypi.org/project/supervisor-alert/)\n[![pyversions](https://img.shields.io/pypi/pyversions/supervisor-alert.svg)](https://pypi.org/project/supervisor-alert/)\n[![Downloads](https://www.cpu.re/static/supervisor-alert/downloads.svg)](https://www.cpu.re/static/supervisor-alert/downloads-by-python-version.txt)\n[![License](https://img.shields.io/pypi/l/supervisor-alert.svg)](https://github.com/rahiel/supervisor-alert/blob/master/LICENSE.txt)\n\nAre you using [Supervisor](http://supervisord.org) to manage processes on a\nserver? With supervisor-alert you can receive messages when the state of your\nprocesses change. Be the first to know when your services die!\n\nWith the default configuration supervisor-alert sends messages over Telegram.\nFor this to work you need to install [telegram-send][] system-wide first. You\ncan also use any shell command to send the notifications.\n\n[telegram-send]: https://github.com/rahiel/telegram-send\n\n# Installation\n\nInstall supervisor-alert on your system:\n``` shell\nsudo pip install supervisor-alert\n```\nYou must install it with Python 2 because Supervisor doesn't support Python 3\nyet. For Supervisor 4+ you may have Python 3 support, if `python3 -c 'import\nsupervisor'` doesn't give an error, you should install supervisor-alert with\npip3/python3.\n\nThen run:\n``` shell\nsudo supervisor-alert --configure\n```\nfor the default configuration. This will send notifications over Telegram. Read\nthe next section to customize or if you dislike automatic configurations.\n\n# Manual Configuration\n\nCreate the file `/etc/supervisor/conf.d/supervisor_alert.conf` as root:\n``` shell\n[eventlistener:supervisor_alert]\ncommand=supervisor-alert --telegram\nevents=PROCESS_STATE_RUNNING,PROCESS_STATE_EXITED,PROCESS_STATE_FATAL\nautostart=true\nautorestart=true\nstdout_logfile=NONE\nuser=supervisor_alert\n```\n\nThis will send the notifications over Telegram, to use something else, for\nexample [ntfy][], pass in the command:\n``` shell\ncommand=supervisor-alert -c 'ntfy send'\n```\n\nBy default the config file at `/etc/telegram-send.conf` is used for\ntelegram-send, to use a different config, or to pass any other options:\n``` shell\ncommand=supervisor-alert -c 'telegram-send --config /home/user/bunny.conf'\n```\n\nOptionally you can show the hostname before each message with the\n`--show-hostname` option:\n``` shell\ncommand=supervisor-alert --telegram --show-hostname\n```\n\nThe default configuration will run the event listener as the user\n`supervisor_alert`. It is a good practice to isolate services by running them as\nseparate users (and avoiding running them as root). Add the user with:\n``` shell\nsudo adduser supervisor_alert --system --no-create-home\n```\n\nOptionally, you can also subscribe to different supervisor events,\n[look at the docs][events] to see on which ones you'd like to be notified.\n\nFinally, load the config and start the event listener:\n\n``` shell\nsudo supervisorctl reread\nsudo supervisorctl update\n```\n\nYou should now receive your first alert, notifying you that `supervisor_alert`\nhas started running.\n\n[ntfy]: https://github.com/dschep/ntfy\n[events]: http://supervisord.org/events.html#event-types\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahiel%2Fsupervisor-alert","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frahiel%2Fsupervisor-alert","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frahiel%2Fsupervisor-alert/lists"}