{"id":20666806,"url":"https://github.com/sbraz/check_lsiutil","last_synced_at":"2026-04-24T07:34:10.372Z","repository":{"id":66064005,"uuid":"406345410","full_name":"sbraz/check_lsiutil","owner":"sbraz","description":" Nagios-like plugin to check LSI HBA counters","archived":false,"fork":false,"pushed_at":"2021-10-01T17:11:23.000Z","size":31,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-17T15:08:21.486Z","etag":null,"topics":["icinga2","monitor","monitoring-plugins","nagios","nagios-plugins"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sbraz.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":"2021-09-14T11:49:37.000Z","updated_at":"2021-10-01T17:11:25.000Z","dependencies_parsed_at":"2023-02-21T02:15:10.893Z","dependency_job_id":null,"html_url":"https://github.com/sbraz/check_lsiutil","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sbraz/check_lsiutil","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbraz%2Fcheck_lsiutil","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbraz%2Fcheck_lsiutil/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbraz%2Fcheck_lsiutil/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbraz%2Fcheck_lsiutil/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbraz","download_url":"https://codeload.github.com/sbraz/check_lsiutil/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbraz%2Fcheck_lsiutil/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32214417,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T03:15:14.334Z","status":"ssl_error","status_checked_at":"2026-04-24T03:15:11.608Z","response_time":64,"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":["icinga2","monitor","monitoring-plugins","nagios","nagios-plugins"],"created_at":"2024-11-16T19:41:54.637Z","updated_at":"2026-04-24T07:34:10.330Z","avatar_url":"https://github.com/sbraz.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Introduction\n\nThis plugin can be used to check physical error counters for LSI HBAs.\nIt keeps track of previous values to raise errors when an error counter sees an increment.\n\n# Requirements\n\nThe script requires:\n* Python 3.7 or newer\n* lsiutil (1.70 or newer is required to support MPT3 devices)\n* [`nagiosplugin`](https://nagiosplugin.readthedocs.io) version 1.2.4 or newer\n* util-linux 2.27 or newer (lsblk with JSON output support)\n* sudo and access to `lsiutil` commands\n* read-write access to `/var/tmp/` (where the state file is created)\n\n# Security\n\nIn order to limit the attack surface as much as possible, it is recommended to\nonly grant sudo access to the required `lsiutil` commands.\n\nFor example, create `/etc/sudoders.d/check_lsiutil` containing:\n```\nicinga ALL=(ALL) NOPASSWD: /usr/bin/lsiutil 0\nicinga ALL=(ALL) NOPASSWD: /usr/bin/lsiutil -p [0-9] -a 69\\,16\\,20\\,12\\,0\\,0\nicinga ALL=(ALL) NOPASSWD: /usr/bin/lsiutil -p [0-9][0-9] -a 69\\,16\\,20\\,12\\,0\\,0\n```\n\n# Integration with Icinga\n\nAn Icinga `CheckCommand` can be defined with:\n```\nobject CheckCommand \"lsiutil\" {\n  command = [PluginDir + \"/check_lsiutil.py\"]\n  arguments = {\n    \"--max-attempts\" = \"$max_check_attempts$\"\n  }\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbraz%2Fcheck_lsiutil","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbraz%2Fcheck_lsiutil","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbraz%2Fcheck_lsiutil/lists"}