Werk #10574: mk_redis: Agent plugin for Redis databases
Komponente | Checks & agents |
Titel | mk_redis: Agent plugin for Redis databases |
Datum | 27.11.2019 |
Checkmk Edition | Checkmk Raw (CRE) |
Checkmk-Version | 2.0.0i1 |
Level | Kleine Änderung |
Klasse | Neues Feature |
Kompatibilität | Kompatibel - benötigt kein manuelles Eingreifen |
This plugin gathers the output of the "info" command of redis-cli. You can define the Redis instances to query via an optional config file. The instances names configured within REDIS_INSTANCES define the service description of the resulting checks. If no config file is given, the plugin detects the running Redis instances and HOST:PORT is used for the service description.
/etc/check_mk/mk_redis.cfg
REDIS_INSTANCES=(My_First_Redis My_Second_Redis)
REDIS_HOST_My_First_Redis="127.0.0.1"
REDIS_PORT_My_First_Redis="6380"
REDIS_PASSWORD_My_First_Redis='MYPASSWORD'
REDIS_HOST_My_Second_Redis="127.0.0.1"
REDIS_PORT_My_Second_Redis="6379"