Werk #11391: Redis agent plugin now supports databases listening on unix sockets
| Component | Checks & agents | ||
| Title | Redis agent plugin now supports databases listening on unix sockets | ||
| Date | Sep 8, 2020 | ||
| Level | Trivial Change | ||
| Class | New Feature | ||
| Compatibility | Compatible - no manual interaction needed | ||
| Checkmk versions & editions |
|
The Redis agent plugin is extendend to support instances listening on unix sockets. They must be explicitly declared on the configuration file, auto-detect feature of the agent does not work in this case. An example of how to define an instance use the socket file as a HOST and then port must be labled unix-socket.
/etc/check_mk/mk_redis.cfg
REDIS_INSTANCES=(MY_socket_Redis)
REDIS_HOST_MY_socket_Redis="/var/redis/redis.sock"
REDIS_PORT_MY_socket_Redis="unix-socket"