Browse Source

"MaJ expl_check_all_nrpe.sh"

master
Doug Le Tough 5 years ago
parent
commit
7f4cf9af4b
  1. 4
      bin/expl_check_all_nrpe.sh
  2. 2
      conf/expl_check_all_nrpe.conf

4
bin/expl_check_all_nrpe.sh

@ -25,7 +25,7 @@ @@ -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 @@ -146,7 +146,7 @@ function check_all
function send_message
{
if [ ${#MESSAGE} -gt 0 ]; then
${IRCBOT} "${MESSAGE}"
${IRC_BOT} "${MESSAGE}"
fi
}

2
conf/expl_check_all_nrpe.conf

@ -1,4 +1,4 @@ @@ -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

Loading…
Cancel
Save