summaryrefslogtreecommitdiff
path: root/example/site_check_mk/files/adjust.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/adjust.mk
parent6ffee2d778992b783bd29a1ddeaab61baf6d47aa (diff)
parent15aba17d007e076ea09e50c837081ee1bec1b301 (diff)
Merge remote-tracking branch 'shared/master'HEADmaster
Diffstat (limited to 'example/site_check_mk/files/adjust.mk')
-rw-r--r--example/site_check_mk/files/adjust.mk12
1 files changed, 12 insertions, 0 deletions
diff --git a/example/site_check_mk/files/adjust.mk b/example/site_check_mk/files/adjust.mk
new file mode 100644
index 0000000..5c0566e
--- /dev/null
+++ b/example/site_check_mk/files/adjust.mk
@@ -0,0 +1,12 @@
+# adjust.mk - checks we need to adjust the defaults
+
+## global defaults
+# memory usage (default 150/200%, float val indicates % of physical RAM)
+memused_default_levels = (90.0, 95.0)
+
+## host overrides
+# some check types cannot be adjusted via check_parameters, so we explicitly
+# create redundant checks using host lists or tags
+checks += [
+ ( ['foo.example.org','bar.example.org'], 'cpu.threads', None, (6000, 7000) ),
+]