{"id":18914820,"url":"https://github.com/cinnion/check-disk-snmp","last_synced_at":"2025-09-02T20:52:00.159Z","repository":{"id":151471376,"uuid":"161839195","full_name":"cinnion/check-disk-snmp","owner":"cinnion","description":"A Nagios plugin to checking disk usage on remote systems via SNMP","archived":false,"fork":false,"pushed_at":"2024-03-14T18:41:32.000Z","size":21,"stargazers_count":0,"open_issues_count":1,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-24T18:41:55.562Z","etag":null,"topics":["disk-usage","monitoring","nagios-plugin","snmp","sysadmin"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cinnion.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":"2018-12-14T20:52:17.000Z","updated_at":"2024-03-14T18:38:54.000Z","dependencies_parsed_at":"2025-05-24T18:32:25.068Z","dependency_job_id":"9b2f4ef4-7e61-4124-936d-54b0930933fa","html_url":"https://github.com/cinnion/check-disk-snmp","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/cinnion/check-disk-snmp","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinnion%2Fcheck-disk-snmp","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinnion%2Fcheck-disk-snmp/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinnion%2Fcheck-disk-snmp/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinnion%2Fcheck-disk-snmp/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cinnion","download_url":"https://codeload.github.com/cinnion/check-disk-snmp/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cinnion%2Fcheck-disk-snmp/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273348570,"owners_count":25089595,"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","status":"online","status_checked_at":"2025-09-02T02:00:09.530Z","response_time":77,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["disk-usage","monitoring","nagios-plugin","snmp","sysadmin"],"created_at":"2024-11-08T10:13:02.086Z","updated_at":"2025-09-02T20:52:00.107Z","avatar_url":"https://github.com/cinnion.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# check-disk-snmp \n\nA Nagios plugin to checking disk usage on remote systems via SNMP, using the\nvalues provided via UCD-SNMP-MIB:dskTable (.1.3.6.1.4.1.2021). This MIB table\nis used in favor over the others since it gives a fuller set of values, such\nas inodes used and percentages, as well as the thresholds configured for\ntrapping.\n\n## Requirements\n\nThis script was written for Python 2.7+, but uses the Python future\nlibrary to provide the print() function, and has been updated and tested \non Python 2.7 and 3.9.\n\nIt also requires the installation of the `pysnmp` package using PIP.\n\n## Installation\n\nAt this moment, the installation is to manually copy the `check-disk-snmp.py`\nscript to the Nagios plugin directory (e.g. `/usr/lib64/nagios/plugins`)\n\n## Example\n\n### CLI Usage\n\n```\n$ check-disk-snmp.py -H panparis -C public -w 80%,50%i -c 90% /tmp\nOK dskPercent=14 dskPercentNode=0\n```\n\n### Nagios command definition\n\n```\ndefine command {\n    command_name        check_remote_disk\n    command_line        $USER1$/check-disk-snmp.py -H $HOSTADDRESS$ -C public -w $ARG1$ -c $ARG2$ $ARG3$\n}\n```\n\n### Nagios service definition\n\n```\ndefine service {\n    use\t\t\t\tremote-service\n    host_name\t\t\tnas\n    service_description\t\tmirrors:centos Partition\n    check_command \t\tcheck_remote_disk!80%!90%!/mirrors/centos\n}\n```\n\n## Known issues\n\n## License\n\nThis software is open-sourced software licensed under the\n[Mozilla Public License, v2.0](https://www.mozilla.org/en-US/MPL/2.0/)\n\n## Author Information\n\nThis plugin was created 2018 July 17 by [Douglas Needham](https://www.ka8zrt.com/).\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcinnion%2Fcheck-disk-snmp","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcinnion%2Fcheck-disk-snmp","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcinnion%2Fcheck-disk-snmp/lists"}