src/utils_cgi.c: Complete the fix: The script was moved to the pkg_libdir, too.
[collection4.git] / share / collection.conf
index 3634446..855d15f 100644 (file)
@@ -1,3 +1,5 @@
+CacheFile "/tmp/collection4.json"
+
 <DataProvider "rrdtool">
   DataDir "/var/lib/collectd/rrd"
 </DataProvider>
   ShowZero true
 
   <DEF>
-    DSName "used"
-    Legend "Used"
-    Color "ff0000"
+    DSName "free"
+    Legend "Free"
+    Color "00bf00"
     Area true
     Stack true
     Format "%5.1lf%s"
   </DEF>
   <DEF>
-    DSName "free"
-    Legend "Free"
-    Color "00bf00"
+    DSName "used"
+    Legend "Used"
+    Color "ff0000"
     Area true
     Stack true
     Format "%5.1lf%s"
 
 <Graph>
   Host "/any/"
+  Plugin "ping"
+  PluginInstance ""
+  Type "ping"
+  TypeInstance "/any/"
+
+  Title "Ping (Latency)"
+  VerticalLabel "Seconds"
+
+  <DEF>
+    DSName "value"
+    Legend "Ping"
+    Color "0000ff"
+  </DEF>
+</Graph>
+
+<Graph>
+  Host "/any/"
+  Plugin "ping"
+  PluginInstance ""
+  Type "ping_droprate"
+  TypeInstance "/any/"
+
+  Title "Drop rate"
+  VerticalLabel "Rate"
+
+  <DEF>
+    DSName "value"
+    Legend "Rate"
+    Color "0000ff"
+  </DEF>
+</Graph>
+
+<Graph>
+  Host "/any/"
+  Plugin "ping"
+  PluginInstance ""
+  Type "ping_stddev"
+  TypeInstance "/any/"
+
+  Title "Standard deviation (ping)"
+  VerticalLabel "Std. deviation"
+
+  <DEF>
+    DSName "value"
+    Legend "Std. dev."
+    Color "0000ff"
+  </DEF>
+</Graph>
+
+<Graph>
+  Host "/any/"
   Plugin "processes"
   PluginInstance ""
   Type "ps_state"