aboutsummaryrefslogtreecommitdiffstats
path: root/src/dma/sampleconf/demo-memory-linearreg/evaluator.conf
diff options
context:
space:
mode:
authorToshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>2018-09-06 09:04:29 +0000
committerToshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>2018-09-07 06:03:01 +0000
commitd61931341176dad9ccff7c967a10d88fe54218fa (patch)
tree526457882d4abe0c38d2242d6daa311bf8ef51cf /src/dma/sampleconf/demo-memory-linearreg/evaluator.conf
parent73abc060f31a6bf866fa1dad0a1a6efdfd94d775 (diff)
src: Add DMA localagent
Change-Id: Ibcee814fbc9a904448eeb368a1a26bbb69cf54aa Signed-off-by: Toshiaki Takahashi <takahashi.tsc@ncos.nec.co.jp>
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>