{"id":21056965,"url":"https://github.com/doppelar0n/check_gem","last_synced_at":"2026-01-30T19:04:26.491Z","repository":{"id":261332812,"uuid":"883987257","full_name":"doppelar0n/check_gem","owner":"doppelar0n","description":"A nagios plugin to check if gem updates are available","archived":false,"fork":false,"pushed_at":"2024-11-06T01:33:25.000Z","size":4,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-30T09:56:31.465Z","etag":null,"topics":["bash","nagios","nagios-checks","nagios-plugin","nagios-plugins","ruby","ruby-gem","rubygem","shell","update-checker"],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/doppelar0n.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,"zenodo":null}},"created_at":"2024-11-05T23:44:38.000Z","updated_at":"2024-11-06T01:37:51.000Z","dependencies_parsed_at":"2024-11-06T01:26:25.574Z","dependency_job_id":"b14d8748-3faf-47df-bcad-c64dec5e353d","html_url":"https://github.com/doppelar0n/check_gem","commit_stats":null,"previous_names":["doppelar0n/check_gem"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/doppelar0n/check_gem","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doppelar0n%2Fcheck_gem","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doppelar0n%2Fcheck_gem/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doppelar0n%2Fcheck_gem/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doppelar0n%2Fcheck_gem/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/doppelar0n","download_url":"https://codeload.github.com/doppelar0n/check_gem/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/doppelar0n%2Fcheck_gem/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28917457,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T16:37:38.804Z","status":"ssl_error","status_checked_at":"2026-01-30T16:37:37.878Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":["bash","nagios","nagios-checks","nagios-plugin","nagios-plugins","ruby","ruby-gem","rubygem","shell","update-checker"],"created_at":"2024-11-19T16:55:22.840Z","updated_at":"2026-01-30T19:04:26.470Z","avatar_url":"https://github.com/doppelar0n.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# check_gem\n\n`check_gem` is a nagios plugin to check if gem updates are available.\ngem outdated returns a list of gems for which updates are available.\n\n## Install\n\ncopy the `check_gem` plugin into your plugin directory, usually `/usr/lib/nagios/plugins/`:\n```bash\nsudo cp check_gem /usr/lib/nagios/plugins/\n```\n\nMake sure the script is executable:\n```bash\nsudo chmod +x /usr/lib/nagios/plugins/check_gem\n```\n\n## Usage\n\nRun the script with the following parameters:\n\n```bash\n/usr/lib/nagios/plugins/check_gem -w 5 -c 20\n```\n\n### Options\n\n- `-w`, `--warning \u003cnumber\u003e`  Minimum number of gem packages available for upgrade to return `WARNING` status. Default: 1\n- `-c`, `--critical \u003cnumber\u003e` Minimum number of gem packages available for upgrade to return `CRITICAL` status. Default: 10\n- `-h`, `--help`              Display this help message.\n\n## Example\n\n```bash\n/usr/lib/nagios/plugins/check_gem -w 5 -c 15\nCRITICAL - 16 gem(s) need updates\n```\n\n### Test\n\nRun test with:\n```bash\ndocker run -it -v \"$PWD:/code\" bats/bats:latest /code/test\n```\n\n## License\n\nThis project is licensed under the MIT License. See the [LICENSE](LICENSE) file for more information.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoppelar0n%2Fcheck_gem","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdoppelar0n%2Fcheck_gem","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdoppelar0n%2Fcheck_gem/lists"}