share/collection.conf: Add configuration for the "tcp_connections" type.
authorFlorian Forster <octo@noris.net>
Wed, 22 Sep 2010 15:36:49 +0000 (17:36 +0200)
committerFlorian Forster <octo@noris.net>
Wed, 22 Sep 2010 15:36:49 +0000 (17:36 +0200)
share/collection.conf

index 855d15f..bff9e3e 100644 (file)
@@ -760,6 +760,126 @@ CacheFile "/tmp/collection4.json"
 
 <Graph>
   Host "/any/"
+  Plugin "tcpconns"
+  PluginInstance "/any/"
+  Type "tcp_connections"
+  TypeInstance "/all/"
+
+  Title "TCP connections"
+  VerticalLabel "Connections"
+
+  <DEF>
+    TypeInstance "LISTEN"
+    DSName "value"
+    Legend "LISTEN     "
+    Color "ff0000"
+    Area true
+    Stack true
+    Format "%6.2lf"
+  </DEF>
+  <DEF>
+    TypeInstance "CLOSING"
+    DSName "value"
+    Legend "CLOSING    "
+    Color "000000"
+    Area true
+    Stack true
+    Format "%6.2lf"
+  </DEF>
+  <DEF>
+    TypeInstance "LAST_ACK"
+    DSName "value"
+    Legend "LAST_ACK   "
+    Color "000080"
+    Area true
+    Stack true
+    Format "%6.2lf"
+  </DEF>
+  <DEF>
+    TypeInstance "CLOSE_WAIT"
+    DSName "value"
+    Legend "CLOSE_WAIT "
+    Color "0000a0"
+    Area true
+    Stack true
+    Format "%6.2lf"
+  </DEF>
+  <DEF>
+    TypeInstance "CLOSE"
+    DSName "value"
+    Legend "CLOSE      "
+    Color "0000f0"
+    Area true
+    Stack true
+    Format "%6.2lf"
+  </DEF>
+  <DEF>
+    TypeInstance "TIME_WAIT"
+    DSName "value"
+    Legend "TIME_WAIT  "
+    Color "ffb000"
+    Area true
+    Stack true
+    Format "%6.2lf"
+  </DEF>
+  <DEF>
+    TypeInstance "FIN_WAIT2"
+    DSName "value"
+    Legend "FIN_WAIT2  "
+    Color "f000a0"
+    Area true
+    Stack true
+    Format "%6.2lf"
+  </DEF>
+  <DEF>
+    TypeInstance "FIN_WAIT1"
+    DSName "value"
+    Legend "FIN_WAIT1  "
+    Color "f000f0"
+    Area true
+    Stack true
+    Format "%6.2lf"
+  </DEF>
+  <DEF>
+    TypeInstance "SYN_RECV"
+    DSName "value"
+    Legend "SYN_RECV   "
+    Color "00e0a0"
+    Area true
+    Stack true
+    Format "%6.2lf"
+  </DEF>
+  <DEF>
+    TypeInstance "SYN_SENT"
+    DSName "value"
+    Legend "SYN_SENT   "
+    Color "00e0ff"
+    Area true
+    Stack true
+    Format "%6.2lf"
+  </DEF>
+  <DEF>
+    TypeInstance "ESTABLISHED"
+    DSName "value"
+    Legend "ESTABLISHED"
+    Color "00e000"
+    Area true
+    Stack true
+    Format "%6.2lf"
+  </DEF>
+  <DEF>
+    TypeInstance "CLOSED"
+    DSName "value"
+    Legend "CLOSED     "
+    Color "0000f0"
+    Area true
+    Stack true
+    Format "%6.2lf"
+  </DEF>
+</Graph>
+
+<Graph>
+  Host "/any/"
   Plugin "users"
   PluginInstance ""
   Type "users"