{"id":19882431,"url":"https://github.com/derjd/nagios-plugins","last_synced_at":"2026-06-06T13:31:44.509Z","repository":{"id":78324753,"uuid":"63551149","full_name":"derJD/nagios-plugins","owner":"derJD","description":"Collection of check scripts compatible with nagios, nrpe, icinga, icinga2.","archived":false,"fork":false,"pushed_at":"2020-02-22T18:26:44.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-01T03:25:01.434Z","etag":null,"topics":["icinga","icinga2","icinga2-plugins","monitoring-plugins","nagios","nagios-plugins","nrpe-plugins"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/derJD.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-07-17T20:31:02.000Z","updated_at":"2020-02-22T18:26:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"94fa7b4d-d682-45e1-8ed8-7e6895155873","html_url":"https://github.com/derJD/nagios-plugins","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/derJD/nagios-plugins","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derJD%2Fnagios-plugins","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derJD%2Fnagios-plugins/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derJD%2Fnagios-plugins/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derJD%2Fnagios-plugins/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/derJD","download_url":"https://codeload.github.com/derJD/nagios-plugins/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/derJD%2Fnagios-plugins/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33984824,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-06T02:00:07.033Z","response_time":107,"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":["icinga","icinga2","icinga2-plugins","monitoring-plugins","nagios","nagios-plugins","nrpe-plugins"],"created_at":"2024-11-12T17:17:21.423Z","updated_at":"2026-06-06T13:31:44.492Z","avatar_url":"https://github.com/derJD.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# nagios-plugins\nA collection of check scripts compatible with nagios, nrpe, icinga, icinga2.\n\n## HP/MF DataProtector\nScripts for monitoring DataProtector.\n### Requirements\n\n* Ruby \u003e= 1.8.7\n* CentOS/RedHat \u003e= 6\n* Cell Manager \u003e= 6.XX\n\n### check_hpdp_pool_health\nHP DataProtector nagios check for Pool health status\n\n**Example**\n\n```\nroot@dp01:~ # ./check_hpdp_pool_health.rb -h\nUsage: check_hpdp_pool_health.rb [options]\n    -p, --pool \u003cpool_name\u003e           name of pool to check (regex possible)\n    -w \u003cMediacount warning\u003e          Number of media left raising warning\n        --warning\n    -c \u003cMediacount critical\u003e         Number of media left raising critical\n        --critical\n    -h, --help                       Show this help message\nroot@dp01:~ #\n```\n\n* Check all pools containing \"LTO\" in their name\n```\nroot@dp01:~ # ./check_hpdp_pool_health.rb -p LTO\nOK: All media in pool \"LTO-default\" in good shape\nOK: All media in pool \"LTO_freepool\" in good shape\nOK: All media in pool \"LTO-group1\" in good shape\nOK: All media in pool \"LTO-group2\" in good shape\nroot@dp01:~ #\n```\n\n* Check pool with custom mediacount threathold\n```\nroot@dp01:~ # ./check_hpdp_pool_health.rb -p local -c 10\nCRITICAL: Pool \"local\" has less/equal 10 writable media left!\nroot@dp01:~ # ./check_hpdp_pool_health.rb -p local -w 10\nWARNING: Pool \"local\" has less/equal 10 writable media left!\nroot@dp01:~ #\n\n```\n\n### check_hpdp_pool_size\nHP DataProtector nagios check for Pool usage\n\n**Example**\n\n```\nroot@dp01:~ # ./check_hpdp_pool_size.rb --help\nUsage: check_pool.rb [options]\n    -p, --pool \u003cpool_name\u003e           name of pool to check (regex possible)\n    -w, --warning \u003cpercent warning\u003e  Percent space raising warning\n    -c \u003cpercent critical\u003e            Percent space raising critical\n        --critical\n    -f, --filter \u003cfilter string\u003e     string to group pools\n    -h, --help                       Show this help message\nroot@dp01:~ #\n```\n\n* Check single pool\n```\nroot@dp01:~ # ./check_hpdp_pool_size.rb -p ceph_ma1_1weeks\nPool \"ceph_ma1_1weeks\": 10236GB Total; 2102GB (21%) Used | 'Pool Size ceph_ma1_1weeks'=2102GB;7677.0;9212.4;0;10236\nroot@dp01:~ #\n```\n\n* check Loadbalanced pools and filter / merge their usage together:\n```\nroot@dp01:~ # ./check_hpdp_pool_size.rb -p ceph_ma._1weeks -f 1weeks\nPool \"ceph_ma2_1weeks\": 2047GB Total; 0GB (0%) Used | 'Pool Size ceph_ma2_1weeks'=0GB;1535.25;1842.3;0;2047\nPool \"ceph_ma3_1weeks\": 2047GB Total; 2047GB (100%) Used | 'Pool Size ceph_ma3_1weeks'=2047GB;1535.25;1842.3;0;2047\nPool \"ceph_ma1_1weeks\": 10236GB Total; 2102GB (21%) Used | 'Pool Size ceph_ma1_1weeks'=2102GB;7677.0;9212.4;0;10236\nPool \"1weeks\": 14330GB Total; 4148GB (29%) Used | 'Pool Size 1weeks'=4148GB;10747.5;12897.0;0;14330\nroot@dp01:~ #\n```\n\n### check_hpdp_sos_status\nHP DataProtector nagios check for StoreOnceSoftware status\n\n**Example**\n\n```\nroot@dp01:~ # ./check_hpdp_sos_status.rb -h\nUsage: check_hpdp_sos_status.rb [options]\n    -H, --host \u003cSOS Server\u003e          Name of StoreOnceSoftware Server\n    -S, --store \u003cSOS Store\u003e          Name of StoreOnceSoftware Servers Storage\n    -L, --limit \u003cpercent\u003e            Percent of free space\n    -h, --help                       Show this help message\nroot@dp01:~ # \n```\n\n```\nroot@dp01:~ # ./check_hpdp_sos_status.rb -H ma1-dp01.backup.example.com -S B2D_ma1 -L 10\nOK: B2D_ma1 is Online.\nDedupratio: 4.2 : 1\n22.52% of Space left on device\nroot@dp01:~ # \n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderjd%2Fnagios-plugins","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fderjd%2Fnagios-plugins","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fderjd%2Fnagios-plugins/lists"}