aboutsummaryrefslogtreecommitdiffstats
path: root/src/dma/sampleconf/demo-memory-linearreg/evaluator.conf
blob: 59af25b4e15418fa97089734206ab80c9ea423f7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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>