From 385402972a3f4566393faaf28bf09cbcc5191ab0 Mon Sep 17 00:00:00 2001 From: varac Date: Tue, 3 May 2016 21:18:33 +0200 Subject: use inventory_only_on_changes to always run inventory and nagios reload By default ($inventory_only_on_changes set to `true`) these two execs are called only when config files changes: - Exec['check_mk-refresh'] (which inventorizes checks by calling `check_mk -II`) - Exec['check_mk-reload'] (which generates the nagios config and reloads nagios by calling `check_mk -O`) By setting this parameter to `false` these execs will be called on each puppetrun. --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'README.md') diff --git a/README.md b/README.md index a8736f2..81e1bc8 100644 --- a/README.md +++ b/README.md @@ -76,6 +76,12 @@ created making the URL http://hostname/acme/check_mk/ running as the 'acme' user *use_ssh*: Configures ssh to agents that use the same parameter. Default: false. +*inventory_only_on_changes*: By default (parameter set to `true`) these two execs are called + only when config files changes: + - Exec['check_mk-refresh'] (which runs a check inventory by calling `check_mk -II`) + - Exec['check_mk-reload'] (which generates the nagios config and reloads nagios by calling `check_mk -O`) + By setting this parameter to `false` these execs will be called on each puppetrun. + ### Notes * A user and group with the same value as the site parameter is created. By default this is 'monitoring'. -- cgit v1.2.3