├── .bonsai.yml ├── .github └── PULL_REQUEST_TEMPLATE.md ├── .gitignore ├── .kitchen.yml ├── .rubocop.yml ├── .travis.yml ├── CHANGELOG.md ├── CONTRIBUTING.md ├── Gemfile ├── LICENSE ├── README.md ├── Rakefile ├── bin ├── check-redis-connections-available.rb ├── check-redis-info.rb ├── check-redis-keys.rb ├── check-redis-list-length.rb ├── check-redis-memory-percentage.rb ├── check-redis-memory.rb ├── check-redis-ping.rb ├── check-redis-slave-status.rb ├── metrics-redis-graphite.rb ├── metrics-redis-keys.rb └── metrics-redis-llen.rb ├── lib ├── redis_client_options.rb ├── sensu-plugins-redis.rb └── sensu-plugins-redis │ └── version.rb ├── sensu-plugins-redis.gemspec └── test ├── bin ├── check-redis-connections-available_spec.rb ├── check-redis-info_spec.rb ├── check-redis-keys_spec.rb ├── check-redis-list-length_spec.rb ├── check-redis-memory-percentage_spec.rb ├── check-redis-memory_spec.rb ├── check-redis-ping_spec.rb ├── check-redis-slave-status_spec.rb ├── metrics-redis-graphite_spec.rb ├── metrics-redis-keys_spec.rb └── metrics-redis-llen_spec.rb ├── fixtures └── bootstrap.sh ├── integration ├── helpers │ └── serverspec │ │ ├── check-redis-connections-available_spec.rb │ │ ├── check-redis-info_spec.rb │ │ ├── check-redis-keys_spec.rb │ │ ├── check-redis-list-length_spec.rb │ │ ├── check-redis-memory-percentage_spec.rb │ │ ├── check-redis-memory_spec.rb │ │ ├── check-redis-ping_spec.rb │ │ ├── check-redis-slave-status_spec.rb │ │ ├── metrics-redis-graphite_spec.rb │ │ ├── metrics-redis-llen_spec.rb │ │ ├── shared_spec.rb │ │ └── spec_helper.rb ├── ruby-20 │ └── serverspec │ │ └── default_spec.rb ├── ruby-21 │ └── serverspec │ │ └── default_spec.rb ├── ruby-22 │ └── serverspec │ │ └── default_spec.rb ├── ruby-230 │ └── serverspec │ │ └── default_spec.rb └── ruby-241 │ └── serverspec │ └── default_spec.rb ├── lib └── redis_client_options_spec.rb └── spec_helper.rb /.bonsai.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/.bonsai.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/.gitignore -------------------------------------------------------------------------------- /.kitchen.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/.kitchen.yml -------------------------------------------------------------------------------- /.rubocop.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/.rubocop.yml -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/.travis.yml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/check-redis-connections-available.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/bin/check-redis-connections-available.rb -------------------------------------------------------------------------------- /bin/check-redis-info.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/bin/check-redis-info.rb -------------------------------------------------------------------------------- /bin/check-redis-keys.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/bin/check-redis-keys.rb -------------------------------------------------------------------------------- /bin/check-redis-list-length.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/bin/check-redis-list-length.rb -------------------------------------------------------------------------------- /bin/check-redis-memory-percentage.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/bin/check-redis-memory-percentage.rb -------------------------------------------------------------------------------- /bin/check-redis-memory.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/bin/check-redis-memory.rb -------------------------------------------------------------------------------- /bin/check-redis-ping.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/bin/check-redis-ping.rb -------------------------------------------------------------------------------- /bin/check-redis-slave-status.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/bin/check-redis-slave-status.rb -------------------------------------------------------------------------------- /bin/metrics-redis-graphite.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/bin/metrics-redis-graphite.rb -------------------------------------------------------------------------------- /bin/metrics-redis-keys.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/bin/metrics-redis-keys.rb -------------------------------------------------------------------------------- /bin/metrics-redis-llen.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/bin/metrics-redis-llen.rb -------------------------------------------------------------------------------- /lib/redis_client_options.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/lib/redis_client_options.rb -------------------------------------------------------------------------------- /lib/sensu-plugins-redis.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/lib/sensu-plugins-redis.rb -------------------------------------------------------------------------------- /lib/sensu-plugins-redis/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/lib/sensu-plugins-redis/version.rb -------------------------------------------------------------------------------- /sensu-plugins-redis.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/sensu-plugins-redis.gemspec -------------------------------------------------------------------------------- /test/bin/check-redis-connections-available_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/bin/check-redis-connections-available_spec.rb -------------------------------------------------------------------------------- /test/bin/check-redis-info_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/bin/check-redis-info_spec.rb -------------------------------------------------------------------------------- /test/bin/check-redis-keys_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/bin/check-redis-keys_spec.rb -------------------------------------------------------------------------------- /test/bin/check-redis-list-length_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/bin/check-redis-list-length_spec.rb -------------------------------------------------------------------------------- /test/bin/check-redis-memory-percentage_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/bin/check-redis-memory-percentage_spec.rb -------------------------------------------------------------------------------- /test/bin/check-redis-memory_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/bin/check-redis-memory_spec.rb -------------------------------------------------------------------------------- /test/bin/check-redis-ping_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/bin/check-redis-ping_spec.rb -------------------------------------------------------------------------------- /test/bin/check-redis-slave-status_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/bin/check-redis-slave-status_spec.rb -------------------------------------------------------------------------------- /test/bin/metrics-redis-graphite_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/bin/metrics-redis-graphite_spec.rb -------------------------------------------------------------------------------- /test/bin/metrics-redis-keys_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/bin/metrics-redis-keys_spec.rb -------------------------------------------------------------------------------- /test/bin/metrics-redis-llen_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/bin/metrics-redis-llen_spec.rb -------------------------------------------------------------------------------- /test/fixtures/bootstrap.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/fixtures/bootstrap.sh -------------------------------------------------------------------------------- /test/integration/helpers/serverspec/check-redis-connections-available_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/integration/helpers/serverspec/check-redis-connections-available_spec.rb -------------------------------------------------------------------------------- /test/integration/helpers/serverspec/check-redis-info_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/integration/helpers/serverspec/check-redis-info_spec.rb -------------------------------------------------------------------------------- /test/integration/helpers/serverspec/check-redis-keys_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/integration/helpers/serverspec/check-redis-keys_spec.rb -------------------------------------------------------------------------------- /test/integration/helpers/serverspec/check-redis-list-length_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/integration/helpers/serverspec/check-redis-list-length_spec.rb -------------------------------------------------------------------------------- /test/integration/helpers/serverspec/check-redis-memory-percentage_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/integration/helpers/serverspec/check-redis-memory-percentage_spec.rb -------------------------------------------------------------------------------- /test/integration/helpers/serverspec/check-redis-memory_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/integration/helpers/serverspec/check-redis-memory_spec.rb -------------------------------------------------------------------------------- /test/integration/helpers/serverspec/check-redis-ping_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/integration/helpers/serverspec/check-redis-ping_spec.rb -------------------------------------------------------------------------------- /test/integration/helpers/serverspec/check-redis-slave-status_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/integration/helpers/serverspec/check-redis-slave-status_spec.rb -------------------------------------------------------------------------------- /test/integration/helpers/serverspec/metrics-redis-graphite_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/integration/helpers/serverspec/metrics-redis-graphite_spec.rb -------------------------------------------------------------------------------- /test/integration/helpers/serverspec/metrics-redis-llen_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/integration/helpers/serverspec/metrics-redis-llen_spec.rb -------------------------------------------------------------------------------- /test/integration/helpers/serverspec/shared_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/integration/helpers/serverspec/shared_spec.rb -------------------------------------------------------------------------------- /test/integration/helpers/serverspec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/integration/helpers/serverspec/spec_helper.rb -------------------------------------------------------------------------------- /test/integration/ruby-20/serverspec/default_spec.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'spec_helper' 4 | -------------------------------------------------------------------------------- /test/integration/ruby-21/serverspec/default_spec.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'spec_helper' 4 | -------------------------------------------------------------------------------- /test/integration/ruby-22/serverspec/default_spec.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'spec_helper' 4 | -------------------------------------------------------------------------------- /test/integration/ruby-230/serverspec/default_spec.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'spec_helper' 4 | -------------------------------------------------------------------------------- /test/integration/ruby-241/serverspec/default_spec.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: true 2 | 3 | require 'spec_helper' 4 | -------------------------------------------------------------------------------- /test/lib/redis_client_options_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sensu-plugins/sensu-plugins-redis/HEAD/test/lib/redis_client_options_spec.rb -------------------------------------------------------------------------------- /test/spec_helper.rb: -------------------------------------------------------------------------------- 1 | # frozen_string_literal: false 2 | --------------------------------------------------------------------------------