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