{"id":13710531,"url":"https://github.com/ps78674/zabbix-raidstat","last_synced_at":"2026-04-04T07:16:02.420Z","repository":{"id":65271219,"uuid":"209797870","full_name":"ps78674/zabbix-raidstat","owner":"ps78674","description":"Zabbix monitoring for Adaptec/arcconf, HP/ssacli, Marvell/mvcli (Template w/LLD)","archived":false,"fork":false,"pushed_at":"2025-10-17T11:41:43.000Z","size":78,"stargazers_count":21,"open_issues_count":4,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-18T14:46:51.160Z","etag":null,"topics":["go","golang","raid-monitoring","zabbix"],"latest_commit_sha":null,"homepage":"","language":"Go","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/ps78674.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-09-20T13:31:43.000Z","updated_at":"2025-10-17T11:41:49.000Z","dependencies_parsed_at":"2024-11-13T21:33:35.640Z","dependency_job_id":"7c888f7d-77e1-4e9b-9d5b-45f687dd5b3f","html_url":"https://github.com/ps78674/zabbix-raidstat","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ps78674/zabbix-raidstat","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ps78674%2Fzabbix-raidstat","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ps78674%2Fzabbix-raidstat/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ps78674%2Fzabbix-raidstat/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ps78674%2Fzabbix-raidstat/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ps78674","download_url":"https://codeload.github.com/ps78674/zabbix-raidstat/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ps78674%2Fzabbix-raidstat/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31391117,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T04:26:24.776Z","status":"ssl_error","status_checked_at":"2026-04-04T04:23:34.147Z","response_time":60,"last_error":"SSL_read: 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":["go","golang","raid-monitoring","zabbix"],"created_at":"2024-08-02T23:00:57.894Z","updated_at":"2026-04-04T07:16:02.412Z","avatar_url":"https://github.com/ps78674.png","language":"Go","funding_links":[],"categories":["Repositories"],"sub_categories":[],"readme":"### Zabbix RAID monitoring for Adaptec/Microsemi, HP Smart Array, Lenovo M.2 RAID (mvcli), LSI MegaRAID (megacli) and LSI (sas2ircu)\nSimple parser for `arcconf`, `ssacli`, `mvcli`, `megacli` and sas2ircu written in Go.\n\nZabbix template provides LLD for controllers, logical and physical drives.\n![Discovery](https://user-images.githubusercontent.com/31385755/65332764-f9f3f380-dbc7-11e9-9d08-9a2e5bc236bf.png)\n\nThere are two version, one for passive zabbix agent (zbx_raid_monitoring.xml) and one for active zabbix agent (zbx_raid_monitoring_active.yaml). \n\nConfigured host must have macros {$RAID_VENDOR} (as value for cli option `-vendor`).\n![Example host](https://user-images.githubusercontent.com/31385755/65949183-5cf54e00-e444-11e9-9070-ef570a53c7e4.png)\n\n```\nraidstat: parse raid vendor tool output and format it as json\n\nUsage:\n  zabbix-raidstat (-v \u003cVENDOR\u003e) (-d \u003cOPTION\u003e | -s \u003cOPTION\u003e) [-i \u003cINT\u003e]\n\nOptions:\n  -v, --vendor \u003cVENDOR\u003e    raid tool vendor, one of: adaptec | hp | marvell | megacli | sas2ircu\n  -d, --discover \u003cOPTION\u003e  discovery option, one of: ct | ld | pd\n  -s, --status \u003cOPTION\u003e    status option, one of: ct,\u003cCONTROLLER_ID\u003e | ld,\u003cCONTROLLER_ID\u003e,\u003cLD_ID\u003e | pd,\u003cCONTROLLER_ID\u003e,\u003cPD_ID\u003e\n  -i, --indent \u003cINT\u003e       indent json output level [default: 0]\n\n  -h, --help               show this screen\n\n```\nConfig file `config.json` is used for raid vendors -\u003e tools configuration.\n```\n{\n    \"vendors\": {\n        \"hp\": \"ssacli\",\n        \"vendor1\": \"/PATH/TO/BINARY1\",\n        \"vendor2\": \"/PATH/TO/BINARY2\"\n    }\n}\n```\nVendor name is used as plugin name (like \"hp.so\").\n\n## Compilation:\nRun `make` to compile all in build directory  \nRun `mnake tar` to get an archive  \n\n## Installation:\n\n1. Copy `raidstat/zabbix/raidstat.sudoers` to `/etc/sudoers.d/raidstat`\n2. Copy `zabbix/userparameter_raidstat.conf` to `/etc/zabbix/zabbix_agentd.d`\n3. Copy compiled binaries to `/opt/raidstat`\n4. Import template`zabbix/zbx_raid_monitoring.xml`\n5. If you are running fapolicyd add trust: `fapolicyd-cli --file add /opt/raidstat/* --trust-file raidstat` and reload fapolicyd\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fps78674%2Fzabbix-raidstat","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fps78674%2Fzabbix-raidstat","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fps78674%2Fzabbix-raidstat/lists"}