{"id":16096344,"url":"https://github.com/sio/munin_plugin_smart_raw","last_synced_at":"2025-04-05T20:29:35.859Z","repository":{"id":101312917,"uuid":"291997577","full_name":"sio/munin_plugin_smart_raw","owner":"sio","description":null,"archived":false,"fork":false,"pushed_at":"2020-09-10T19:12:38.000Z","size":29,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-02-11T20:49:53.935Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sio.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":"2020-09-01T12:54:31.000Z","updated_at":"2022-11-06T19:19:08.000Z","dependencies_parsed_at":"2023-09-21T08:48:18.926Z","dependency_job_id":null,"html_url":"https://github.com/sio/munin_plugin_smart_raw","commit_stats":{"total_commits":6,"total_committers":1,"mean_commits":6.0,"dds":0.0,"last_synced_commit":"01e093608450bffee56be2e37ec1af823b78bb7b"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sio%2Fmunin_plugin_smart_raw","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sio%2Fmunin_plugin_smart_raw/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sio%2Fmunin_plugin_smart_raw/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sio%2Fmunin_plugin_smart_raw/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sio","download_url":"https://codeload.github.com/sio/munin_plugin_smart_raw/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247398105,"owners_count":20932664,"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-10-09T17:13:37.073Z","updated_at":"2025-04-05T20:29:35.836Z","avatar_url":"https://github.com/sio.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Munin plugin for monitoring raw SMART values\n\n## Project status\n\nBeta software\n\n\n## Overview\n\nThis plugin tracks raw values of SMART parameters for specified drives\n\n![Example graph](example.png)\n\n\n## Installation and usage\n\nTo install this plugin you need to copy/symlink [smart_raw.py](smart_raw.py) to\nMunin's plugin directory (usually `/etc/munin/plugins/`) and make that file\nexecutable (`chmod +x`).\n\nThis plugin MUST be configured before use:\n\n- `user` - either `root` or another user that can execute smartctl against all drives\n\nOptional configuration parameters are:\n\n- `env.smart_raw_drives` - Space separated list of drive names, e.g. \"sda\n  sdb\". By default a `/dev/sd?` fileglob is used.\n- `env.smart_raw_params` - IDs of SMART parameter to monitor. Default: \"5 187 188 197 198\" as recommended [by Backblaze](https://www.backblaze.com/blog/hard-drive-smart-stats/)\n- `env.smart_raw_smartctl` - Custom path to smartctl executable. Default:\n  `which smartctl`\n\nMore information on installation and configuration of plugins is available in\nthe [Munin Guide](http://guide.munin-monitoring.org/en/latest/plugin/use.html)\n\n\n## Configuration example (`/etc/munin/plugin-conf.d/smart_raw`)\n\nShort version with just the required bits:\n\n```\n[smart_raw.py]\nuser root\n```\n\nMore specific target:\n\n```\n[smart_raw.py]\nenv.smart_raw_drives sda sdb\nenv.smart_raw_params 187 197 198\nuser root\n```\n\n\n## Support and contributing\n\nIf you need help with using this plugin please create [**an\nissue**](https://github.com/sio/munin_plugin_smart_raw/issues). Issues are also\nthe primary venue for reporting bugs and posting feature requests. General\ndiscussion related to this project is also acceptable and very welcome!\n\nIn case you wish to contribute code or documentation, feel free to open [**a\npull request**](https://github.com/sio/munin_plugin_smart_raw/pulls). That would\ncertainly make my day!\n\nI'm open to dialog and I promise to behave responsibly and treat all\ncontributors with respect. Please try to do the same, and treat others the way\nyou want to be treated.\n\nIf for some reason you'd rather not use the issue tracker, contacting me via\nemail is OK too. Please use a descriptive subject line to enhance visibility\nof your message. Also please keep in mind that public discussion channels are\npreferable because that way many other people may benefit from reading past\nconversations. My email is visible under the GitHub profile and in the commit\nlog.\n\n\n## License and copyright\n\nCopyright 2020 Vitaly Potyarkin\n\n    Licensed under the Apache License, Version 2.0 (the \"License\");\n    you may not use this file except in compliance with the License.\n    You may obtain a copy of the License at\n\n        http://www.apache.org/licenses/LICENSE-2.0\n\n    Unless required by applicable law or agreed to in writing, software\n    distributed under the License is distributed on an \"AS IS\" BASIS,\n    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n    See the License for the specific language governing permissions and\n    limitations under the License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsio%2Fmunin_plugin_smart_raw","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsio%2Fmunin_plugin_smart_raw","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsio%2Fmunin_plugin_smart_raw/lists"}