Module: check_mk
Branch: master
Commit: 295df36241362e20cd77fedb8f47fd21ca2f0253
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=295df36241362e…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Apr 15 14:27:34 2013 +0200
setup: Added missing vars rrd_path and rrdcached_sock
---
ChangeLog | 1 +
scripts/setup.sh | 10 ++++++++++
2 files changed, 11 insertions(+)
diff --git a/ChangeLog b/ChangeLog
index 65703eb..3d1c2dd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -6,6 +6,7 @@
an alternative host check command (without manually defining one)
* New variable snmp_check_interval which can be used to customize
the check intervals of SNMP based checks
+ * setup: Added missing vars rrd_path and rrdcached_sock
Multisite:
* New availability view for arbitrary host/service collections
diff --git a/scripts/setup.sh b/scripts/setup.sh
index c57f531..487d95e 100755
--- a/scripts/setup.sh
+++ b/scripts/setup.sh
@@ -375,6 +375,14 @@ Those templates make the history graphs look nice. PNP4Nagios
expects such templates in the directory pnp/templates in your
document root for static web pages"
+ask_dir rrd_path /var/lib/nagios/rrd $HOMEBASEDIR/var/nagios/rrd
$OMD_ROOT/var/pnp4nagios/perfdata "RRD files" \
+ "Configure the directory PNP4Nagios stores the RRD database files in"
+
+ask_dir rrdcached_socket /tmp/rrdcached.sock $HOMEBASEDIR/var/rrdcached.sock
$OMD_ROOT/tmp/run/rrdached.sock "rrdcached socket" \
+ "If you use the rrdcached to process performance data from Nagios,
+you can configure the socket of the rrdcached here to make the prediction
+feature use it"
+
# -------------------------------------------------------------------
ask_title "Check_MK Livestatus Module"
# -------------------------------------------------------------------
@@ -483,6 +491,8 @@ tcp_cache_dir = '$vardir/cache'
tmp_dir = '$vardir/tmp'
logwatch_dir = '$vardir/logwatch'
nagios_objects_file = '$nagconfdir/check_mk_objects.cfg'
+rrd_path = '$rrd_path'
+rrddcached_socket = '$rrdcached_socket'
nagios_command_pipe_path = '$nagpipe'
check_result_path = '$check_result_path'
nagios_status_file = '$nagios_status_file'