From 7f4cf9af4b5ea20ae5934ac05f3ae36b0cfeca14 Mon Sep 17 00:00:00 2001 From: Doug Le Tough Date: Sun, 23 Jul 2017 07:13:49 +0200 Subject: [PATCH] "MaJ expl_check_all_nrpe.sh" --- bin/expl_check_all_nrpe.sh | 4 ++-- conf/expl_check_all_nrpe.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/expl_check_all_nrpe.sh b/bin/expl_check_all_nrpe.sh index b1adfeb..0c069aa 100755 --- a/bin/expl_check_all_nrpe.sh +++ b/bin/expl_check_all_nrpe.sh @@ -25,7 +25,7 @@ #------------------------------------------------------------------------------------------------------------------ # Liste des paramètres de configuration: # -# IRCBOT=/usr/local/bin/tetalab/ircbot.py +# IRC_BOT=/usr/local/bin/tetalab/ircbot.py # NRPE_CHECK_PATH=/etc/nagios/nrpe/ # NRPE_CHECK_BIN=/usr/libexec/nagios/check_nrpe # INFRA_SERVER=sousetsuken.local.tetalab.org @@ -146,7 +146,7 @@ function check_all function send_message { if [ ${#MESSAGE} -gt 0 ]; then - ${IRCBOT} "${MESSAGE}" + ${IRC_BOT} "${MESSAGE}" fi } diff --git a/conf/expl_check_all_nrpe.conf b/conf/expl_check_all_nrpe.conf index b651ebd..7cf6cf9 100644 --- a/conf/expl_check_all_nrpe.conf +++ b/conf/expl_check_all_nrpe.conf @@ -1,4 +1,4 @@ -IRCBOT=/usr/local/bin/tetalab/ircbot.py +IRC_BOT=/usr/local/bin/tetalab/ircbot.py NRPE_CHECK_PATH=/etc/nagios/nrpe/ NRPE_CHECK_BIN=/usr/libexec/nagios/check_nrpe INFRA_SERVER=sousetsuken.local.tetalab.org