maybe chown 'icinga' 'icinga/modules'
maybe chgrp 'icinga' 'icinga/modules'
maybe chmod 0775 'icinga/modules'
+maybe chown 'icinga' 'icinga/modules/flapjack.cfg'
+maybe chgrp 'icinga' 'icinga/modules/flapjack.cfg'
+maybe chmod 0664 'icinga/modules/flapjack.cfg'
maybe chown 'icinga' 'icinga/modules/idoutils.cfg-sample'
maybe chgrp 'icinga' 'icinga/modules/idoutils.cfg-sample'
maybe chmod 0664 'icinga/modules/idoutils.cfg-sample'
+maybe chown 'icinga' 'icinga/modules/livestatus.cfg'
+maybe chgrp 'icinga' 'icinga/modules/livestatus.cfg'
+maybe chmod 0664 'icinga/modules/livestatus.cfg'
+maybe chown 'icinga' 'icinga/modules/mod_gearman.cfg'
+maybe chgrp 'icinga' 'icinga/modules/mod_gearman.cfg'
+maybe chmod 0664 'icinga/modules/mod_gearman.cfg'
+maybe chown 'icinga' 'icinga/modules/pnp4nagios.cfg'
+maybe chgrp 'icinga' 'icinga/modules/pnp4nagios.cfg'
+maybe chmod 0664 'icinga/modules/pnp4nagios.cfg'
maybe chown 'icinga' 'icinga/objects'
maybe chgrp 'icinga' 'icinga/objects'
maybe chmod 0775 'icinga/objects'
# ----> use the new *module definition* instead:
# ----> http://docs.icinga.org/latest/en/objectdefinitions.html
#
-# This directive can be used to specify an event broker module that should
-# by loaded by Icinga at startup. Use multiple directives if you want
-# to load more than one module. Arguments that should be passed to
-# the module at startup are seperated from the module path by a space.
-#
-#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-# WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING
-#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-# Do NOT overwrite modules while they are being used by Icinga or Icinga
-# will crash in a fiery display of SEGFAULT glory.
-#
-# The correct/safe way of updating a module is by using one of these methods:
-# 1. Shutdown Icinga, replace the module file, restart Icinga
-# 2. Delete the original module file, move the new module file into place, restart Icinga
-#
-#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-# WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING
-#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-#
-# IDOUtils idomod.so should be enabled using the module definition,
-# i.e. using a package. First check that, and if not, you can
-# enable it here.
-#
-# ATTENTION: DO NOT load the same module here AND as a module definition.
-# This can lead into problems with races on ressources.
-#
-# Example:
-# broker_module=<modulepath> [moduleargs]
-
-#broker_module=/usr/lib64/idomod.so config_file=/etc/icinga/idomod.cfg
-
+# Example definitions can be found in the '/etc/icinga/modules/' directory.
# LOG ROTATION METHOD
# 100M
max_debug_file_size=100000000
-
-
-
-# EVENT PROFILING - DEPRECATED!
-# This option enables or disables event profiling for stats of event counts
-# and time taken for events. Option can't be used on Solaris with gcc3.
-# Values: 0 - disabled
-# 1 - enabled
-#
-# WARNING: This setting will be deprecated in 1.9 and not developed
-# anymore, as it remains buggy and wasn't really useful for anyone.
-
-event_profiling_enabled=0
# 4 – Bind variables only
# 8 – Wait events only
# 12 – Bind Variables and Wait Events
-
oracle_trace_level=0
+
+
+# TRANSACTIONS
+# This setting determines whether transactions are used. Enabled by default.
+
+use_transactions=1
--- /dev/null
+# ICINGA CONFIG FOR NEB MODULE: FLAPJACK FEEDER
+#
+# In order to have Icinga run the event broker module, you'll need
+# to place a file like this into modules/ by default, and include that
+# directory in your icinga.cfg
+#
+# Note: This is an addon for Icinga 1.x not developed by the Icinga
+# team. You can use this sample config for easier integration.
+
+
+#define module{
+# module_name flapjackfeeder
+# module_type neb
+# path /usr/lib64/flapjackfeeder.o
+# args redis_host=localhost,redis_port=6379
+# }
+
-# ICINGA CONFIG FOR IDOUTILS
+# ICINGA CONFIG FOR NEB MODULE: IDOMOD (PART OF IDOUTILS)
#
-# In order to have Icinga run the IDOMOD event broker module, you'll need
+# In order to have Icinga run the event broker module, you'll need
# to place a file like this into modules/ by default, and include that
# directory in your icinga.cfg
-#
-#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-# WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING
-#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-# Do NOT overwrite modules while they are being used by Icinga or Icinga
-# will crash in a fiery display of SEGFAULT glory.
-#
-# The correct/safe way of updating a module is by using one of these methods:
-# 1. Shutdown Icinga, replace the module file, restart Icinga
-# 2. Delete the original module file, move the new module file into place, restart Icinga
-#
-#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-# WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING !!! WARNING
-#!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
-#
-#
-# ATTENTION: DO NOT load the same module here AND via broker_module in icinga.cfg
-# This can lead into problems with races on ressources.
define module{
--- /dev/null
+# ICINGA CONFIG FOR NEB MODULE: LIVESTATUS
+#
+# In order to have Icinga run the event broker module, you'll need
+# to place a file like this into modules/ by default, and include that
+# directory in your icinga.cfg
+#
+# Note: This is an addon for Icinga 1.x not developed by the Icinga
+# team. You can use this sample config for easier integration.
+
+
+#define module{
+# module_name livestatus
+# module_type neb
+# path /usr/lib64/livestatus.so
+# args /var/lib/icinga/rw/live
+# }
--- /dev/null
+# ICINGA CONFIG FOR NEB MODULE: MOD_GEARMAN
+#
+# In order to have Icinga run the event broker module, you'll need
+# to place a file like this into modules/ by default, and include that
+# directory in your icinga.cfg
+#
+# Note: This is an addon for Icinga 1.x not developed by the Icinga
+# team. You can use this sample config for easier integration.
+
+#define module{
+# module_name mod_gearman
+# module_type neb
+# path /usr/lib64/mod_gearman.o
+# args config_file=/etc/icinga/mod_gearman.conf
+# }
--- /dev/null
+# ICINGA CONFIG FOR NEB MODULE: NPCDMOD (PNP4NAGIOS)
+#
+# In order to have Icinga run the event broker module, you'll need
+# to place a file like this into modules/ by default, and include that
+# directory in your icinga.cfg
+#
+# Note: This is an addon for Icinga 1.x not developed by the Icinga
+# team. You can use this sample config for easier integration.
+
+
+#define module{
+# module_name npcdmod
+# module_type neb
+# path /usr/lib64/npcdmod.o
+# args config_file=/etc/icinga/npcd.cfg
+# }