summaryrefslogtreecommitdiff
path: root/example/site_check_mk/files/parents.mk
diff options
context:
space:
mode:
authorkwadronaut <kwadronaut@leap.se>2018-11-14 11:09:02 +0100
committerkwadronaut <kwadronaut@leap.se>2018-11-14 11:09:02 +0100
commit06b521b6887d33b4cfa650c0d26850c8d1cc0ef8 (patch)
treecaa0bac49dfd2573462acef06b68d2ea69d8cdb8 /example/site_check_mk/files/parents.mk
parent6ffee2d778992b783bd29a1ddeaab61baf6d47aa (diff)
parent15aba17d007e076ea09e50c837081ee1bec1b301 (diff)
Merge remote-tracking branch 'shared/master'HEADmaster
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" ] ),
+]