aboutsummaryrefslogtreecommitdiffstats
path: root/src/dma/sampleconf/demo-memory-linearreg/evaluator.conf
diff options
context:
space:
mode:
Diffstat (limited to 'src/dma/sampleconf/demo-memory-linearreg/evaluator.conf')
-rw-r--r--src/dma/sampleconf/demo-memory-linearreg/evaluator.conf35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/dma/sampleconf/demo-memory-linearreg/evaluator.conf b/src/dma/sampleconf/demo-memory-linearreg/evaluator.conf
new file mode 100644
index 00000000..59af25b4
--- /dev/null
+++ b/src/dma/sampleconf/demo-memory-linearreg/evaluator.conf
@@ -0,0 +1,35 @@
+LoadPlugin threshold
+<Plugin "threshold">
+ <Host "localhost">
+ <Plugin "dma">
+ <Type "memory">
+ WarningMax 7000000000
+ Hits 5
+ </Type>
+ </Plugin>
+ </Host>
+</Plugin>
+
+LoadPlugin match_regex
+LoadPlugin match_value
+<Chain "PostCache">
+ <Rule "write_dma">
+ <Match "regex">
+ Plugin "dma"
+ #Type "^memory$"
+ #TypeInstance "^show_"
+ </Match>
+ <Match "value">
+ Min 7000000000
+ </Match>
+ <Target "write">
+ Plugin "write_http/mynode"
+ </Target>
+ </Rule>
+ <Target "write">
+ Plugin "write_redis/mynode"
+ </Target>
+ <Target "write">
+ Plugin "threshold"
+ </Target>
+</Chain>