Added ceph plugin typical configuration
[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 #       Name "osd.0"
278 #       SocketPath "/var/run/ceph/ceph-osd.0.asok"
279 #</Plugin>
280 #<Plugin ceph>
281 #        Name "mon.ceph-node1"
282 #        SocketPath "/var/run/ceph/ceph-mon.ceph-node1.asok"
283 #</Plugin>
284 #<Plugin ceph>
285 #        Name "mds.ceph-node1"
286 #        SocketPath "/var/run/ceph/ceph-mds.ceph-node1.asok"
287 #</Plugin>
288
289
290 #<Plugin cgroup>
291 #  CGroup "libvirt"
292 #  IgnoreSelected false
293 #</Plugin>
294
295 #<Plugin csv>
296 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/csv"
297 #       StoreRates false
298 #</Plugin>
299
300 #<Plugin curl>
301 #  <Page "stock_quotes">
302 #    URL "http://finance.google.com/finance?q=NYSE%3AAMD"
303 #    User "foo"
304 #    Password "bar"
305 #    MeasureResponseTime false
306 #    <Match>
307 #      Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
308 #      DSType "GaugeAverage"
309 #      Type "stock_value"
310 #      Instance "AMD"
311 #    </Match>
312 #  </Page>
313 #</Plugin>
314
315 #<Plugin curl_json>
316 ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
317 #  <URL "http://localhost:5984/_stats">
318 #    Instance "httpd"
319 #    <Key "httpd/requests/count">
320 #      Type "http_requests"
321 #    </Key>
322 #
323 #    <Key "httpd_request_methods/*/count">
324 #      Type "http_request_methods"
325 #    </Key>
326 #
327 #    <Key "httpd_status_codes/*/count">
328 #      Type "http_response_codes"
329 #    </Key>
330 #  </URL>
331 ## Database status metrics:
332 #  <URL "http://localhost:5984/_all_dbs">
333 #    Instance "dbs"
334 #    <Key "*/doc_count">
335 #      Type "gauge"
336 #    </Key>
337 #    <Key "*/doc_del_count">
338 #      Type "counter"
339 #    </Key>
340 #    <Key "*/disk_size">
341 #      Type "bytes"
342 #    </Key>
343 #  </URL>
344 #</Plugin>
345
346 #<Plugin "curl_xml">
347 #  <URL "http://localhost/stats.xml">
348 #    Host "my_host"
349 #    Instance "some_instance"
350 #    User "collectd"
351 #    Password "thaiNg0I"
352 #    VerifyPeer true
353 #    VerifyHost true
354 #    CACert "/path/to/ca.crt"
355 #
356 #    <XPath "table[@id=\"magic_level\"]/tr">
357 #      Type "magic_level"
358 #      #InstancePrefix "prefix-"
359 #      InstanceFrom "td[1]"
360 #      ValuesFrom "td[2]/span[@class=\"level\"]"
361 #    </XPath>
362 #  </URL>
363 #</Plugin>
364
365 #<Plugin dbi>
366 #       <Query "num_of_customers">
367 #               Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value FROM customers_tbl"
368 #               <Result>
369 #                       Type "gauge"
370 #                       InstancesFrom "c_key"
371 #                       ValuesFrom "c_value"
372 #               </Result>
373 #       </Query>
374 #       <Database "customers_db">
375 #               Driver "mysql"
376 #               DriverOption "host" "localhost"
377 #               DriverOption "username" "collectd"
378 #               DriverOption "password" "AeXohy0O"
379 #               DriverOption "dbname" "custdb0"
380 #               #SelectDB "custdb0"
381 #               Query "num_of_customers"
382 #               #Query "..."
383 #               #Host "..."
384 #       </Database>
385 #</Plugin>
386
387 #<Plugin df>
388 #       Device "/dev/hda1"
389 #       Device "192.168.0.2:/mnt/nfs"
390 #       MountPoint "/home"
391 #       FSType "ext3"
392 #       IgnoreSelected false
393 #       ReportByDevice false
394 #       ReportReserved false
395 #       ReportInodes false
396 #       ValuesAbsolute true
397 #       ValuesPercentage false
398 #</Plugin>
399
400 #<Plugin disk>
401 #       Disk "/^[hs]d[a-f][0-9]?$/"
402 #       IgnoreSelected false
403 #</Plugin>
404
405 #<Plugin dns>
406 #       Interface "eth0"
407 #       IgnoreSource "192.168.0.1"
408 #       SelectNumericQueryTypes true
409 #</Plugin>
410
411 #<Plugin email>
412 #       SocketFile "@localstatedir@/run/@PACKAGE_NAME@-email"
413 #       SocketGroup "collectd"
414 #       SocketPerms "0770"
415 #       MaxConns 5
416 #</Plugin>
417
418 #<Plugin ethstat>
419 #       Interface "eth0"
420 #       Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
421 #       Map "multicast" "if_multicast"
422 #       MappedOnly false
423 #</Plugin>
424
425 #<Plugin exec>
426 #       Exec "user:group" "/path/to/exec"
427 #       NotificationExec "user:group" "/path/to/exec"
428 #</Plugin>
429
430 #<Plugin filecount>
431 #       <Directory "/path/to/dir">
432 #               Instance "foodir"
433 #               Name "*.conf"
434 #               MTime "-5m"
435 #               Size "+10k"
436 #               Recursive true
437 #               IncludeHidden false
438 #       </Directory>
439 #</Plugin>
440
441 #<Plugin "gmond">
442 #  MCReceiveFrom "239.2.11.71" "8649"
443 #  <Metric "swap_total">
444 #    Type "swap"
445 #    TypeInstance "total"
446 #    DataSource "value"
447 #  </Metric>
448 #  <Metric "swap_free">
449 #    Type "swap"
450 #    TypeInstance "free"
451 #    DataSource "value"
452 #  </Metric>
453 #</Plugin>
454
455 #<Plugin hddtemp>
456 #  Host "127.0.0.1"
457 #  Port "7634"
458 #</Plugin>
459
460 #<Plugin interface>
461 #       Interface "eth0"
462 #       IgnoreSelected false
463 #</Plugin>
464
465 #<Plugin ipmi>
466 #       Sensor "some_sensor"
467 #       Sensor "another_one"
468 #       IgnoreSelected false
469 #       NotifySensorAdd false
470 #       NotifySensorRemove true
471 #       NotifySensorNotPresent false
472 #</Plugin>
473
474 #<Plugin iptables>
475 #       Chain table chain
476 #</Plugin>
477
478 #<Plugin irq>
479 #       Irq 7
480 #       Irq 8
481 #       Irq 9
482 #       IgnoreSelected true
483 #</Plugin>
484
485 #<Plugin "java">
486 #       JVMArg "-verbose:jni"
487 #       JVMArg "-Djava.class.path=@prefix@/share/collectd/java/collectd-api.jar"
488 #
489 #       LoadPlugin "org.collectd.java.Foobar"
490 #       <Plugin "org.collectd.java.Foobar">
491 #         # To be parsed by the plugin
492 #       </Plugin>
493 #</Plugin>
494
495 #<Plugin libvirt>
496 #       Connection "xen:///"
497 #       RefreshInterval 60
498 #       Domain "name"
499 #       BlockDevice "name:device"
500 #       InterfaceDevice "name:device"
501 #       IgnoreSelected false
502 #       HostnameFormat name
503 #       InterfaceFormat name
504 #</Plugin>
505
506 #<Plugin load>
507 #        ReportRelative true
508 #</Plugin>
509
510 #<Plugin lpar>
511 #       CpuPoolStats   false
512 #       ReportBySerial false
513 #</Plugin>
514
515 #<Plugin madwifi>
516 #       Interface "wlan0"
517 #       IgnoreSelected false
518 #       Source "SysFS"
519 #       WatchSet "None"
520 #       WatchAdd "node_octets"
521 #       WatchAdd "node_rssi"
522 #       WatchAdd "is_rx_acl"
523 #       WatchAdd "is_scan_active"
524 #</Plugin>
525
526 #<Plugin mbmon>
527 #       Host "127.0.0.1"
528 #       Port "411"
529 #</Plugin>
530
531 #<Plugin md>
532 #       Device "/dev/md0"
533 #       IgnoreSelected false
534 #</Plugin>
535
536 #<Plugin memcachec>
537 #       <Page "plugin_instance">
538 #               Server "localhost"
539 #               Key "page_key"
540 #               <Match>
541 #                       Regex "(\\d+) bytes sent"
542 #                       ExcludeRegex "<lines to be excluded>"
543 #                       DSType CounterAdd
544 #                       Type "ipt_octets"
545 #                       Instance "type_instance"
546 #               </Match>
547 #       </Page>
548 #</Plugin>
549
550 #<Plugin memcached>
551 #       <Instance "local">
552 #               Host "127.0.0.1"
553 #               Port "11211"
554 #       </Instance>
555 #</Plugin>
556
557 #<Plugin memory>
558 #       ValuesAbsolute true
559 #       ValuesPercentage false
560 #</Plugin>
561
562 #<Plugin modbus>
563 #       <Data "data_name">
564 #               RegisterBase 1234
565 #               RegisterType float
566 #               Type gauge
567 #               Instance "..."
568 #       </Data>
569 #
570 #       <Host "name">
571 #               Address "addr"
572 #               Port "1234"
573 #               Interval 60
574 #
575 #               <Slave 1>
576 #                       Instance "foobar" # optional
577 #                       Collect "data_name"
578 #               </Slave>
579 #       </Host>
580 #</Plugin>
581
582 #<Plugin mysql>
583 #       <Database db_name>
584 #               Host "database.serv.er"
585 #               User "db_user"
586 #               Password "secret"
587 #               Database "db_name"
588 #               MasterStats true
589 #       </Database>
590 #
591 #       <Database db_name2>
592 #               Host "localhost"
593 #               Socket "/var/run/mysql/mysqld.sock"
594 #               SlaveStats true
595 #               SlaveNotifications true
596 #       </Database>
597 #</Plugin>
598
599 #<Plugin netapp>
600 #       <Host "netapp1.example.com">
601 #               Protocol      "https"
602 #               Address       "10.0.0.1"
603 #               Port          443
604 #               User          "username"
605 #               Password      "aef4Aebe"
606 #               Interval      30
607 #
608 #               <WAFL>
609 #                       Interval 30
610 #                       GetNameCache   true
611 #                       GetDirCache    true
612 #                       GetBufferCache true
613 #                       GetInodeCache  true
614 #               </WAFL>
615 #
616 #               <Disks>
617 #                       Interval 30
618 #                       GetBusy true
619 #               </Disks>
620 #
621 #               <VolumePerf>
622 #                       Interval 30
623 #                       GetIO      "volume0"
624 #                       IgnoreSelectedIO      false
625 #                       GetOps     "volume0"
626 #                       IgnoreSelectedOps     false
627 #                       GetLatency "volume0"
628 #                       IgnoreSelectedLatency false
629 #               </VolumePerf>
630 #
631 #               <VolumeUsage>
632 #                       Interval 30
633 #                       GetCapacity "vol0"
634 #                       GetCapacity "vol1"
635 #                       IgnoreSelectedCapacity false
636 #                       GetSnapshot "vol1"
637 #                       GetSnapshot "vol3"
638 #                       IgnoreSelectedSnapshot false
639 #               </VolumeUsage>
640 #
641 #               <System>
642 #                       Interval 30
643 #                       GetCPULoad     true
644 #                       GetInterfaces  true
645 #                       GetDiskOps     true
646 #                       GetDiskIO      true
647 #               </System>
648 #       </Host>
649 #</Plugin>
650
651 #<Plugin netlink>
652 #       Interface "All"
653 #       VerboseInterface "All"
654 #       QDisc "eth0" "pfifo_fast-1:0"
655 #       Class "ppp0" "htb-1:10"
656 #       Filter "ppp0" "u32-1:0"
657 #       IgnoreSelected false
658 #</Plugin>
659
660 @LOAD_PLUGIN_NETWORK@<Plugin network>
661 #       # client setup:
662 @LOAD_PLUGIN_NETWORK@   Server "ff18::efc0:4a42" "25826"
663 @LOAD_PLUGIN_NETWORK@   <Server "239.192.74.66" "25826">
664 #               SecurityLevel Encrypt
665 #               Username "user"
666 #               Password "secret"
667 #               Interface "eth0"
668 @LOAD_PLUGIN_NETWORK@   </Server>
669 #       TimeToLive "128"
670 #
671 #       # server setup:
672 #       Listen "ff18::efc0:4a42" "25826"
673 #       <Listen "239.192.74.66" "25826">
674 #               SecurityLevel Sign
675 #               AuthFile "/etc/collectd/passwd"
676 #               Interface "eth0"
677 #       </Listen>
678 #       MaxPacketSize 1024
679 #
680 #       # proxy setup (client and server as above):
681 #       Forward true
682 #
683 #       # statistics about the network plugin itself
684 #       ReportStats false
685 #
686 #       # "garbage collection"
687 #       CacheFlush 1800
688 @LOAD_PLUGIN_NETWORK@</Plugin>
689
690 #<Plugin nginx>
691 #       URL "http://localhost/status?auto"
692 #       User "www-user"
693 #       Password "secret"
694 #       CACert "/etc/ssl/ca.crt"
695 #</Plugin>
696
697 #<Plugin notify_desktop>
698 #       OkayTimeout 1000
699 #       WarningTimeout 5000
700 #       FailureTimeout 0
701 #</Plugin>
702
703 #<Plugin notify_email>
704 #       SMTPServer "localhost"
705 #       SMTPPort 25
706 #       SMTPUser "my-username"
707 #       SMTPPassword "my-password"
708 #       From "collectd@main0server.com"
709 #       # <WARNING/FAILURE/OK> on <hostname>. beware! do not use not more than two %s in this string!!!
710 #       Subject "Aaaaaa!! %s on %s!!!!!"
711 #       Recipient "email1@domain1.net"
712 #       Recipient "email2@domain2.com"
713 #</Plugin>
714
715 #<Plugin ntpd>
716 #       Host "localhost"
717 #       Port 123
718 #       ReverseLookups false
719 #       IncludeUnitID true
720 #</Plugin>
721
722 #<Plugin nut>
723 #       UPS "upsname@hostname:port"
724 #</Plugin>
725
726 #<Plugin olsrd>
727 #       Host "127.0.0.1"
728 #       Port "2006"
729 #       CollectLinks "Summary"
730 #       CollectRoutes "Summary"
731 #       CollectTopology "Summary"
732 #</Plugin>
733
734 #<Plugin onewire>
735 #       Device "-s localhost:4304"
736 #       Sensor "F10FCA000800"
737 #       IgnoreSelected false
738 #</Plugin>
739
740 #<Plugin openvpn>
741 #       StatusFile "/etc/openvpn/openvpn-status.log"
742 #       ImprovedNamingSchema false
743 #       CollectCompression true
744 #       CollectIndividualUsers true
745 #       CollectUserCount false
746 #</Plugin>
747
748 #<Plugin oracle>
749 #  <Query "out_of_stock">
750 #    Statement "SELECT category, COUNT(*) AS value FROM products WHERE in_stock = 0 GROUP BY category"
751 #    <Result>
752 #      Type "gauge"
753 #      InstancesFrom "category"
754 #      ValuesFrom "value"
755 #    </Result>
756 #  </Query>
757 #  <Database "product_information">
758 #    ConnectID "db01"
759 #    Username "oracle"
760 #    Password "secret"
761 #    Query "out_of_stock"
762 #  </Database>
763 #</Plugin>
764
765 #<Plugin perl>
766 #       IncludeDir "/my/include/path"
767 #       BaseName "Collectd::Plugins"
768 #       EnableDebugger ""
769 #       LoadPlugin Monitorus
770 #       LoadPlugin OpenVZ
771 #
772 #       <Plugin foo>
773 #               Foo "Bar"
774 #               Qux "Baz"
775 #       </Plugin>
776 #</Plugin>
777
778 #<Plugin pinba>
779 #       Address "::0"
780 #       Port "30002"
781 #       <View "name">
782 #               Host "host name"
783 #               Server "server name"
784 #               Script "script name"
785 #       </View>
786 #</Plugin>
787
788 #<Plugin ping>
789 #       Host "host.foo.bar"
790 #       Interval 1.0
791 #       Timeout 0.9
792 #       TTL 255
793 #       SourceAddress "1.2.3.4"
794 #       Device "eth0"
795 #       MaxMissed -1
796 #</Plugin>
797
798 #<Plugin postgresql>
799 #       <Query magic>
800 #               Statement "SELECT magic FROM wizard WHERE host = $1;"
801 #               Param hostname
802 #               <Result>
803 #                       Type gauge
804 #                       InstancePrefix "magic"
805 #                       ValuesFrom magic
806 #               </Result>
807 #       </Query>
808 #       <Query rt36_tickets>
809 #               Statement "SELECT COUNT(type) AS count, type \
810 #                                 FROM (SELECT CASE \
811 #                                              WHEN resolved = 'epoch' THEN 'open' \
812 #                                              ELSE 'resolved' END AS type \
813 #                                              FROM tickets) type \
814 #                                 GROUP BY type;"
815 #               <Result>
816 #                       Type counter
817 #                       InstancePrefix "rt36_tickets"
818 #                       InstancesFrom "type"
819 #                       ValuesFrom "count"
820 #               </Result>
821 #       </Query>
822 #       <Writer sqlstore>
823 #               # See contrib/postgresql/collectd_insert.sql for details
824 #               Statement "SELECT collectd_insert($1, $2, $3, $4, $5, $6, $7, $8, $9);"
825 #               StoreRates true
826 #       </Writer>
827 #       <Database foo>
828 #               Host "hostname"
829 #               Port "5432"
830 #               User "username"
831 #               Password "secret"
832 #               SSLMode "prefer"
833 #               KRBSrvName "kerberos_service_name"
834 #               Query magic
835 #       </Database>
836 #       <Database bar>
837 #               Interval 60
838 #               Service "service_name"
839 #               Query backend # predefined
840 #               Query rt36_tickets
841 #       </Database>
842 #       <Database qux>
843 #               Service "collectd_store"
844 #               Writer sqlstore
845 #               # see collectd.conf(5) for details
846 #               CommitInterval 30
847 #       </Database>
848 #</Plugin>
849
850 #<Plugin powerdns>
851 #  <Server "server_name">
852 #    Collect "latency"
853 #    Collect "udp-answers" "udp-queries"
854 #    Socket "/var/run/pdns.controlsocket"
855 #  </Server>
856 #  <Recursor "recursor_name">
857 #    Collect "questions"
858 #    Collect "cache-hits" "cache-misses"
859 #    Socket "/var/run/pdns_recursor.controlsocket"
860 #  </Recursor>
861 #  LocalSocket "/opt/collectd/var/run/collectd-powerdns"
862 #</Plugin>
863
864 #<Plugin processes>
865 #       Process "name"
866 #</Plugin>
867
868 #<Plugin protocols>
869 #       Value "/^Tcp:/"
870 #       IgnoreSelected false
871 #</Plugin>
872
873 #<Plugin python>
874 #       ModulePath "/path/to/your/python/modules"
875 #       LogTraces true
876 #       Interactive true
877 #       Import "spam"
878 #
879 #       <Module spam>
880 #               spam "wonderful" "lovely"
881 #       </Module>
882 #</Plugin>
883
884 #<Plugin redis>
885 #   <Node example>
886 #      Host "redis.example.com"
887 #      Port "6379"
888 #      Timeout 2000
889 #   </Node>
890 #</Plugin>
891
892 #<Plugin routeros>
893 #       <Router>
894 #               Host "router.example.com"
895 #               Port "8728"
896 #               User "admin"
897 #               Password "dozaiTh4"
898 #               CollectInterface true
899 #               CollectRegistrationTable true
900 #               CollectCPULoad true
901 #               CollectMemory true
902 #               CollectDF true
903 #               CollectDisk true
904 #       </Router>
905 #</Plugin>
906
907 #<Plugin rrdcached>
908 #       DaemonAddress "unix:/tmp/rrdcached.sock"
909 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
910 #       CreateFiles true
911 #       CreateFilesAsync false
912 #       CollectStatistics true
913 #</Plugin>
914
915 #<Plugin rrdtool>
916 #       DataDir "@localstatedir@/lib/@PACKAGE_NAME@/rrd"
917 #       CreateFilesAsync false
918 #       CacheTimeout 120
919 #       CacheFlush   900
920 #       WritesPerSecond 50
921 #</Plugin>
922
923 #<Plugin sensors>
924 #       SensorConfigFile "/etc/sensors.conf"
925 #       Sensor "it8712-isa-0290/temperature-temp1"
926 #       Sensor "it8712-isa-0290/fanspeed-fan3"
927 #       Sensor "it8712-isa-0290/voltage-in8"
928 #       IgnoreSelected false
929 #</Plugin>
930
931 #<Plugin sigrok>
932 #  LogLevel 3
933 #  <Device "AC Voltage">
934 #    Driver "fluke-dmm"
935 #    MinimumInterval 10
936 #    Conn "/dev/ttyUSB2"
937 #  </Device>
938 #  <Device "Sound Level">
939 #    Driver "cem-dt-885x"
940 #    Conn "/dev/ttyUSB1"
941 #  </Device>
942 #</Plugin>
943
944 #<Plugin snmp>
945 #   <Data "powerplus_voltge_input">
946 #       Type "voltage"
947 #       Table false
948 #       Instance "input_line1"
949 #       Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
950 #   </Data>
951 #   <Data "hr_users">
952 #       Type "users"
953 #       Table false
954 #       Instance ""
955 #       Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
956 #   </Data>
957 #   <Data "std_traffic">
958 #       Type "if_octets"
959 #       Table true
960 #       Instance "IF-MIB::ifDescr"
961 #       Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
962 #   </Data>
963 #
964 #   <Host "some.switch.mydomain.org">
965 #       Address "192.168.0.2"
966 #       Version 1
967 #       Community "community_string"
968 #       Collect "std_traffic"
969 #       Interval 120
970 #   </Host>
971 #   <Host "some.server.mydomain.org">
972 #       Address "192.168.0.42"
973 #       Version 2
974 #       Community "another_string"
975 #       Collect "std_traffic" "hr_users"
976 #   </Host>
977 #   <Host "some.ups.mydomain.org">
978 #       Address "192.168.0.3"
979 #       Version 1
980 #       Community "more_communities"
981 #       Collect "powerplus_voltge_input"
982 #       Interval 300
983 #   </Host>
984 #</Plugin>
985
986 #<Plugin statsd>
987 #  Host "::"
988 #  Port "8125"
989 #  DeleteCounters false
990 #  DeleteTimers   false
991 #  DeleteGauges   false
992 #  DeleteSets     false
993 #  TimerPercentile 90.0
994 #</Plugin>
995
996 #<Plugin "swap">
997 #       ReportByDevice false
998 #       ReportBytes true
999 #       ValuesAbsolute true
1000 #       ValuesPercentage false
1001 #</Plugin>
1002
1003 #<Plugin "table">
1004 #       <Table "/proc/slabinfo">
1005 #               Instance "slabinfo"
1006 #               Separator " "
1007 #               <Result>
1008 #                       Type gauge
1009 #                       InstancePrefix "active_objs"
1010 #                       InstancesFrom 0
1011 #                       ValuesFrom 1
1012 #               </Result>
1013 #               <Result>
1014 #                       Type gauge
1015 #                       InstancePrefix "objperslab"
1016 #                       InstancesFrom 0
1017 #                       ValuesFrom 4
1018 #               </Result>
1019 #       </Table>
1020 #</Plugin>
1021
1022 #<Plugin "tail">
1023 #  <File "/var/log/exim4/mainlog">
1024 #    Instance "exim"
1025 #    Interval 60
1026 #    <Match>
1027 #      Regex "S=([1-9][0-9]*)"
1028 #      DSType "CounterAdd"
1029 #      Type "ipt_bytes"
1030 #      Instance "total"
1031 #    </Match>
1032 #    <Match>
1033 #      Regex "\\<R=local_user\\>"
1034 #      ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
1035 #      DSType "CounterInc"
1036 #      Type "counter"
1037 #      Instance "local_user"
1038 #    </Match>
1039 #  </File>
1040 #</Plugin>
1041
1042 #<Plugin "tail_csv">
1043 #   <Metric "dropped">
1044 #       Type "percent"
1045 #       Instance "dropped"
1046 #       ValueFrom 1
1047 #   </Metric>
1048 #   <Metric "mbps">
1049 #       Type "bytes"
1050 #       Instance "wire-realtime"
1051 #       ValueFrom 2
1052 #   </Metric>
1053 #   <Metric "alerts">
1054 #       Type "alerts_per_second"
1055 #       ValueFrom 3
1056 #   </Metric>
1057 #   <Metric "kpps">
1058 #       Type "kpackets_wire_per_sec.realtime"
1059 #       ValueFrom 4
1060 #   </Metric>
1061 #   <File "/var/log/snort/snort.stats">
1062 #       Instance "snort-eth0"
1063 #       Interval 600
1064 #       Collect "dropped" "mbps" "alerts" "kpps"
1065 #       TimeFrom 0
1066 #   </File>
1067 #</Plugin>
1068
1069 #<Plugin tcpconns>
1070 #       ListeningPorts false
1071 #       LocalPort "25"
1072 #       RemotePort "25"
1073 #</Plugin>
1074
1075 #<Plugin teamspeak2>
1076 #       Host "127.0.0.1"
1077 #       Port "51234"
1078 #       Server "8767"
1079 #</Plugin>
1080
1081 #<Plugin ted>
1082 #       Device "/dev/ttyUSB0"
1083 #       Retries 0
1084 #</Plugin>
1085
1086 #<Plugin thermal>
1087 #       ForceUseProcfs false
1088 #       Device "THRM"
1089 #       IgnoreSelected false
1090 #</Plugin>
1091
1092 #<Plugin tokyotyrant>
1093 #       Host "localhost"
1094 #       Port "1978"
1095 #</Plugin>
1096
1097 #<Plugin unixsock>
1098 #       SocketFile "@prefix@/var/run/@PACKAGE_NAME@-unixsock"
1099 #       SocketGroup "collectd"
1100 #       SocketPerms "0660"
1101 #       DeleteSocket false
1102 #</Plugin>
1103
1104 #<Plugin uuid>
1105 #       UUIDFile "/etc/uuid"
1106 #</Plugin>
1107
1108 #<Plugin mic>
1109 #   ShowCPU true
1110 #   ShowCPUCores true
1111 #   ShowMemory true
1112 #   ShowTemperatures true
1113 ##  Temperature Sensors can be ignored/shown by repeated #Temperature lines, and
1114 ##  then inverted with a IgnoreSelectedTemperature.
1115 ##  Known Temperature sensors: die, devmem, fin, fout, vccp, vddg, vddq
1116 #   Temperature vddg
1117 #   IgnoreSelectedTemperature true
1118 #   ShowPower true
1119 ##  Power Sensors can be ignored/shown by repeated #Power lines, and
1120 ##  then inverted with a IgnoreSelectedTemperature.
1121 ##  Known Temperature sensors: total0, total1, inst, imax, pci3, c2x3, c2x4, vccp, vddg, vddq
1122 #   Power total1
1123 #   IgnoreSelectedPower true
1124 #</Plugin>
1125
1126 #<Plugin varnish>
1127 #   This tag support an argument if you want to
1128 #   monitor the local instance just use </Instance>
1129 #   If you prefer defining another instance you can do
1130 #   so by using <Instance "myinstance">
1131 #   <Instance>
1132 #      CollectCache true
1133 #      CollectBackend true
1134 #      CollectBan false           # Varnish 3 only
1135 #      CollectConnections true
1136 #      CollectDirectorDNS false   # Varnish 3 only
1137 #      CollectSHM true
1138 #      CollectESI false
1139 #      CollectFetch false
1140 #      CollectHCB false
1141 #      CollectObjects false
1142 #      CollectPurge false         # Varnish 2 only
1143 #      CollectSession false
1144 #      CollectSMA false           # Varnish 2 only
1145 #      CollectSMS false
1146 #      CollectSM false            # Varnish 2 only
1147 #      CollectStruct false
1148 #      CollectTotals false
1149 #      CollectUptime false
1150 #      CollectVCL false
1151 #      CollectWorkers false
1152 #   </Instance>
1153 #</Plugin>
1154
1155 #<Plugin vmem>
1156 #       Verbose false
1157 #</Plugin>
1158
1159 #<Plugin write_graphite>
1160 #  <Node "example">
1161 #    Host "localhost"
1162 #    Port "2003"
1163 #    Protocol "tcp"
1164 #    LogSendErrors true
1165 #    Prefix "collectd"
1166 #    Postfix "collectd"
1167 #    StoreRates true
1168 #    AlwaysAppendDS false
1169 #    EscapeCharacter "_"
1170 #  </Node>
1171 #</Plugin>
1172
1173 #<Plugin write_http>
1174 #       <URL "http://example.com/collectd-post">
1175 #               User "collectd"
1176 #               Password "weCh3ik0"
1177 #               VerifyPeer true
1178 #               VerifyHost true
1179 #               CACert "/etc/ssl/ca.crt"
1180 #               Format "Command"
1181 #               StoreRates false
1182 #       </URL>
1183 #</Plugin>
1184
1185 #<Plugin write_mongodb>
1186 #       <Node "example">
1187 #               Host "localhost"
1188 #               Port "27017"
1189 #               Timeout 1000
1190 #               StoreRates false
1191 #               Database "auth_db"
1192 #               User "auth_user"
1193 #               Password "auth_passwd"
1194 #       </Node>
1195 #</Plugin>
1196
1197 #<Plugin write_redis>
1198 #       <Node "example">
1199 #               Host "localhost"
1200 #               Port "6379"
1201 #               Timeout 1000
1202 #       </Node>
1203 #</Plugin>
1204
1205 #<Plugin write_riemann>
1206 #       <Node "example">
1207 #               Host "localhost"
1208 #               Port 5555
1209 #               Protocol UDP
1210 #               StoreRates true
1211 #               AlwaysAppendDS false
1212 #               TTLFactor 2.0
1213 #       </Node>
1214 #       Tag "foobar"
1215 #       Attribute "foo" "bar"
1216 #</Plugin>
1217
1218 ##############################################################################
1219 # Filter configuration                                                       #
1220 #----------------------------------------------------------------------------#
1221 # The following configures collectd's filtering mechanism. Before changing   #
1222 # anything in this section, please read the `FILTER CONFIGURATION' section   #
1223 # in the collectd.conf(5) manual page.                                       #
1224 ##############################################################################
1225
1226 # Load required matches:
1227 #@BUILD_PLUGIN_MATCH_EMPTY_COUNTER_TRUE@LoadPlugin match_empty_counter
1228 #@BUILD_PLUGIN_MATCH_HASHED_TRUE@LoadPlugin match_hashed
1229 #@BUILD_PLUGIN_MATCH_REGEX_TRUE@LoadPlugin match_regex
1230 #@BUILD_PLUGIN_MATCH_VALUE_TRUE@LoadPlugin match_value
1231 #@BUILD_PLUGIN_MATCH_TIMEDIFF_TRUE@LoadPlugin match_timediff
1232
1233 # Load required targets:
1234 #@BUILD_PLUGIN_TARGET_NOTIFICATION_TRUE@LoadPlugin target_notification
1235 #@BUILD_PLUGIN_TARGET_REPLACE_TRUE@LoadPlugin target_replace
1236 #@BUILD_PLUGIN_TARGET_SCALE_TRUE@LoadPlugin target_scale
1237 #@BUILD_PLUGIN_TARGET_SET_TRUE@LoadPlugin target_set
1238 #@BUILD_PLUGIN_TARGET_V5UPGRADE_TRUE@LoadPlugin target_v5upgrade
1239
1240 #----------------------------------------------------------------------------#
1241 # The following block demonstrates the default behavior if no filtering is   #
1242 # configured at all: All values will be sent to all available write plugins. #
1243 #----------------------------------------------------------------------------#
1244
1245 #<Chain "PostCache">
1246 #  Target "write"
1247 #</Chain>
1248
1249 ##############################################################################
1250 # Threshold configuration                                                    #
1251 #----------------------------------------------------------------------------#
1252 # The following outlines how to configure collectd's threshold checking      #
1253 # plugin. The plugin and possible configuration options are documented in    #
1254 # the collectd-threshold(5) manual page.                                     #
1255 ##############################################################################
1256
1257 #@BUILD_PLUGIN_THRESHOLD_TRUE@LoadPlugin "threshold"
1258 #<Plugin "threshold">
1259 #  <Type "foo">
1260 #    WarningMin    0.00
1261 #    WarningMax 1000.00
1262 #    FailureMin    0.00
1263 #    FailureMax 1200.00
1264 #    Invert false
1265 #    Instance "bar"
1266 #  </Type>
1267 #
1268 #  <Plugin "interface">
1269 #    Instance "eth0"
1270 #    <Type "if_octets">
1271 #      FailureMax 10000000
1272 #      DataSource "rx"
1273 #    </Type>
1274 #  </Plugin>
1275 #
1276 #  <Host "hostname">
1277 #    <Type "cpu">
1278 #      Instance "idle"
1279 #      FailureMin 10
1280 #    </Type>
1281 #
1282 #    <Plugin "memory">
1283 #      <Type "memory">
1284 #        Instance "cached"
1285 #        WarningMin 100000000
1286 #      </Type>
1287 #    </Plugin>
1288 #
1289 #    <Type "load">
1290 #       DataSource "midterm"
1291 #       FailureMax 4
1292 #       Hits 3
1293 #       Hysteresis 3
1294 #    </Type>
1295 #  </Host>
1296 #</Plugin>