First sync
This commit is contained in:
20
08-NRPE/script.sh
Normal file
20
08-NRPE/script.sh
Normal file
@ -0,0 +1,20 @@
|
||||
#!/bin/sh
|
||||
# Pour la configuration NRPE
|
||||
|
||||
GREEN='\033[0;32m'
|
||||
YELLOW='\033[1;33m'
|
||||
NOCOLOR='\033[0m'
|
||||
|
||||
echo "${YELLOW} ** ${NOCOLOR} Début du script : 08-nrpe"
|
||||
echo "${NOCOLOR}"
|
||||
|
||||
echo "${YELLOW} * ${NOCOLOR} Installation composant"
|
||||
echo "${NOCOLOR}"
|
||||
|
||||
apt install -y nagios-nrpe-server nagios-nrpe-plugin >> /dev/null
|
||||
|
||||
echo "${YELLOW} * ${NOCOLOR} Installation composant : ${GREEN} OK"
|
||||
echo "${NOCOLOR}"
|
||||
|
||||
echo "${YELLOW} ** ${NOCOLOR} Fin du script : 08-nrpe"
|
||||
echo "${NOCOLOR}"
|
Reference in New Issue
Block a user