summaryrefslogtreecommitdiff
path: root/example/site_check_mk/files/parents.mk
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2016-05-31 07:52:10 +0000
committervarac <varacanero@zeromail.org>2016-05-31 07:52:10 +0000
commit42ba6c23b5b6931f70baa09fc0af3406cc12768e (patch)
treecb926778ee249f3062bdac1b7147467be822409c /example/site_check_mk/files/parents.mk
parent5e6368f34b7b85043c2e47753ae7681343886c40 (diff)
parent1095c6616dc9cd0aaedf611b7da3c1fc56dd2e5f (diff)
Merge branch 'example' into 'master'
provide an example site_check_mk with basic examples to get users started See merge request !15
Diffstat (limited to 'example/site_check_mk/files/parents.mk')
-rw-r--r--example/site_check_mk/files/parents.mk8
1 files changed, 8 insertions, 0 deletions
diff --git a/example/site_check_mk/files/parents.mk b/example/site_check_mk/files/parents.mk
new file mode 100644
index 0000000..1b54083
--- /dev/null
+++ b/example/site_check_mk/files/parents.mk
@@ -0,0 +1,8 @@
+parents = [
+ # all seattle hosts (except those tagged router) have router.example.org
+ # as a parent
+ ( "router.example.org", ["seattle", "!router"], ALL_HOSTS ),
+
+ # KVM host
+ ( "foo.example.org", [ "vm1.example.org", "vm1.example.org" ] ),
+]