{"id":15516253,"url":"https://github.com/daenney/mdadm-notify","last_synced_at":"2025-04-23T03:28:53.608Z","repository":{"id":78357394,"uuid":"146606286","full_name":"daenney/mdadm-notify","owner":"daenney","description":"Send mdadm notifications to the desktop","archived":false,"fork":false,"pushed_at":"2018-08-29T14:31:37.000Z","size":31,"stargazers_count":10,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-06T00:26:14.067Z","etag":null,"topics":["desktop","mdadm","notifications","raid"],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/daenney.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-08-29T13:44:59.000Z","updated_at":"2025-03-16T20:03:30.000Z","dependencies_parsed_at":"2023-02-25T16:01:04.926Z","dependency_job_id":null,"html_url":"https://github.com/daenney/mdadm-notify","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daenney%2Fmdadm-notify","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daenney%2Fmdadm-notify/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daenney%2Fmdadm-notify/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/daenney%2Fmdadm-notify/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/daenney","download_url":"https://codeload.github.com/daenney/mdadm-notify/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250364279,"owners_count":21418456,"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":["desktop","mdadm","notifications","raid"],"created_at":"2024-10-02T10:06:26.611Z","updated_at":"2025-04-23T03:28:53.590Z","avatar_url":"https://github.com/daenney.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Desktop notifications for mdadm\n\nThe `mdadm-notify` script is a little program that handles displaying\nnotifications from `mdadm --monitor` by using the desktop notification system.\nTo do so you have to have the `notify-send` binary available in your path,\nwhich usually comes with `libnotify` as well as a few other basic utilities\nthat are documented in the script (they should be readily available on most\nLinux distributions as part of the base installation).\n\nIt handles the following notifications (from `mdadm(8)`):\n\n| Notification | Urgency |\n|--------------|----------|\n|`DeviceDisappeared`| critical |\n|`RebuildStarted`| normal |\n|`RebuildNN`| normal |\n|`RebuildFinished` | normal |\n|`Fail`| critical |\n|`FailSpare`| critical |\n|`SpareActive`| normal |\n|`NewArray`| normal\n|`DegradedArray` | critical |\n| `MoveSpare` | normal |\n| `SparesMissing` | critical |\n| `TestMessage` | low |\n\nAll messages that are critical will never expire and thus require explicit\ninteraction to dismiss them. All other messages have a timeout of 3 seconds,\nso the overlay will disappear but you can still find them in the notification\narea in case you missed them.\n\n## Installation\n\n* Put the script somewhere, ensure it's owned by root and executable\n* Set the `PROGRAM` option in `mdadm.conf` to point to this script\n* (Re)start the mdadm or mdmonitor service\n\n## Usage\n\nSit back and relax, you'll see notifications pop up like:\n![notification-rebuild](screenshots/notification-rebuild.png \"Rebuild notification\")\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaenney%2Fmdadm-notify","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaenney%2Fmdadm-notify","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaenney%2Fmdadm-notify/lists"}