diff options
-rw-r--r-- | files/agent/local_checks/all_hosts/README.md | 2 | ||||
-rw-r--r-- | manifests/agent/local_checks.pp | 11 |
2 files changed, 13 insertions, 0 deletions
diff --git a/files/agent/local_checks/all_hosts/README.md b/files/agent/local_checks/all_hosts/README.md new file mode 100644 index 0000000..f5234cb --- /dev/null +++ b/files/agent/local_checks/all_hosts/README.md @@ -0,0 +1,2 @@ +Place local checks in this directory, +see http://mathias-kettner.de/checkmk_localchecks.html diff --git a/manifests/agent/local_checks.pp b/manifests/agent/local_checks.pp new file mode 100644 index 0000000..04896b0 --- /dev/null +++ b/manifests/agent/local_checks.pp @@ -0,0 +1,11 @@ +class check_mk::agent::local_checks{ + file { '/usr/lib/check_mk_agent/local': + ensure => directory, + source => [ + 'puppet:///modules/site_check_mk/agent/local_checks/all_hosts', + 'puppet:///modules/check_mk/agent/local_checks/all_hosts' ], + recurse => true, + require => Package['check_mk-agent'], + } + +} |