{"id":19583835,"url":"https://github.com/bodsch/check_redis","last_synced_at":"2025-04-23T01:42:34.801Z","repository":{"id":87294570,"uuid":"549502007","full_name":"bodsch/check_redis","owner":"bodsch","description":"monitoring plugin check_redis ","archived":false,"fork":false,"pushed_at":"2023-09-12T03:57:10.000Z","size":21,"stargazers_count":2,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T20:51:13.397Z","etag":null,"topics":["icinga2","icinga2-plugin","monitoring","monitoring-plugins","monitoring-scripts","nagios","redis"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bodsch.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":"2022-10-11T09:27:45.000Z","updated_at":"2023-12-08T17:27:27.000Z","dependencies_parsed_at":null,"dependency_job_id":"f945a5e9-4ffd-4249-973d-f5a993c0b0df","html_url":"https://github.com/bodsch/check_redis","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodsch%2Fcheck_redis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodsch%2Fcheck_redis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodsch%2Fcheck_redis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bodsch%2Fcheck_redis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bodsch","download_url":"https://codeload.github.com/bodsch/check_redis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250354294,"owners_count":21416748,"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":["icinga2","icinga2-plugin","monitoring","monitoring-plugins","monitoring-scripts","nagios","redis"],"created_at":"2024-11-11T07:45:02.290Z","updated_at":"2025-04-23T01:42:34.784Z","avatar_url":"https://github.com/bodsch.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# monitoring check for redis\n\n## dependencies\n\n * `redis` Python(3) library, in debian/ubuntu `python3-redis`\n\n## usage\n\n```\n./check_redis.py --help\nusage: check_redis.py [-h] [-H HOST] [-p PORT] [-P PASSWORD] [-d DBNAME] [-t TIMEOUT] [-w WARNING] [-c CRITICAL] [-k KEY_VALUE]\n\nmonitoring plugin for redis-server\n\noptions:\n  -h, --help            show this help message and exit\n  -H HOST, --host HOST  Redis server to connect to. (default is 127.0.0.1)\n  -p PORT, --port PORT  Redis port to connect to. (default is 6379)\n  -P PASSWORD, --password PASSWORD\n                        Redis password to connect to.\n  -d DBNAME, --dbname DBNAME\n                        Redis database name (default is db0)\n  -t TIMEOUT, --timeout TIMEOUT\n                        Number of seconds to wait before timing out and considering redis down\n  -w WARNING, --warning WARNING\n                        Warning threshold.\n  -c CRITICAL, --critical CRITICAL\n                        Critical threshold.\n  -k KEY_VALUE, --key KEY_VALUE\n                        Stat to monitor (memory_mb, hit_ratio, or custom)\n```\n\n## examples\n\n```\n./check_redis.py\nOK REDIS version: 7.0.5, connected_clients: 1, db0: 1, used_memory_human: 672.77K, uptime_in_days: 2\n```\n\n```\n./check_redis.py --key hit_ratio --critical 0 --warning 1\nOK: Redis hit_ratio is 0 || hit_ratio=0;1;0;0;0\n```\n\n```\n./check_redis.py --key memory_mb --critical 1 --warning 3\nOK: Redis memory_mb is 8.98046875 || memory_mb=8.98046875;3;1;0;8.98046875\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodsch%2Fcheck_redis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbodsch%2Fcheck_redis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbodsch%2Fcheck_redis/lists"}