File: mod_example.conf

package info (click to toggle)
ganglia-modules-linux 1.3.6-5
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,500 kB
  • sloc: sh: 11,132; ansic: 1,100; makefile: 78
file content (35 lines) | stat: -rw-r--r-- 590 bytes parent folder | download | duplicates (5)
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
modules {
  module {
    name = "example_module"
    path = "/usr/lib/ganglia/modexample.so" 
    params = "An extra raw parameter"
    param RandomMax {
        value = 75
    }
    param ConstantValue {
        value = 25
    }
  }
}


#/* Test DSO metric */ 
collection_group { 
  collect_every = 10 
  time_threshold = 50 
  metric { 
    name = "Random_Numbers"
    title = "Random Numbers Metric"
    value_threshold = 1.0 
  } 
}

collection_group { 
  collect_once = yes 
  time_threshold = 20 
  metric { 
    name = "Constant_Number"
    title = "Constant Number Metric"
  } 
}