From b7457a9723148e07b11d10b8d942c718a13f267e Mon Sep 17 00:00:00 2001 From: gcolpart Date: Mon, 26 Aug 2019 11:26:13 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20plus=20pr=C3=A9cis=20exemple=20du=20che?= =?UTF-8?q?ck=5Fredis.pl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- HowtoRedis.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HowtoRedis.md b/HowtoRedis.md index 56c67bfd..796eda2f 100644 --- a/HowtoRedis.md +++ b/HowtoRedis.md @@ -511,7 +511,7 @@ Depuis *Debian Stretch*, un check redis a été ajouté dans le paquet `nagios-p ~~~ # apt install libredis-perl nagios-plugins-contrib $ /usr/lib/nagios/plugins/check_redis -H 127.0.0.1 -OK: REDIS 3.2.6 on 127.0.0.1:6379 has 0 databases (), up 17 hours 56 minutes +OK: REDIS 3.2.6 on 127.0.0.1:6379 has 42 databases (foo00,foo01,foo01...) with 179927 keys, up 17 hours 56 minutes ~~~ Sur *Debian Jessie*, il n'y a pas de check redis embarqué. A place, on peut faire un check Nagios « basique » consistant à initier une connexion TCP sur le socket unix du serveur Redis, et s'assurer qu'il répond bien :