summaryrefslogtreecommitdiff
path: root/package/icinga
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-12-03 19:00:32 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2011-12-03 19:00:32 +0100
commitbde54d74d3750f9a9ca8645f87fdd42cf72031ce (patch)
tree09cc2f181ab7d94422fd9c1b9431adca68e1a412 /package/icinga
parent3c94b637eab856c325988f66036fa4ea183c1bbc (diff)
uncomment non-existing plugins
Diffstat (limited to 'package/icinga')
-rw-r--r--package/icinga/Makefile4
-rw-r--r--package/icinga/files/icinga.init2
-rw-r--r--package/icinga/src/etc/icinga/objects/commands.cfg16
3 files changed, 11 insertions, 11 deletions
diff --git a/package/icinga/Makefile b/package/icinga/Makefile
index 4a0d2cf98..0486c495c 100644
--- a/package/icinga/Makefile
+++ b/package/icinga/Makefile
@@ -20,8 +20,8 @@ $(eval $(call PKG_template,ICINGA,icinga,$(PKG_VERSION)-${PKG_RELEASE},${PKG_DEP
CONFIGURE_ARGS+= --sysconfdir=/etc/icinga
icinga-install:
- $(INSTALL_DIR) $(IDIR_ICINGA)/etc
- $(CP) ./src/etc/icinga $(IDIR_ICINGA)/etc
+ $(INSTALL_DIR) $(IDIR_ICINGA)/etc/icinga/modules
+ $(CP) ./src/etc/icinga/* $(IDIR_ICINGA)/etc/icinga
$(INSTALL_DIR) $(IDIR_ICINGA)/usr/bin
$(INSTALL_BIN) $(WRKINST)/usr/bin/icinga \
$(IDIR_ICINGA)/usr/bin
diff --git a/package/icinga/files/icinga.init b/package/icinga/files/icinga.init
index 239175ff2..e66944522 100644
--- a/package/icinga/files/icinga.init
+++ b/package/icinga/files/icinga.init
@@ -21,7 +21,7 @@ start)
icinga -d /etc/icinga/icinga.cfg
;;
stop)
- kill $(pgrep -f /usr/bin/icinga)
+ kill $(pgrep -f icinga)
;;
restart)
sh $0 stop
diff --git a/package/icinga/src/etc/icinga/objects/commands.cfg b/package/icinga/src/etc/icinga/objects/commands.cfg
index 7e57f3b7c..5f29d7115 100644
--- a/package/icinga/src/etc/icinga/objects/commands.cfg
+++ b/package/icinga/src/etc/icinga/objects/commands.cfg
@@ -72,10 +72,10 @@ define command{
################################################################################
# 'check_local_disk' command definition
-define command{
- command_name check_local_disk
- command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
- }
+#define command{
+# command_name check_local_disk
+# command_line $USER1$/check_disk -w $ARG1$ -c $ARG2$ -p $ARG3$
+# }
# 'check_local_load' command definition
@@ -86,10 +86,10 @@ define command{
# 'check_local_procs' command definition
-define command{
- command_name check_local_procs
- command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$
- }
+#define command{
+# command_name check_local_procs
+# command_line $USER1$/check_procs -w $ARG1$ -c $ARG2$ -s $ARG3$
+# }
# 'check_local_users' command definition