Code

Add example configuration file.
authorFlorian Forster <ff@octo.it>
Tue, 15 Jun 2010 12:03:40 +0000 (14:03 +0200)
committerFlorian Forster <octo@leeloo.lan.home.verplant.org>
Tue, 15 Jun 2010 12:03:40 +0000 (14:03 +0200)
collection.conf [new file with mode: 0644]

diff --git a/collection.conf b/collection.conf
new file mode 100644 (file)
index 0000000..5375a26
--- /dev/null
@@ -0,0 +1,176 @@
+<Graph>
+  Host "/any/"
+  Plugin "cpu"
+  PluginInstance "/any/"
+  Type "cpu"
+  TypeInstance "/all/"
+
+  Title "CPU utilization"
+  VerticalLabel "Jiffies"
+
+  <DEF>
+    TypeInstance "idle"
+    DSName "value"
+    Legend "Idle   "
+    Color "e8e8e8"
+    Area true
+    Stack true
+    #Format "%lf"
+  </DEF>
+  <DEF>
+    TypeInstance "nice"
+    DSName "value"
+    Legend "Nice   "
+    Color "00e000"
+    Area true
+    Stack true
+    #Format "%lf"
+  </DEF>
+  <DEF>
+    TypeInstance "user"
+    DSName "value"
+    Legend "User   "
+    Color "0000ff"
+    Area true
+    Stack true
+    #Format "%lf"
+  </DEF>
+  <DEF>
+    TypeInstance "wait"
+    DSName "value"
+    Legend "Wait-IO"
+    Color "ffb000"
+    Area true
+    Stack true
+    #Format "%lf"
+  </DEF>
+  <DEF>
+    TypeInstance "system"
+    DSName "value"
+    Legend "System "
+    Color "ff0000"
+    Area true
+    Stack true
+    #Format "%lf"
+  </DEF>
+  <DEF>
+    TypeInstance "softirq"
+    DSName "value"
+    Legend "SoftIRQ"
+    Color "ff00ff"
+    Area true
+    Stack true
+    #Format "%lf"
+  </DEF>
+  <DEF>
+    TypeInstance "interrupt"
+    DSName "value"
+    Legend "IRQ    "
+    Color "a000a0"
+    Area true
+    Stack true
+    #Format "%lf"
+  </DEF>
+  <DEF>
+    TypeInstance "steal"
+    DSName "value"
+    Legend "Steal  "
+    Color "000000"
+    Area true
+    Stack true
+    #Format "%lf"
+  </DEF>
+</Graph>
+
+<Graph>
+  Host "/any/"
+  Plugin "disk"
+  PluginInstance "/any/"
+  Type "disk_octets"
+  TypeInstance ""
+
+  Title "Disk octets"
+
+  <DEF>
+    DSName "read"
+    Legend "Read "
+    Color "0000ff"
+  </DEF>
+  <DEF>
+    DSName "write"
+    Legend "Write"
+    Color "00bf00"
+  </DEF>
+</Graph>
+
+<Graph>
+  Host "/any/"
+  Plugin "memory"
+  PluginInstance ""
+  Type "memory"
+  TypeInstance "/all/"
+
+  Title "Memory utilization"
+  VerticalLabel "Bytes"
+</Graph>
+
+<Graph>
+  Host "/any/"
+  Plugin "swap"
+  PluginInstance ""
+  Type "swap"
+  TypeInstance "/all/"
+
+  Title "Swap utilization"
+  VerticalLabel "Bytes"
+</Graph>
+
+<Graph>
+  Host "/any/"
+  Plugin "processes"
+  PluginInstance ""
+  Type "ps_state"
+  TypeInstance "/all/"
+
+  Title "Processes"
+  VerticalLabel "Processes"
+
+  <DEF>
+    TypeInstance "paging"
+    DSName "value"
+    Legend "Paging  "
+    Color "ffb000"
+  </DEF>
+  <DEF>
+    TypeInstance "blocked"
+    DSName "value"
+    Legend "Blocked "
+    Color "ff00ff"
+  </DEF>
+  <DEF>
+    TypeInstance "zombies"
+    DSName "value"
+    Legend "Zombies "
+    Color "ff0000"
+  </DEF>
+  <DEF>
+    TypeInstance "stopped"
+    DSName "value"
+    Legend "Stopped "
+    Color "a000a0"
+  </DEF>
+  <DEF>
+    TypeInstance "running"
+    DSName "value"
+    Legend "Running "
+    Color "00e000"
+  </DEF>
+  <DEF>
+    TypeInstance "sleeping"
+    DSName "value"
+    Legend "Sleeping"
+    Color "0000ff"
+  </DEF>
+</Graph>
+
+