Module: check_mk
Branch: master
Commit: dbabe349caa26432e2407885c0c8ab5ed4822766
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=dbabe349caa264…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Tue Mar 22 16:27:22 2011 +0100
Added README for setup in OMD
---
doc/README.setup_in_omd | 28 ++++++++++++++++++++++++++++
1 files changed, 28 insertions(+), 0 deletions(-)
diff --git a/doc/README.setup_in_omd b/doc/README.setup_in_omd
new file mode 100644
index 0000000..7ba6ed7
--- /dev/null
+++ b/doc/README.setup_in_omd
@@ -0,0 +1,28 @@
+How to install Check_MK into an exisiting OMD site
+==================================================
+This feature is experimental: You can install Check_MK
+into an existing OMD site by unpacking the installation
+tarball and running ./setup --yes as OMD site user.
+This will install Check_MK into the site's local/
+filesystem hierarchy.
+
+After that relogin (to make sure the shell really
+executes the new cmk command) and do a cmk -U in order
+to re-create your Nagios configuration.
+
+Uninstalling must be done manually. This can be
+done with the following commands provided that no
+other files you need are lying around below local!
+Use at your own risk!
+
+omd stop
+cd ~
+find local -type f | xargs rm
+cd etc/apache/conf.d
+ln -sfn ../../check_mk/apache.conf check_mk.conf
+cd ~/etc/nagios/nagios.d
+ln -sfn ../../mk-livestatus/nagios.cfg mk-livestatus.cfg
+rm -f ~/etc/check_mk/apache-local.conf
+rm -f ~/etc/mk-livestatus/nagios-local.cfg
+cmk -U
+omd start