{"id":20357887,"url":"https://github.com/gandi/jbod-rs","last_synced_at":"2025-04-12T03:15:01.854Z","repository":{"id":40003139,"uuid":"406577091","full_name":"Gandi/jbod-rs","owner":"Gandi","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-31T02:05:42.000Z","size":1451,"stargazers_count":16,"open_issues_count":1,"forks_count":3,"subscribers_count":8,"default_branch":"main","last_synced_at":"2025-04-12T03:14:56.300Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Gandi.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}},"created_at":"2021-09-15T01:44:20.000Z","updated_at":"2025-02-10T09:27:46.000Z","dependencies_parsed_at":"2023-02-01T05:31:02.734Z","dependency_job_id":"92c16463-f481-4ccd-b9e2-ec4316b1c28c","html_url":"https://github.com/Gandi/jbod-rs","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gandi%2Fjbod-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gandi%2Fjbod-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gandi%2Fjbod-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Gandi%2Fjbod-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Gandi","download_url":"https://codeload.github.com/Gandi/jbod-rs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248510001,"owners_count":21116130,"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-14T23:24:20.062Z","updated_at":"2025-04-12T03:15:01.830Z","avatar_url":"https://github.com/Gandi.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# jbod - Generic storage enclosure tool\n\n\u003cb\u003ejbod\u003c/b\u003e is a CLI that allows us to get information from disk enclosures and JBOD as well as control the led identification of disks. It also comes with a prometheus-exporter where we can collect metrics like the disks temperature, number of fans, the RPM of the fans and etc.\n\nIt was based on [encled](https://github.com/r5r3/encled) and [WDDCS](https://documents.westerndigital.com/content/dam/doc-library/en_us/assets/public/western-digital/product/platforms/ultrastar-data60-hybrid-platform/user-guide-ultrastar-data60.pdf) tool.\n\n### Commands:\n* \u003cb\u003e```jbod help```\u003c/b\u003e - Help menu\n* \u003cb\u003e```jbod list [-e|--enclosure]```\u003c/b\u003e - Provide a storage enclosure overview\n* \u003cb\u003e```jbod list [-d|--disks]```\u003c/b\u003e - List all disks per enclosure \n* \u003cb\u003e```jbod list [-f|--fan]```\u003c/b\u003e - List all FAN on the jbod\n* \u003cb\u003e```jbod prometheus [-i|--ip-address][-p|--port]```\u003c/b\u003e - Start prometheus-exporter \n* \u003cb\u003e```jbod led [-l|--locate] \u003cdevice\u003e --[on|off]```\u003c/b\u003e - Turn ON/OFF disk bay location led.\n* \u003cb\u003e```jbod led [-f|--fault] \u003cdevice\u003e --[on|off]```\u003c/b\u003e - Turn ON/OFF disk bay fault led.\n\n### Example of usage:\n![jbod-cli](https://raw.githubusercontent.com/Gandi/jbod-rs/release/gif/jbod.gif)\n \n### Grafana:\n![graphana](https://raw.githubusercontent.com/Gandi/jbod-rs/release/gif/jbod-exporter.gif)\n\n### Build the project:\n* Release: \u003cb\u003e```cargo build --release```\u003c/b\u003e\n\n### Debian package:\n* First install: \u003cb\u003e```cargo install cargo-deb```\u003c/b\u003e\n* Generate the debian package: \u003cb\u003e```cargo deb -v```\u003c/b\u003e\n\n### Crate:\n[https://crates.io/crates/jbod](https://crates.io/crates/jbod)\n\n### Contributing:\n\u003ca href=\"https://github.com/Gandi/jbod-rs/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contributors-img.web.app/image?repo=Gandi/jbod-rs\" /\u003e\n\u003c/a\u003e\n\n### License:\n\nThe project is made available under the BSD 2-Clause license. See the `LICENSE` file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgandi%2Fjbod-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgandi%2Fjbod-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgandi%2Fjbod-rs/lists"}