summaryrefslogtreecommitdiff
path: root/example.yaml
diff options
context:
space:
mode:
authorKeith Burdis <keith@burdis.org>2013-03-25 15:05:48 +0000
committerKeith Burdis <keith@burdis.org>2013-03-25 15:05:48 +0000
commite80242ded5da605f7374adbef77700c3b0022cd5 (patch)
tree16469e61870be3aa85ee55841b43ab2372243c43 /example.yaml
parent2cfd8d3040f15aa791de2b5b0ffa775bec422ae9 (diff)
Example real-world config.
Diffstat (limited to 'example.yaml')
-rw-r--r--example.yaml30
1 files changed, 30 insertions, 0 deletions
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}'
+