Code

snort plugin: Free md->instance in snort_metric_definition_destroy().
[collectd.git] / src / collectd.conf.in
index 0ef55922fef8fc3599cd6d9a5a7eb4d572e839ff..8065b0304f24b08fcaa0cdd06277d75c10f5ef8a 100644 (file)
 
 #<Plugin "snort">
 #   <Metric "dropped">
-#       TypeInstance "pkt_drop_percent"
-#       DataSourceType "GAUGE"
+#       Type "percent"
+#       Instance "dropped"
 #       Index 1
 #   </Metric>
 #   <Metric "mbps">
-#       TypeInstance "wire_mbits_per_sec.realtime"
-#       DataSourceType "GAUGE"
+#       Type "bytes"
+#       Instance "wire-realtime"
 #       Index 2
 #   </Metric>
 #   <Metric "alerts">
-#       TypeInstance "alerts_per_second"
-#       DataSourceType "GAUGE"
+#       Type "alerts_per_second"
 #       Index 3
 #   </Metric>
 #   <Metric "kpps">
-#       TypeInstance "kpackets_wire_per_sec.realtime"
-#       DataSourceType "GAUGE"
+#       Type "kpackets_wire_per_sec.realtime"
 #       Index 4
 #   </Metric>
 #   <Instance "eth0">
-#       Interface "eth0"
 #       Path "/var/log/snort/snort.stats"
 #       Interval 600
 #       Collect "dropped" "mbps" "alerts" "kpps"