summaryrefslogtreecommitdiff
path: root/example/site_check_mk/files/parents.mk
diff options
context:
space:
mode:
authorMatt Taggart <taggart@riseup.net>2016-05-30 16:40:10 -0700
committerMatt Taggart <taggart@riseup.net>2016-05-30 16:40:10 -0700
commit1095c6616dc9cd0aaedf611b7da3c1fc56dd2e5f (patch)
tree1aad763aa4a09ae4b6d5444d6ffb53fdb55bc50c /example/site_check_mk/files/parents.mk
parentdc9d8cca10d64ab7027f6c876a3bc89e19cf4639 (diff)
provide an example site_check_mk with basic examples to get users started
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" ] ),
+]