Module: check_mk
Branch: master
Commit: 7b9a19a56b6e7ae910a32df70a79f1356bb22a54
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=7b9a19a56b6e7a…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Jun 7 10:41:35 2016 +0200
Added deprecation warning to setup.sh
---
scripts/setup.sh | 50 +++++++++++++++++++++++++++++++++++++++-----------
1 file changed, 39 insertions(+), 11 deletions(-)
diff --git a/scripts/setup.sh b/scripts/setup.sh
index c3b7029..19155c2 100755
--- a/scripts/setup.sh
+++ b/scripts/setup.sh
@@ -165,16 +165,7 @@ ask_title ()
}
if [ -z "$YES" ] ; then cat <<EOF
-
-
-
-
-
-
-
-
-
-
+[H[2J
[1;44;37m ____ _ _ __ __ _ __ [0m
[1;44;37m / ___| |__ ___ ___| | __ | \/ | |/ / [0m
[1;44;37m | | | '_ \ / _ \/ __| |/ / | |\/| | ' /
[0m
@@ -182,8 +173,45 @@ if [ -z "$YES" ] ; then cat <<EOF
[1;44;37m \____|_| |_|\___|\___|_|\_\___|_| |_|_|\_\ [0m
[1;44;37m |_____| [0m
[1;44;37m [0m
-[1;45;37m Check_MK setup $(printf "%32s" Version:'
'$VERSION) [0m
+[1;45;37m Check_MK manual setup $(printf "%32s" Version:'
'$VERSION) [0m
+[1;41;33m [0m
+[1;41;33m WARNING [0m
+[1;41;33m [0m
+[1;41;37m The manual setup of Check_MK via ./setup.sh is deprecated and will [0m
+[1;41;37m not be maintained any longer in future. We recommend using the [0m
+[1;41;37m Check_MK Raw Edition packages. These have many advantages: [0m
+[1;41;37m [0m
+[1;41;37m - Very easy installation via a single RPM/DEB package [0m
+[1;41;37m - Contains fully integrated complete monitoring environment [0m
+[1;41;37m - Does not need installation of Nagios, PNP4Nagios or plugins [0m
+[1;41;37m - Supports multiple versions of Check_MK at the same time [0m
+[1;41;37m - Supports multiple monitoring instances on one server [0m
+[1;41;37m - Actively maintainained by the Check_MK project [0m
+[1;41;37m [0m
+[1;44;37m [0m
+[1;44;37m You can download the Check_MK Raw Edition for free here: [0m
+[1;44;33m [0m
+[1;44;36m
http://mathias-kettner.com/download [0m
+[1;44;37m [0m
+[1;44;37m Installation instructions are here: [0m
+[1;44;37m [0m
+[1;44;36m
http://mathias-kettner.com/cms_introduction_packages.html [0m
+[1;44;37m [0m
+
+EOF
+
+echo -n "Are you sure you want to proceed with manual setup [no]? "
+if [ "$YES" != yes ]
+then
+ read YESNO
+ [ "${YESNO:0:1}" = y -o "${YESNO:0:1}" = Y ] || {
+ echo "Aborted."
+ exit
+ }
+fi
+clear
+cat << EOF
Welcome to Check_MK. This setup will install Check_MK into user defined
directories. If you run this script as root, installation paths below