Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Nagios check_redis in Ruby
branch: master

Merge pull request #7 from kyleslattery/patch-1

Send CRIT message when values are inverted
latest commit 873069d6d9
Vincent Palmer authored
Failed to load latest commit information.
CHANGELOG Bump changelog
LICENSE Added LICENSE closes #8.
README.markdown Add ability to check redis key
check_redis Send CRIT message when values are inverted

README.markdown

Nagios Redis Check

commands.cfg:

define command {
  command_name check_redis
  command_line /path_to_nagios_checks/check_redis.rb $ARG1$ -H $HOSTADDRESS$ -p $ARG2$ -P $ARG3$ -t $ARG4$ -w $ARG5$ -c $ARG6$
}

define command {
  command_name check_redis_key
  command_line /path_to_nagios_checks/check_redis.rb $ARG1$ -K -D $ARG7$ -H $HOSTADDRESS$ -p $ARG2$ -P $ARG3$ -t $ARG4$ -w $ARG5$ -c $ARG6$
}

services.cfg:

define service {
  check_command  check_redis!used_memory!6379!password!5!100000!1048576!2097152
  ...
}

define service {
  check_command  check_redis_key!key!6379!password!5!100000!1048576!2097152!0
  ...
}
Something went wrong with that request. Please try again.