Remove superfluous debug statements
[collectd.git] / src / collectd.conf.in
1 #
2 # Config file for collectd(1).
3 # Please read collectd.conf(5) for a list of options.
4 # http://collectd.org/
5 #
6
7 ##############################################################################
8 # Global                                                                     #
9 #----------------------------------------------------------------------------#
10 # Global settings for the daemon.                                            #
11 ##############################################################################
12
13 #Hostname    "localhost"
14 #FQDNLookup   true
15 #BaseDir     "@localstatedir@/lib/@PACKAGE_NAME@"
16 #PIDFile     "@localstatedir@/run/@PACKAGE_NAME@.pid"
17 #PluginDir   "@libdir@/@PACKAGE_NAME@"
18 #TypesDB     "@prefix@/share/@PACKAGE_NAME@/types.db"
19
20 #----------------------------------------------------------------------------#
21 # When enabled, plugins are loaded automatically with the default options    #
22 # when an appropriate <Plugin ...> block is encountered.                     #
23 # Disabled by default.                                                       #
24 #----------------------------------------------------------------------------#
25 #AutoLoadPlugin false
26
27 #----------------------------------------------------------------------------#
28 # Interval at which to query values. This may be overwritten on a per-plugin #
29 # base by using the 'Interval' option of the LoadPlugin block:               #
30 #   <LoadPlugin foo>                                                         #
31 #       Interval 60                                                          #
32 #   </LoadPlugin>                                                            #
33 #----------------------------------------------------------------------------#
34 #Interval     10
35
36 #Timeout      2
37 #ReadThreads  5
38 #WriteThreads 5
39
40 # Limit the size of the write queue. Default is no limit. Setting up a limit is
41 # recommended for servers handling a high volume of traffic.
42 #WriteQueueLimitHigh 1000000
43 #WriteQueueLimitLow   800000
44
45 ##############################################################################
46 # Logging                                                                    #
47 #----------------------------------------------------------------------------#
48 # Plugins which provide logging functions should be loaded first, so log     #
49 # messages generated when loading or configuring other plugins can be        #
50 # accessed.                                                                  #
51 ##############################################################################
52
53 @LOAD_PLUGIN_SYSLOG@LoadPlugin syslog
54 @LOAD_PLUGIN_LOGFILE@LoadPlugin logfile
55
56 #<Plugin logfile>
57 #       LogLevel @DEFAULT_LOG_LEVEL@
58 #       File STDOUT
59 #       Timestamp true
60 #       PrintSeverity false
61 #</Plugin>
62
63 #<Plugin syslog>
64 #       LogLevel @DEFAULT_LOG_LEVEL@
65 #</Plugin>
66
67 ##############################################################################
68 # LoadPlugin section                                                         #
69 #----------------------------------------------------------------------------#
70 # Lines beginning with a single `#' belong to plugins which have been built  #
71 # but are disabled by default.                                               #
72 #                                                                            #
73 # Lines begnning with `##' belong to plugins which have not been built due   #
74 # to missing dependencies or because they have been deactivated explicitly.  #
75 ##############################################################################
76
77 #@BUILD_PLUGIN_AGGREGATION_TRUE@LoadPlugin aggregation
78 #@BUILD_PLUGIN_AMQP_TRUE@LoadPlugin amqp
79 #@BUILD_PLUGIN_APACHE_TRUE@LoadPlugin apache
80 #@BUILD_PLUGIN_APCUPS_TRUE@LoadPlugin apcups
81 #@BUILD_PLUGIN_APPLE_SENSORS_TRUE@LoadPlugin apple_sensors
82 #@BUILD_PLUGIN_AQUAERO_TRUE@LoadPlugin aquaero
83 #@BUILD_PLUGIN_ASCENT_TRUE@LoadPlugin ascent
84 #@BUILD_PLUGIN_BATTERY_TRUE@LoadPlugin battery
85 #@BUILD_PLUGIN_BIND_TRUE@LoadPlugin bind
86 #@BUILD_PLUGIN_CEPH_TRUE@LoadPlugin ceph
87 #@BUILD_PLUGIN_CONNTRACK_TRUE@LoadPlugin conntrack
88 #@BUILD_PLUGIN_CONTEXTSWITCH_TRUE@LoadPlugin contextswitch
89 #@BUILD_PLUGIN_CGROUPS_TRUE@LoadPlugin cgroups
90 @BUILD_PLUGIN_CPU_TRUE@@BUILD_PLUGIN_CPU_TRUE@LoadPlugin cpu
91 #@BUILD_PLUGIN_CPUFREQ_TRUE@LoadPlugin cpufreq
92 @LOAD_PLUGIN_CSV@LoadPlugin csv
93 #@BUILD_PLUGIN_CURL_TRUE@LoadPlugin curl
94 #@BUILD_PLUGIN_CURL_JSON_TRUE@LoadPlugin curl_json
95 #@BUILD_PLUGIN_CURL_XML_TRUE@LoadPlugin curl_xml
96 #@BUILD_PLUGIN_DBI_TRUE@LoadPlugin dbi
97 #@BUILD_PLUGIN_DF_TRUE@LoadPlugin df
98 #@BUILD_PLUGIN_DISK_TRUE@LoadPlugin disk
99 #@BUILD_PLUGIN_DNS_TRUE@LoadPlugin dns
100 #@BUILD_PLUGIN_EMAIL_TRUE@LoadPlugin email
101 #@BUILD_PLUGIN_ENTROPY_TRUE@LoadPlugin entropy
102 #@BUILD_PLUGIN_ETHSTAT_TRUE@LoadPlugin ethstat
103 #@BUILD_PLUGIN_EXEC_TRUE@LoadPlugin exec
104 #@BUILD_PLUGIN_FILECOUNT_TRUE@LoadPlugin filecount
105 #@BUILD_PLUGIN_FSCACHE_TRUE@LoadPlugin fscache
106 #@BUILD_PLUGIN_GMOND_TRUE@LoadPlugin gmond
107 #@BUILD_PLUGIN_HDDTEMP_TRUE@LoadPlugin hddtemp
108 @BUILD_PLUGIN_INTERFACE_TRUE@@BUILD_PLUGIN_INTERFACE_TRUE@LoadPlugin interface
109 #@BUILD_PLUGIN_IPTABLES_TRUE@LoadPlugin iptables
110 #@BUILD_PLUGIN_IPMI_TRUE@LoadPlugin ipmi
111 #@BUILD_PLUGIN_IPVS_TRUE@LoadPlugin ipvs
112 #@BUILD_PLUGIN_IRQ_TRUE@LoadPlugin irq
113 #@BUILD_PLUGIN_JAVA_TRUE@LoadPlugin java
114 #@BUILD_PLUGIN_LIBVIRT_TRUE@LoadPlugin libvirt
115 @BUILD_PLUGIN_LOAD_TRUE@@BUILD_PLUGIN_LOAD_TRUE@LoadPlugin load
116 #@BUILD_PLUGIN_LPAR_TRUE@LoadPlugin lpar
117 #@BUILD_PLUGIN_LVM_TRUE@LoadPlugin lvm
118 #@BUILD_PLUGIN_MADWIFI_TRUE@LoadPlugin madwifi
119 #@BUILD_PLUGIN_MBMON_TRUE@LoadPlugin mbmon
120 #@BUILD_PLUGIN_MD_TRUE@LoadPlugin md
121 #@BUILD_PLUGIN_MEMCACHEC_TRUE@LoadPlugin memcachec
122 #@BUILD_PLUGIN_MEMCACHED_TRUE@LoadPlugin memcached
123 @BUILD_PLUGIN_MEMORY_TRUE@@BUILD_PLUGIN_MEMORY_TRUE@LoadPlugin memory
124 #@BUILD_PLUGIN_MODBUS_TRUE@LoadPlugin modbus
125 #@BUILD_PLUGIN_MULTIMETER_TRUE@LoadPlugin multimeter
126 #@BUILD_PLUGIN_MYSQL_TRUE@LoadPlugin mysql
127 #@BUILD_PLUGIN_NETAPP_TRUE@LoadPlugin netapp
128 #@BUILD_PLUGIN_NETLINK_TRUE@LoadPlugin netlink
129 @LOAD_PLUGIN_NETWORK@LoadPlugin network
130 #@BUILD_PLUGIN_NFS_TRUE@LoadPlugin nfs
131 #@BUILD_PLUGIN_NGINX_TRUE@LoadPlugin nginx
132 #@BUILD_PLUGIN_NOTIFY_DESKTOP_TRUE@LoadPlugin notify_desktop
133 #@BUILD_PLUGIN_NOTIFY_EMAIL_TRUE@LoadPlugin notify_email
134 #@BUILD_PLUGIN_NTPD_TRUE@LoadPlugin ntpd
135 #@BUILD_PLUGIN_NUMA_TRUE@LoadPlugin numa
136 #@BUILD_PLUGIN_NUT_TRUE@LoadPlugin nut
137 #@BUILD_PLUGIN_OLSRD_TRUE@LoadPlugin olsrd
138 #@BUILD_PLUGIN_ONEWIRE_TRUE@LoadPlugin onewire
139 #@BUILD_PLUGIN_OPENVPN_TRUE@LoadPlugin openvpn
140 #@BUILD_PLUGIN_ORACLE_TRUE@LoadPlugin oracle
141 #@BUILD_PLUGIN_PERL_TRUE@<LoadPlugin perl>
142 #@BUILD_PLUGIN_PERL_TRUE@  Globals true
143 #@BUILD_PLUGIN_PERL_TRUE@</LoadPlugin>
144 #@BUILD_PLUGIN_PINBA_TRUE@LoadPlugin pinba
145 #@BUILD_PLUGIN_PING_TRUE@LoadPlugin ping
146 #@BUILD_PLUGIN_POSTGRESQL_TRUE@LoadPlugin postgresql
147 #@BUILD_PLUGIN_POWERDNS_TRUE@LoadPlugin powerdns
148 #@BUILD_PLUGIN_PROCESSES_TRUE@LoadPlugin processes
149 #@BUILD_PLUGIN_PROTOCOLS_TRUE@LoadPlugin protocols
150 #@BUILD_PLUGIN_PYTHON_TRUE@<LoadPlugin python>
151 #@BUILD_PLUGIN_PYTHON_TRUE@  Globals true
152 #@BUILD_PLUGIN_PYTHON_TRUE@</LoadPlugin>
153 #@BUILD_PLUGIN_REDIS_TRUE@LoadPlugin redis
154 #@BUILD_PLUGIN_ROUTEROS_TRUE@LoadPlugin routeros
155 #@BUILD_PLUGIN_RRDCACHED_TRUE@LoadPlugin rrdcached
156 @LOAD_PLUGIN_RRDTOOL@LoadPlugin rrdtool
157 #@BUILD_PLUGIN_SENSORS_TRUE@LoadPlugin sensors
158 #@BUILD_PLUGIN_SERIAL_TRUE@LoadPlugin serial
159 #@BUILD_PLUGIN_SIGROK_TRUE@LoadPlugin sigrok
160 #@BUILD_PLUGIN_SNMP_TRUE@LoadPlugin snmp
161 #@BUILD_PLUGIN_STATSD_TRUE@LoadPlugin statsd
162 #@BUILD_PLUGIN_SWAP_TRUE@LoadPlugin swap
163 #@BUILD_PLUGIN_TABLE_TRUE@LoadPlugin table
164 #@BUILD_PLUGIN_TAIL_TRUE@LoadPlugin tail
165 #@BUILD_PLUGIN_TAIL_CSV_TRUE@LoadPlugin tail_csv
166 #@BUILD_PLUGIN_TAPE_TRUE@LoadPlugin tape
167 #@BUILD_PLUGIN_TCPCONNS_TRUE@LoadPlugin tcpconns
168 #@BUILD_PLUGIN_TEAMSPEAK2_TRUE@LoadPlugin teamspeak2
169 #@BUILD_PLUGIN_TED_TRUE@LoadPlugin ted
170 #@BUILD_PLUGIN_THERMAL_TRUE@LoadPlugin thermal
171 #@BUILD_PLUGIN_TOKYOTYRANT_TRUE@LoadPlugin tokyotyrant
172 #@BUILD_PLUGIN_UNIXSOCK_TRUE@LoadPlugin unixsock
173 #@BUILD_PLUGIN_UPTIME_TRUE@LoadPlugin uptime
174 #@BUILD_PLUGIN_USERS_TRUE@LoadPlugin users
175 #@BUILD_PLUGIN_UUID_TRUE@LoadPlugin uuid
176 #@BUILD_PLUGIN_VARNISH_TRUE@LoadPlugin varnish
177 #@BUILD_PLUGIN_MIC_TRUE@LoadPlugin mic
178 #@BUILD_PLUGIN_VMEM_TRUE@LoadPlugin vmem
179 #@BUILD_PLUGIN_VSERVER_TRUE@LoadPlugin vserver
180 #@BUILD_PLUGIN_WIRELESS_TRUE@LoadPlugin wireless
181 #@BUILD_PLUGIN_WRITE_GRAPHITE_TRUE@LoadPlugin write_graphite
182 #@BUILD_PLUGIN_WRITE_HTTP_TRUE@LoadPlugin write_http
183 #@BUILD_PLUGIN_WRITE_MONGODB_TRUE@LoadPlugin write_mongodb
184 #@BUILD_PLUGIN_WRITE_REDIS_TRUE@LoadPlugin write_redis
185 #@BUILD_PLUGIN_WRITE_RIEMANN_TRUE@LoadPlugin write_riemann
186 #@BUILD_PLUGIN_XMMS_TRUE@LoadPlugin xmms
187 #@BUILD_PLUGIN_ZFS_ARC_TRUE@LoadPlugin zfs_arc
188
189 ##############################################################################
190 # Plugin configuration                                                       #
191 #----------------------------------------------------------------------------#
192 # In this section configuration stubs for each plugin are provided. A desc-  #
193 # ription of those options is available in the collectd.conf(5) manual page. #
194 ##############################################################################
195
196 #<Plugin "aggregation">
197 #  <Aggregation>
198 #    #Host "unspecified"
199 #    Plugin "cpu"
200 #    #PluginInstance "unspecified"
201 #    Type "cpu"
202 #    #TypeInstance "unspecified"
203 #
204 #    GroupBy "Host"
205 #    GroupBy "TypeInstance"
206 #
207 #    CalculateNum false
208 #    CalculateSum false
209 #    CalculateAverage true
210 #    CalculateMinimum false
211 #    CalculateMaximum false
212 #    CalculateStddev false
213 #  </Aggregation>
214 #</Plugin>
215
216 #<Plugin "amqp">
217 #  <Publish "name">
218 #    Host "localhost"
219 #    Port "5672"
220 #    VHost "/"
221 #    User "guest"
222 #    Password "guest"
223 #    Exchange "amq.fanout"
224 #    RoutingKey "collectd"
225 #    Persistent false
226 #    StoreRates false
227 #  </Publish>
228 #</Plugin>
229
230 #<Plugin apache>
231 #  <Instance "local">
232 #    URL "http://localhost/status?auto"
233 #    User "www-user"
234 #    Password "secret"
235 #    CACert "/etc/ssl/ca.crt"
236 #  </Instance>
237 #</Plugin>
238
239 #<Plugin apcups>
240 #       Host "localhost"
241 #       Port "3551"
242 #       ReportSeconds true
243 #</Plugin>
244
245 #<Plugin aquaero>
246 #       Device ""
247 #</Plugin>
248
249 #<Plugin ascent>
250 #       URL "http://localhost/ascent/status/"
251 #       User "www-user"
252 #       Password "secret"
253 #       CACert "/etc/ssl/ca.crt"
254 #</Plugin>
255
256 #<Plugin "bind">
257 #  URL "http://localhost:8053/"
258 #  ParseTime       false
259 #  OpCodes         true
260 #  QTypes          true
261 #
262 #  ServerStats     true
263 #  ZoneMaintStats  true
264 #  ResolverStats   false
265 #  MemoryStats     true
266 #
267 #  <View "_default">
268 #    QTypes        true
269 #    ResolverStats true
270 #    CacheRRSets   true
271 #
272 #    Zone "127.in-addr.arpa/IN"
273 #  </View>
274 #</Plugin>
275
276 #<Plugin ceph>
277 #  LongRunAvgLatency false
278 #  ConvertSpecialMetricTypes true
279 #  <Daemon "osd.0">
280 #    SocketPath "/var/run/ceph/ceph-osd.0.asok"
281 #  </Daemon>
282 #  <Daemon "osd.1">
283 #    SocketPath "/var/run/ceph/ceph-osd.1.asok"
284 #  </Daemon>
285 #  <Daemon "mon.a">
286 #    SocketPath "/var/run/ceph/ceph-mon.ceph1.asok"
287 #  </Daemon>
288 #  <Daemon "mds.a">
289 #    SocketPath "/var/run/ceph/ceph-mds.ceph1.asok"
290 #  </Daemon>
291 #</Plugin>
292
293
294 #<Plugin cgroup>
295 #  CGroup "libvirt"
296 #  IgnoreSelected false
297 #</Plugin>
298
299 #<Plugin csv>
300 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
301 #       StoreRates false
302 #</Plugin>
303
304 #<Plugin curl>
305 #  <Page "stock_quotes">
306 #    URL "http://finance.google.com/finance?q=NYSE%3AAMD"
307 #    User "foo"
308 #    Password "bar"
309 #    MeasureResponseTime false
310 #    <Match>
311 #      Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
312 #      DSType "GaugeAverage"
313 #      Type "stock_value"
314 #      Instance "AMD"
315 #    </Match>
316 #  </Page>
317 #</Plugin>
318
319 #<Plugin curl_json>
320 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
321 #  <URL "http://localhost:5984/_stats">
322 #    Instance "httpd"
323 #    <Key "httpd/requests/count">
324 #      Type "http_requests"
325 #    </Key>
326 #
327 #    <Key "httpd_request_methods/*/count">
328 #      Type "http_request_methods"
329 #    </Key>
330 #
331 #    <Key "httpd_status_codes/*/count">
332 #      Type "http_response_codes"
333 #    </Key>
334 #  </URL>
335 ## Database status metrics:
336 #  <URL "http://localhost:5984/_all_dbs">
337 #    Instance "dbs"
338 #    <Key "*/doc_count">
339 #      Type "gauge"
340 #    </Key>
341 #    <Key "*/doc_del_count">
342 #      Type "counter"
343 #    </Key>
344 #    <Key "*/disk_size">
345 #      Type "bytes"
346 #    </Key>
347 #  </URL>
348 #</Plugin>
349
350 #<Plugin "curl_xml">
351 #  <URL "http://localhost/stats.xml">
352 #    Host "my_host"
353 #    Instance "some_instance"
354 #    User "collectd"
355 #    Password "thaiNg0I"
356 #    VerifyPeer true
357 #    VerifyHost true
358 #    CACert "/path/to/ca.crt"
359 #
360 #    <XPath "table[@id=\"magic_level\"]/tr">
361 #      Type "magic_level"
362 #      #InstancePrefix "prefix-"
363 #      InstanceFrom "td[1]"
364 #      ValuesFrom "td[2]/span[@class=\"level\"]"
365 #    </XPath>
366 #  </URL>
367 #</Plugin>
368
369 #<Plugin dbi>
370 #       <Query "num_of_customers">
371 #               Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
372 #               <Result>
373 #                       Type "gauge"
374 #                       InstancesFrom "c_key"
375 #                       ValuesFrom "c_value"
376 #               </Result>
377 #       </Query>
378 #       <Database "customers_db">
379 #               Driver "mysql"
380 #               DriverOption "host" "localhost"
381 #               DriverOption "username" "collectd"
382 #               DriverOption "password" "AeXohy0O"
383 #               DriverOption "dbname" "custdb0"
384 #               #SelectDB "custdb0"
385 #               Query "num_of_customers"
386 #               #Query "..."
387 #               #Host "..."
388 #       </Database>
389 #</Plugin>
390
391 #<Plugin df>
392 #       Device "/dev/hda1"
393 #       Device "192.168.0.2:/mnt/nfs"
394 #       MountPoint "/home"
395 #       FSType "ext3"
396 #       IgnoreSelected false
397 #       ReportByDevice false
398 #       ReportReserved false
399 #       ReportInodes false
400 #       ValuesAbsolute true
401 #       ValuesPercentage false
402 #</Plugin>
403
404 #<Plugin disk>
405 #       Disk "/^[hs]d[a-f][0-9]?$/"
406 #       IgnoreSelected false
407 #</Plugin>
408
409 #<Plugin dns>
410 #       Interface "eth0"
411 #       IgnoreSource "192.168.0.1"
412 #       SelectNumericQueryTypes true
413 #</Plugin>
414
415 #<Plugin email>
416 #       SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
417 #       SocketGroup "collectd"
418 #       SocketPerms "0770"
419 #       MaxConns 5
420 #</Plugin>
421
422 #<Plugin ethstat>
423 #       Interface "eth0"
424 #       Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
425 #       Map "multicast" "if_multicast"
426 #       MappedOnly false
427 #</Plugin>
428
429 #<Plugin exec>
430 #       Exec "user:group" "/path/to/exec"
431 #       NotificationExec "user:group" "/path/to/exec"
432 #</Plugin>
433
434 #<Plugin filecount>
435 #       <Directory "/path/to/dir">
436 #               Instance "foodir"
437 #               Name "*.conf"
438 #               MTime "-5m"
439 #               Size "+10k"
440 #               Recursive true
441 #               IncludeHidden false
442 #       </Directory>
443 #</Plugin>
444
445 #<Plugin "gmond">
446 #  MCReceiveFrom "239.2.11.71" "8649"
447 #  <Metric "swap_total">
448 #    Type "swap"
449 #    TypeInstance "total"
450 #    DataSource "value"
451 #  </Metric>
452 #  <Metric "swap_free">
453 #    Type "swap"
454 #    TypeInstance "free"
455 #    DataSource "value"
456 #  </Metric>
457 #</Plugin>
458
459 #<Plugin hddtemp>
460 #  Host "127.0.0.1"
461 #  Port "7634"
462 #</Plugin>
463
464 #<Plugin interface>
465 #       Interface "eth0"
466 #       IgnoreSelected false
467 #</Plugin>
468
469 #<Plugin ipmi>
470 #       Sensor "some_sensor"
471 #       Sensor "another_one"
472 #       IgnoreSelected false
473 #       NotifySensorAdd false
474 #       NotifySensorRemove true
475 #       NotifySensorNotPresent false
476 #</Plugin>
477
478 #<Plugin iptables>
479 #       Chain table chain
480 #</Plugin>
481
482 #<Plugin irq>
483 #       Irq 7
484 #       Irq 8
485 #       Irq 9
486 #       IgnoreSelected true
487 #</Plugin>
488
489 #<Plugin "java">
490 #       JVMArg "-verbose:jni"
491 #       JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
492 #
493 #       LoadPlugin "org.collectd.java.Foobar"
494 #       <Plugin "org.collectd.java.Foobar">
495 #         # To be parsed by the plugin
496 #       </Plugin>
497 #</Plugin>
498
499 #<Plugin libvirt>
500 #       Connection "xen:///"
501 #       RefreshInterval 60
502 #       Domain "name"
503 #       BlockDevice "name:device"
504 #       InterfaceDevice "name:device"
505 #       IgnoreSelected false
506 #       HostnameFormat name
507 #       InterfaceFormat name
508 #</Plugin>
509
510 #<Plugin load>
511 #        ReportRelative true
512 #</Plugin>
513
514 #<Plugin lpar>
515 #       CpuPoolStats   false
516 #       ReportBySerial false
517 #</Plugin>
518
519 #<Plugin madwifi>
520 #       Interface "wlan0"
521 #       IgnoreSelected false
522 #       Source "SysFS"
523 #       WatchSet "None"
524 #       WatchAdd "node_octets"
525 #       WatchAdd "node_rssi"
526 #       WatchAdd "is_rx_acl"
527 #       WatchAdd "is_scan_active"
528 #</Plugin>
529
530 #<Plugin mbmon>
531 #       Host "127.0.0.1"
532 #       Port "411"
533 #</Plugin>
534
535 #<Plugin md>
536 #       Device "/dev/md0"
537 #       IgnoreSelected false
538 #</Plugin>
539
540 #<Plugin memcachec>
541 #       <Page "plugin_instance">
542 #               Server "localhost"
543 #               Key "page_key"
544 #               <Match>
545 #                       Regex "(\\d+) bytes sent"
546 #                       ExcludeRegex "<lines to be excluded>"
547 #                       DSType CounterAdd
548 #                       Type "ipt_octets"
549 #                       Instance "type_instance"
550 #               </Match>
551 #       </Page>
552 #</Plugin>
553
554 #<Plugin memcached>
555 #       <Instance "local">
556 #               Host "127.0.0.1"
557 #               Port "11211"
558 #       </Instance>
559 #</Plugin>
560
561 #<Plugin memory>
562 #       ValuesAbsolute true
563 #       ValuesPercentage false
564 #</Plugin>
565
566 #<Plugin modbus>
567 #       <Data "data_name">
568 #               RegisterBase 1234
569 #               RegisterType float
570 #               Type gauge
571 #               Instance "..."
572 #       </Data>
573 #
574 #       <Host "name">
575 #               Address "addr"
576 #               Port "1234"
577 #               Interval 60
578 #
579 #               <Slave 1>
580 #                       Instance "foobar" # optional
581 #                       Collect "data_name"
582 #               </Slave>
583 #       </Host>
584 #</Plugin>
585
586 #<Plugin mysql>
587 #       <Database db_name>
588 #               Host "database.serv.er"
589 #               User "db_user"
590 #               Password "secret"
591 #               Database "db_name"
592 #               MasterStats true
593 #       </Database>
594 #
595 #       <Database db_name2>
596 #               Host "localhost"
597 #               Socket "/var/run/mysql/mysqld.sock"
598 #               SlaveStats true
599 #               SlaveNotifications true
600 #       </Database>
601 #</Plugin>
602
603 #<Plugin netapp>
604 #       <Host "netapp1.example.com">
605 #               Protocol      "https"
606 #               Address       "10.0.0.1"
607 #               Port          443
608 #               User          "username"
609 #               Password      "aef4Aebe"
610 #               Interval      30
611 #
612 #               <WAFL>
613 #                       Interval 30
614 #                       GetNameCache   true
615 #                       GetDirCache    true
616 #                       GetBufferCache true
617 #                       GetInodeCache  true
618 #               </WAFL>
619 #
620 #               <Disks>
621 #                       Interval 30
622 #                       GetBusy true
623 #               </Disks>
624 #
625 #               <VolumePerf>
626 #                       Interval 30
627 #                       GetIO      "volume0"
628 #                       IgnoreSelectedIO      false
629 #                       GetOps     "volume0"
630 #                       IgnoreSelectedOps     false
631 #                       GetLatency "volume0"
632 #                       IgnoreSelectedLatency false
633 #               </VolumePerf>
634 #
635 #               <VolumeUsage>
636 #                       Interval 30
637 #                       GetCapacity "vol0"
638 #                       GetCapacity "vol1"
639 #                       IgnoreSelectedCapacity false
640 #                       GetSnapshot "vol1"
641 #                       GetSnapshot "vol3"
642 #                       IgnoreSelectedSnapshot false
643 #               </VolumeUsage>
644 #
645 #               <System>
646 #                       Interval 30
647 #                       GetCPULoad     true
648 #                       GetInterfaces  true
649 #                       GetDiskOps     true
650 #                       GetDiskIO      true
651 #               </System>
652 #       </Host>
653 #</Plugin>
654
655 #<Plugin netlink>
656 #       Interface "All"
657 #       VerboseInterface "All"
658 #       QDisc "eth0" "pfifo_fast-1:0"
659 #       Class "ppp0" "htb-1:10"
660 #       Filter "ppp0" "u32-1:0"
661 #       IgnoreSelected false
662 #</Plugin>
663
664 @LOAD_PLUGIN_NETWORK@<Plugin network>
665 #       # client setup:
666 @LOAD_PLUGIN_NETWORK@   Server "ff18::efc0:4a42" "25826"
667 @LOAD_PLUGIN_NETWORK@   <Server "239.192.74.66" "25826">
668 #               SecurityLevel Encrypt
669 #               Username "user"
670 #               Password "secret"
671 #               Interface "eth0"
672 @LOAD_PLUGIN_NETWORK@   </Server>
673 #       TimeToLive "128"
674 #
675 #       # server setup:
676 #       Listen "ff18::efc0:4a42" "25826"
677 #       <Listen "239.192.74.66" "25826">
678 #               SecurityLevel Sign
679 #               AuthFile "/etc/collectd/passwd"
680 #               Interface "eth0"
681 #       </Listen>
682 #       MaxPacketSize 1024
683 #
684 #       # proxy setup (client and server as above):
685 #       Forward true
686 #
687 #       # statistics about the network plugin itself
688 #       ReportStats false
689 #
690 #       # "garbage collection"
691 #       CacheFlush 1800
692 @LOAD_PLUGIN_NETWORK@</Plugin>
693
694 #<Plugin nginx>
695 #       URL "http://localhost/status?auto"
696 #       User "www-user"
697 #       Password "secret"
698 #       CACert "/etc/ssl/ca.crt"
699 #</Plugin>
700
701 #<Plugin notify_desktop>
702 #       OkayTimeout 1000
703 #       WarningTimeout 5000
704 #       FailureTimeout 0
705 #</Plugin>
706
707 #<Plugin notify_email>
708 #       SMTPServer "localhost"
709 #       SMTPPort 25
710 #       SMTPUser "my-username"
711 #       SMTPPassword "my-password"
712 #       From "collectd@main0server.com"
713 #       # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
714 #       Subject "Aaaaaa!! %s on %s!!!!!"
715 #       Recipient "email1@domain1.net"
716 #       Recipient "email2@domain2.com"
717 #</Plugin>
718
719 #<Plugin ntpd>
720 #       Host "localhost"
721 #       Port 123
722 #       ReverseLookups false
723 #       IncludeUnitID true
724 #</Plugin>
725
726 #<Plugin nut>
727 #       UPS "upsname@hostname:port"
728 #</Plugin>
729
730 #<Plugin olsrd>
731 #       Host "127.0.0.1"
732 #       Port "2006"
733 #       CollectLinks "Summary"
734 #       CollectRoutes "Summary"
735 #       CollectTopology "Summary"
736 #</Plugin>
737
738 #<Plugin onewire>
739 #       Device "-s localhost:4304"
740 #       Sensor "F10FCA000800"
741 #       IgnoreSelected false
742 #</Plugin>
743
744 #<Plugin openvpn>
745 #       StatusFile "/etc/openvpn/openvpn-status.log"
746 #       ImprovedNamingSchema false
747 #       CollectCompression true
748 #       CollectIndividualUsers true
749 #       CollectUserCount false
750 #</Plugin>
751
752 #<Plugin oracle>
753 #  <Query "out_of_stock">
754 #    Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
755 #    <Result>
756 #      Type "gauge"
757 #      InstancesFrom "category"
758 #      ValuesFrom "value"
759 #    </Result>
760 #  </Query>
761 #  <Database "product_information">
762 #    ConnectID "db01"
763 #    Username "oracle"
764 #    Password "secret"
765 #    Query "out_of_stock"
766 #  </Database>
767 #</Plugin>
768
769 #<Plugin perl>
770 #       IncludeDir "/my/include/path"
771 #       BaseName "Collectd::Plugins"
772 #       EnableDebugger ""
773 #       LoadPlugin Monitorus
774 #       LoadPlugin OpenVZ
775 #
776 #       <Plugin foo>
777 #               Foo "Bar"
778 #               Qux "Baz"
779 #       </Plugin>
780 #</Plugin>
781
782 #<Plugin pinba>
783 #       Address "::0"
784 #       Port "30002"
785 #       <View "name">
786 #               Host "host name"
787 #               Server "server name"
788 #               Script "script name"
789 #       </View>
790 #</Plugin>
791
792 #<Plugin ping>
793 #       Host "host.foo.bar"
794 #       Interval 1.0
795 #       Timeout 0.9
796 #       TTL 255
797 #       SourceAddress "1.2.3.4"
798 #       Device "eth0"
799 #       MaxMissed -1
800 #</Plugin>
801
802 #<Plugin postgresql>
803 #       <Query magic>
804 #               Statement "SELECT magic FROM wizard WHERE host = $1;"
805 #               Param hostname
806 #               <Result>
807 #                       Type gauge
808 #                       InstancePrefix "magic"
809 #                       ValuesFrom magic
810 #               </Result>
811 #       </Query>
812 #       <Query rt36_tickets>
813 #               Statement "SELECT COUNT(type) AS count, type \
814 #                                 FROM (SELECT CASE \
815 #                                              WHEN resolved = 'epoch' THEN 'open' \
816 #                                              ELSE 'resolved' END AS type \
817 #                                              FROM tickets) type \
818 #                                 GROUP BY type;"
819 #               <Result>
820 #                       Type counter
821 #                       InstancePrefix "rt36_tickets"
822 #                       InstancesFrom "type"
823 #                       ValuesFrom "count"
824 #               </Result>
825 #       </Query>
826 #       <Writer sqlstore>
827 #               # See contrib/postgresql/collectd_insert.sql for details
828 #               Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
829 #               StoreRates true
830 #       </Writer>
831 #       <Database foo>
832 #               Host "hostname"
833 #               Port "5432"
834 #               User "username"
835 #               Password "secret"
836 #               SSLMode "prefer"
837 #               KRBSrvName "kerberos_service_name"
838 #               Query magic
839 #       </Database>
840 #       <Database bar>
841 #               Interval 60
842 #               Service "service_name"
843 #               Query backend # predefined
844 #               Query rt36_tickets
845 #       </Database>
846 #       <Database qux>
847 #               Service "collectd_store"
848 #               Writer sqlstore
849 #               # see collectd.conf(5) for details
850 #               CommitInterval 30
851 #       </Database>
852 #</Plugin>
853
854 #<Plugin powerdns>
855 #  <Server "server_name">
856 #    Collect "latency"
857 #    Collect "udp-answers" "udp-queries"
858 #    Socket "/var/run/pdns.controlsocket"
859 #  </Server>
860 #  <Recursor "recursor_name">
861 #    Collect "questions"
862 #    Collect "cache-hits" "cache-misses"
863 #    Socket "/var/run/pdns_recursor.controlsocket"
864 #  </Recursor>
865 #  LocalSocket "/opt/collectd/var/run/collectd-powerdns"
866 #</Plugin>
867
868 #<Plugin processes>
869 #       Process "name"
870 #</Plugin>
871
872 #<Plugin protocols>
873 #       Value "/^Tcp:/"
874 #       IgnoreSelected false
875 #</Plugin>
876
877 #<Plugin python>
878 #       ModulePath "/path/to/your/python/modules"
879 #       LogTraces true
880 #       Interactive true
881 #       Import "spam"
882 #
883 #       <Module spam>
884 #               spam "wonderful" "lovely"
885 #       </Module>
886 #</Plugin>
887
888 #<Plugin redis>
889 #   <Node example>
890 #      Host "redis.example.com"
891 #      Port "6379"
892 #      Timeout 2000
893 #   </Node>
894 #</Plugin>
895
896 #<Plugin routeros>
897 #       <Router>
898 #               Host "router.example.com"
899 #               Port "8728"
900 #               User "admin"
901 #               Password "dozaiTh4"
902 #               CollectInterface true
903 #               CollectRegistrationTable true
904 #               CollectCPULoad true
905 #               CollectMemory true
906 #               CollectDF true
907 #               CollectDisk true
908 #       </Router>
909 #</Plugin>
910
911 #<Plugin rrdcached>
912 #       DaemonAddress "unix:/tmp/rrdcached.sock"
913 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
914 #       CreateFiles true
915 #       CreateFilesAsync false
916 #       CollectStatistics true
917 #</Plugin>
918
919 #<Plugin rrdtool>
920 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
921 #       CreateFilesAsync false
922 #       CacheTimeout 120
923 #       CacheFlush   900
924 #       WritesPerSecond 50
925 #</Plugin>
926
927 #<Plugin sensors>
928 #       SensorConfigFile "/etc/sensors.conf"
929 #       Sensor "it8712-isa-0290/temperature-temp1"
930 #       Sensor "it8712-isa-0290/fanspeed-fan3"
931 #       Sensor "it8712-isa-0290/voltage-in8"
932 #       IgnoreSelected false
933 #</Plugin>
934
935 #<Plugin sigrok>
936 #  LogLevel 3
937 #  <Device "AC Voltage">
938 #    Driver "fluke-dmm"
939 #    MinimumInterval 10
940 #    Conn "/dev/ttyUSB2"
941 #  </Device>
942 #  <Device "Sound Level">
943 #    Driver "cem-dt-885x"
944 #    Conn "/dev/ttyUSB1"
945 #  </Device>
946 #</Plugin>
947
948 #<Plugin snmp>
949 #   <Data "powerplus_voltge_input">
950 #       Type "voltage"
951 #       Table false
952 #       Instance "input_line1"
953 #       Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
954 #   </Data>
955 #   <Data "hr_users">
956 #       Type "users"
957 #       Table false
958 #       Instance ""
959 #       Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
960 #   </Data>
961 #   <Data "std_traffic">
962 #       Type "if_octets"
963 #       Table true
964 #       Instance "IF-MIB::ifDescr"
965 #       Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
966 #   </Data>
967 #
968 #   <Host "some.switch.mydomain.org">
969 #       Address "192.168.0.2"
970 #       Version 1
971 #       Community "community_string"
972 #       Collect "std_traffic"
973 #       Interval 120
974 #   </Host>
975 #   <Host "some.server.mydomain.org">
976 #       Address "192.168.0.42"
977 #       Version 2
978 #       Community "another_string"
979 #       Collect "std_traffic" "hr_users"
980 #   </Host>
981 #   <Host "some.ups.mydomain.org">
982 #       Address "192.168.0.3"
983 #       Version 1
984 #       Community "more_communities"
985 #       Collect "powerplus_voltge_input"
986 #       Interval 300
987 #   </Host>
988 #</Plugin>
989
990 #<Plugin statsd>
991 #  Host "::"
992 #  Port "8125"
993 #  DeleteCounters false
994 #  DeleteTimers   false
995 #  DeleteGauges   false
996 #  DeleteSets     false
997 #  TimerPercentile 90.0
998 #</Plugin>
999
1000 #<Plugin "swap">
1001 #       ReportByDevice false
1002 #       ReportBytes true
1003 #       ValuesAbsolute true
1004 #       ValuesPercentage false
1005 #</Plugin>
1006
1007 #<Plugin "table">
1008 #       <Table "/proc/slabinfo">
1009 #               Instance "slabinfo"
1010 #               Separator " "
1011 #               <Result>
1012 #                       Type gauge
1013 #                       InstancePrefix "active_objs"
1014 #                       InstancesFrom 0
1015 #                       ValuesFrom 1
1016 #               </Result>
1017 #               <Result>
1018 #                       Type gauge
1019 #                       InstancePrefix "objperslab"
1020 #                       InstancesFrom 0
1021 #                       ValuesFrom 4
1022 #               </Result>
1023 #       </Table>
1024 #</Plugin>
1025
1026 #<Plugin "tail">
1027 #  <File "/var/log/exim4/mainlog">
1028 #    Instance "exim"
1029 #    Interval 60
1030 #    <Match>
1031 #      Regex "S=([1-9][0-9]*)"
1032 #      DSType "CounterAdd"
1033 #      Type "ipt_bytes"
1034 #      Instance "total"
1035 #    </Match>
1036 #    <Match>
1037 #      Regex "\\<R=local_user\\>"
1038 #      ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1039 #      DSType "CounterInc"
1040 #      Type "counter"
1041 #      Instance "local_user"
1042 #    </Match>
1043 #  </File>
1044 #</Plugin>
1045
1046 #<Plugin "tail_csv">
1047 #   <Metric "dropped">
1048 #       Type "percent"
1049 #       Instance "dropped"
1050 #       ValueFrom 1
1051 #   </Metric>
1052 #   <Metric "mbps">
1053 #       Type "bytes"
1054 #       Instance "wire-realtime"
1055 #       ValueFrom 2
1056 #   </Metric>
1057 #   <Metric "alerts">
1058 #       Type "alerts_per_second"
1059 #       ValueFrom 3
1060 #   </Metric>
1061 #   <Metric "kpps">
1062 #       Type "kpackets_wire_per_sec.realtime"
1063 #       ValueFrom 4
1064 #   </Metric>
1065 #   <File "/var/log/snort/snort.stats">
1066 #       Instance "snort-eth0"
1067 #       Interval 600
1068 #       Collect "dropped" "mbps" "alerts" "kpps"
1069 #       TimeFrom 0
1070 #   </File>
1071 #</Plugin>
1072
1073 #<Plugin tcpconns>
1074 #       ListeningPorts false
1075 #       LocalPort "25"
1076 #       RemotePort "25"
1077 #</Plugin>
1078
1079 #<Plugin teamspeak2>
1080 #       Host "127.0.0.1"
1081 #       Port "51234"
1082 #       Server "8767"
1083 #</Plugin>
1084
1085 #<Plugin ted>
1086 #       Device "/dev/ttyUSB0"
1087 #       Retries 0
1088 #</Plugin>
1089
1090 #<Plugin thermal>
1091 #       ForceUseProcfs false
1092 #       Device "THRM"
1093 #       IgnoreSelected false
1094 #</Plugin>
1095
1096 #<Plugin tokyotyrant>
1097 #       Host "localhost"
1098 #       Port "1978"
1099 #</Plugin>
1100
1101 #<Plugin unixsock>
1102 #       SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1103 #       SocketGroup "collectd"
1104 #       SocketPerms "0660"
1105 #       DeleteSocket false
1106 #</Plugin>
1107
1108 #<Plugin uuid>
1109 #       UUIDFile "/etc/uuid"
1110 #</Plugin>
1111
1112 #<Plugin mic>
1113 #   ShowCPU true
1114 #   ShowCPUCores true
1115 #   ShowMemory true
1116 #   ShowTemperatures true
1117 ##  Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1118 ##  then inverted with a IgnoreSelectedTemperature.
1119 ##  Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1120 #   Temperature vddg
1121 #   IgnoreSelectedTemperature true
1122 #   ShowPower true
1123 ##  Power Sensors can be ignored/shown by repeated #Power lines, and
1124 ##  then inverted with a IgnoreSelectedTemperature.
1125 ##  Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1126 #   Power total1
1127 #   IgnoreSelectedPower true
1128 #</Plugin>
1129
1130 #<Plugin varnish>
1131 #   This tag support an argument if you want to
1132 #   monitor the local instance just use </Instance>
1133 #   If you prefer defining another instance you can do
1134 #   so by using <Instance "myinstance">
1135 #   <Instance>
1136 #      CollectCache true
1137 #      CollectBackend true
1138 #      CollectBan false           # Varnish 3 only
1139 #      CollectConnections true
1140 #      CollectDirectorDNS false   # Varnish 3 only
1141 #      CollectSHM true
1142 #      CollectESI false
1143 #      CollectFetch false
1144 #      CollectHCB false
1145 #      CollectObjects false
1146 #      CollectPurge false         # Varnish 2 only
1147 #      CollectSession false
1148 #      CollectSMA false           # Varnish 2 only
1149 #      CollectSMS false
1150 #      CollectSM false            # Varnish 2 only
1151 #      CollectStruct false
1152 #      CollectTotals false
1153 #      CollectUptime false
1154 #      CollectVCL false
1155 #      CollectWorkers false
1156 #   </Instance>
1157 #</Plugin>
1158
1159 #<Plugin vmem>
1160 #       Verbose false
1161 #</Plugin>
1162
1163 #<Plugin write_graphite>
1164 #  <Node "example">
1165 #    Host "localhost"
1166 #    Port "2003"
1167 #    Protocol "tcp"
1168 #    LogSendErrors true
1169 #    Prefix "collectd"
1170 #    Postfix "collectd"
1171 #    StoreRates true
1172 #    AlwaysAppendDS false
1173 #    EscapeCharacter "_"
1174 #  </Node>
1175 #</Plugin>
1176
1177 #<Plugin write_http>
1178 #       <URL "http://example.com/collectd-post">
1179 #               User "collectd"
1180 #               Password "weCh3ik0"
1181 #               VerifyPeer true
1182 #               VerifyHost true
1183 #               CACert "/etc/ssl/ca.crt"
1184 #               Format "Command"
1185 #               StoreRates false
1186 #       </URL>
1187 #</Plugin>
1188
1189 #<Plugin write_mongodb>
1190 #       <Node "example">
1191 #               Host "localhost"
1192 #               Port "27017"
1193 #               Timeout 1000
1194 #               StoreRates false
1195 #               Database "auth_db"
1196 #               User "auth_user"
1197 #               Password "auth_passwd"
1198 #       </Node>
1199 #</Plugin>
1200
1201 #<Plugin write_redis>
1202 #       <Node "example">
1203 #               Host "localhost"
1204 #               Port "6379"
1205 #               Timeout 1000
1206 #       </Node>
1207 #</Plugin>
1208
1209 #<Plugin write_riemann>
1210 #       <Node "example">
1211 #               Host "localhost"
1212 #               Port 5555
1213 #               Protocol UDP
1214 #               StoreRates true
1215 #               AlwaysAppendDS false
1216 #               TTLFactor 2.0
1217 #       </Node>
1218 #       Tag "foobar"
1219 #       Attribute "foo" "bar"
1220 #</Plugin>
1221
1222 ##############################################################################
1223 # Filter configuration                                                       #
1224 #----------------------------------------------------------------------------#
1225 # The following configures collectd's filtering mechanism. Before changing   #
1226 # anything in this section, please read the `FILTER CONFIGURATION' section   #
1227 # in the collectd.conf(5) manual page.                                       #
1228 ##############################################################################
1229
1230 # Load required matches:
1231 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1232 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1233 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1234 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1235 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1236
1237 # Load required targets:
1238 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1239 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1240 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1241 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1242 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1243
1244 #----------------------------------------------------------------------------#
1245 # The following block demonstrates the default behavior if no filtering is   #
1246 # configured at all: All values will be sent to all available write plugins. #
1247 #----------------------------------------------------------------------------#
1248
1249 #<Chain "PostCache">
1250 #  Target "write"
1251 #</Chain>
1252
1253 ##############################################################################
1254 # Threshold configuration                                                    #
1255 #----------------------------------------------------------------------------#
1256 # The following outlines how to configure collectd's threshold checking      #
1257 # plugin. The plugin and possible configuration options are documented in    #
1258 # the collectd-threshold(5) manual page.                                     #
1259 ##############################################################################
1260
1261 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1262 #<Plugin "threshold">
1263 #  <Type "foo">
1264 #    WarningMin    0.00
1265 #    WarningMax 1000.00
1266 #    FailureMin    0.00
1267 #    FailureMax 1200.00
1268 #    Invert false
1269 #    Instance "bar"
1270 #  </Type>
1271 #
1272 #  <Plugin "interface">
1273 #    Instance "eth0"
1274 #    <Type "if_octets">
1275 #      FailureMax 10000000
1276 #      DataSource "rx"
1277 #    </Type>
1278 #  </Plugin>
1279 #
1280 #  <Host "hostname">
1281 #    <Type "cpu">
1282 #      Instance "idle"
1283 #      FailureMin 10
1284 #    </Type>
1285 #
1286 #    <Plugin "memory">
1287 #      <Type "memory">
1288 #        Instance "cached"
1289 #        WarningMin 100000000
1290 #      </Type>
1291 #    </Plugin>
1292 #
1293 #    <Type "load">
1294 #       DataSource "midterm"
1295 #       FailureMax 4
1296 #       Hits 3
1297 #       Hysteresis 3
1298 #    </Type>
1299 #  </Host>
1300 #</Plugin>