Code

Re-enable the varnish plugin
[pkg-collectd.git] / debian / collectd.conf
index 2e1bf5fd3982e284bb7bb7c01cb1bdc656186ab5..6bb8516f40bf2d993295e40042564551ac20b44c 100644 (file)
@@ -188,6 +188,7 @@ LoadPlugin swap
 #LoadPlugin uptime
 LoadPlugin users
 #LoadPlugin uuid
+#LoadPlugin varnish
 #LoadPlugin virt
 #LoadPlugin vmem
 #LoadPlugin vserver
@@ -1301,6 +1302,42 @@ LoadPlugin users
 #      UUIDFile "/etc/uuid"
 #</Plugin>
 
+#<Plugin varnish>
+#   This tag support an argument if you want to
+#   monitor the local instance just use </Instance>
+#   If you prefer defining another instance you can do
+#   so by using <Instance "myinstance">
+#   <Instance>
+#      CollectBackend true
+#      CollectBan false           # Varnish 3 and above
+#      CollectCache true
+#      CollectConnections true
+#      CollectDirectorDNS false   # Varnish 3 only
+#      CollectESI false
+#      CollectFetch false
+#      CollectHCB false
+#      CollectObjects false
+#      CollectPurge false         # Varnish 2 only
+#      CollectSession false
+#      CollectSHM true
+#      CollectSMA false           # Varnish 2 & 4 only
+#      CollectSMS false
+#      CollectSM false            # Varnish 2 only
+#      CollectStruct false
+#      CollectTotals false
+#      CollectUptime false        # Varnish 3 and above
+#      CollectVCL false
+#      CollectVSM false           # Varnish 4 only
+#      CollectWorkers false
+#      CollectLock false          # Varnish 4 only
+#      CollectMempool false       # Varnish 4 only
+#      CollectManagement false    # Varnish 4 only
+#      CollectSMF false           # Varnish 4 only
+#      CollectVBE false           # Varnish 4 only
+#      CollectMSE false           # Varnish-Plus 4 only
+#   </Instance>
+#</Plugin>
+
 #<Plugin virt>
 #      Connection "xen:///"
 #      RefreshInterval 60