{"id":22064551,"url":"https://github.com/josef-friedrich/monitoring-plugins","last_synced_at":"2026-05-20T07:03:02.301Z","repository":{"id":72532606,"uuid":"67672539","full_name":"Josef-Friedrich/monitoring-plugins","owner":"Josef-Friedrich","description":"Monitoring plugins I can’t find on the internet, so I decided to write it on my own.","archived":false,"fork":false,"pushed_at":"2018-07-09T20:34:57.000Z","size":41,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-31T10:48:35.217Z","etag":null,"topics":["monitoring-plugins","shell"],"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/Josef-Friedrich.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":"2016-09-08T05:47:11.000Z","updated_at":"2019-08-07T08:00:04.000Z","dependencies_parsed_at":"2023-05-24T11:00:11.159Z","dependency_job_id":null,"html_url":"https://github.com/Josef-Friedrich/monitoring-plugins","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Josef-Friedrich/monitoring-plugins","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Josef-Friedrich%2Fmonitoring-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Josef-Friedrich%2Fmonitoring-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Josef-Friedrich%2Fmonitoring-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Josef-Friedrich%2Fmonitoring-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Josef-Friedrich","download_url":"https://codeload.github.com/Josef-Friedrich/monitoring-plugins/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Josef-Friedrich%2Fmonitoring-plugins/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":273032886,"owners_count":25034067,"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-08-31T02:00:09.071Z","response_time":79,"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":["monitoring-plugins","shell"],"created_at":"2024-11-30T19:12:38.598Z","updated_at":"2026-05-20T07:03:02.220Z","avatar_url":"https://github.com/Josef-Friedrich.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# monitoring-plugins\n\n## ./check_zpool_scrub\n\n```\ncheck_zpool_scrub v1.1\nCopyright (c) 2016-2018 Josef Friedrich \u003cjosef@friedrich.rocks\u003e\n\nMonitoring plugin to check how long ago the last ZFS scrub was performed.\n\n\nUsage: check_zpool_scrub \u003coptions\u003e\n\nOptions:\n -c, --critical=OPT_CRITICAL\n    Interval in seconds for critical state.\n -p,--pool=OPT_POOL\n    Name of the pool\n -h, --help\n    Show this help.\n -r, --sudo\n    Run 'zpool history' with the help of sudo.\n -s, --short-description\n    Show a short description / summary.\n -v, --version\n    Show the version number.\n -w, --warning=OPT_WARNING\n    Interval in seconds for warning state. Must be lower than -c.\n\nPerformance data:\n - last_ago\n    Time interval in seconds for last scrub.\n - warning\n    Interval in seconds.\n - critical\n    Interval in seconds.\n - progress\n    Percent 0 - 100\n - speed\n    MB per second\n - time\n    Time to go in minutes\n\n```\n\n\n## ./check_unattended_upgrades\n\n```\ncheck_unattended_upgrades v1.2\nCopyright (c) 2015-2018 Josef Friedrich \u003cjosef@friedrich.rocks\u003e\n\nMonitoring plugin to check automatic updates (unattended-upgrades) on Debian / Ubuntu.\n\n\nUsage: check_unattended_upgrades \u003coptions\u003e\n\nOptions:\n -A, --anacron\n    Check if the package 'anacron' is installed.\n -a, --autoclean\n    Check if the configuration 'APT::Periodic::AutocleanInterval' is set\n    properly.\n -c, --critical\n    Time interval since the last execution to result in a critical state\n    (seconds).\n -D, --short-description\n    Show a short description of this check plugin.\n -d, --download\n    Check if the configuration 'APT::Periodic:Download-Upgradeable-Packages'\n    is set properly.\n -e, --enable\n    Check if the configuration 'APT::Periodic::Enable' is set properly.\n -h, --help\n    Show this help message.\n -l, --lists\n    Check if the configuration 'APT::Periodic::Update-Package-Lists' is set\n    properly.\n -m, --mail\n    Check if the configuration 'Unattended-Upgrade::Mail' is set properly.\n -p, --repo\n    Check if 'Unattended-upgrades' is configured to include the specified\n    custom repository.\n -R, --reboot\n    Check if the machine needs a reboot.\n -r, --remove\n    Check if the configuration 'Unattended-Upgrade::Remove-Unused-\n    Dependencies' is set properly.\n -S, --security\n    Check if 'Unattended-upgrades' is configured to handle security updates.\n -s, --sleep\n    Check if the configuration 'APT::Periodic::RandomSleep' is set properly.\n -u, --unattended\n    Check if the configuration 'APT::Periodic::Unattended-Upgrade' is set\n    properly.\n -v, --version\n    Show the version number.\n -w, --warning\n    Time interval since the last execution to result in a warning state\n    (seconds).\n\nPerformance data:\n  - last_ago\n      Time interval in seconds for last unattended-upgrades execution.\n  - warning\n      Interval in seconds.\n  - critical\n      Interval in seconds.\n\n```\n\n\n## ./check_zfs_snapshot\n\n```\ncheck_zfs_snapshot v1.1\nCopyright (c) 2016-2018 Josef Friedrich \u003cjosef@friedrich.rocks\u003e\n\nMonitoring plugin to check how long ago the last snapshot of a ZFS dataset was created.\n\n\nUsage: check_zfs_snapshot \u003coptions\u003e\n\nOptions:\n -c, --critical=OPT_CRITICAL\n    Interval in seconds for critical state.\n -d, --dataset=OPT_DATASET\n    The ZFS dataset to check.\n -h, --help\n    Show this help.\n -s, --short-description\n    Show a short description of the command.\n -v, --version\n    Show the version number.\n -w, --warning=OPT_WARNING\n    Interval in seconds for warning state. Must be lower than -c\n\nPerformance data:\n - last_ago\n    Time interval in seconds for last snapshot.\n - warning\n    Interval in seconds.\n - critical\n    Interval in seconds.\n - snapshot_count\n    How many snapshot exists in the given dataset and all child\n    datasets exists.\n\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosef-friedrich%2Fmonitoring-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjosef-friedrich%2Fmonitoring-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjosef-friedrich%2Fmonitoring-plugins/lists"}