From e80242ded5da605f7374adbef77700c3b0022cd5 Mon Sep 17 00:00:00 2001 From: Keith Burdis Date: Mon, 25 Mar 2013 15:05:48 +0000 Subject: Example real-world config. --- example.yaml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 example.yaml (limited to 'example.yaml') diff --git a/example.yaml b/example.yaml new file mode 100644 index 0000000..8f97cfc --- /dev/null +++ b/example.yaml @@ -0,0 +1,30 @@ +# Monitoring Server +check_mk::filestore: 'puppet:///files/check_mk' +check_mk::package: 'omd-0.56-rh60-29.x86_64.rpm' + +check_mk::host_groups: + 'Puppet_Masters': + host_tags: + - 'puppet-master' + + 'My_App': + description: 'My Application' + host_tags: + - 'my-app' + + 'My_DB': + description: 'My Database' + host_tags: + - 'my-db' + +# Monitoring Agent +check_mk::agent::filestore: 'puppet:///files/check_mk' +check_mk::agent::version: '1.2.0p3-1' + +# Set host tags based on built-in and custom facts +check_mk::agent::host_tags: + - '%{envtype}' + - '%{kernel}' + - '%{role}' + - '%{location}' + -- cgit v1.2.3