[Pkg-nagios-changes] [SCM] UNNAMED PROJECT branch, master, updated. 016db4e7560fc8ef5ccdb6357745ef691650d94a
David GUENAULT
dguenault at monitoring-fr.org
Wed Nov 16 10:03:08 UTC 2011
The following commit has been merged in the master branch:
commit f6845c7961014337252b525611530516ac93ee61
Author: David GUENAULT <dguenault at monitoring-fr.org>
Date: Thu Nov 10 10:25:59 2011 +0100
ADD macro for enabling npcdmod
diff --git a/contrib/alternative-installation/shinken-install/tools/macros/enable_npcd.macro b/contrib/alternative-installation/shinken-install/tools/macros/enable_npcd.macro
new file mode 100644
index 0000000..aeb1f3c
--- /dev/null
+++ b/contrib/alternative-installation/shinken-install/tools/macros/enable_npcd.macro
@@ -0,0 +1,10 @@
+# Enable and configure ndo mysql broker module
+# Arguments are :
+# ARG1 : npcd.cfg path
+setconfigfile /opt/shinken/etc/shinken-specific.cfg
+setauthfile /root/shinken/contrib/alternative-installation/shinken-install/tools/macros/auth
+setparam config_file=ARG1 from module where module_type=npcdmod
+getdirective modules from broker where broker_name=broker-1
+setparam modules=LAST,NPCDMOD from broker where broker_name=broker-1
+writeconfig
+sync
--
UNNAMED PROJECT
More information about the Pkg-nagios-changes
mailing list