lighthouse.redis.check

class lighthouse.redis.check.RedisCheck(*args, **kwargs)[source]

Bases: lighthouse.checks.tcp.TCPCheck

Redis service checker.

Pings a redis server to make sure that it’s available.

name = 'redis'
classmethod validate_check_config(config)[source]

The base Check class assures that a host and port are configured so this method is a no-op.

apply_check_config(config)[source]

This method doesn’t actually use any configuration data, as the query and response for redis are already established.