collectd.conf 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898
  1. # Config file for collectd(1).
  2. #
  3. # Some plugins need additional configuration and are disabled by default.
  4. # Please read collectd.conf(5) for details.
  5. #
  6. # You should also read /usr/share/doc/collectd-core/README.Debian.plugins
  7. # before enabling any more plugins.
  8. #Hostname "localhost"
  9. #FQDNLookup true
  10. #BaseDir "/var/lib/collectd"
  11. #PluginDir "/usr/lib/collectd"
  12. #TypesDB "/usr/share/collectd/types.db" "/etc/collectd/my_types.db"
  13. #Interval 10
  14. #Timeout 2
  15. #ReadThreads 5
  16. LoadPlugin logfile
  17. #LoadPlugin syslog
  18. <Plugin logfile>
  19. LogLevel "info"
  20. File STDOUT
  21. Timestamp true
  22. PrintSeverity false
  23. </Plugin>
  24. #<Plugin syslog>
  25. # LogLevel info
  26. #</Plugin>
  27. #LoadPlugin amqp
  28. #LoadPlugin apache
  29. #LoadPlugin apcups
  30. #LoadPlugin ascent
  31. #LoadPlugin battery
  32. #LoadPlugin bind
  33. #LoadPlugin conntrack
  34. #LoadPlugin contextswitch
  35. LoadPlugin cpu
  36. #LoadPlugin cpufreq
  37. #LoadPlugin csv
  38. #LoadPlugin curl
  39. #LoadPlugin curl_json
  40. #LoadPlugin curl_xml
  41. #LoadPlugin dbi
  42. LoadPlugin df
  43. #LoadPlugin disk
  44. #LoadPlugin dns
  45. #LoadPlugin email
  46. #LoadPlugin entropy
  47. #LoadPlugin ethstat
  48. #LoadPlugin exec
  49. #LoadPlugin filecount
  50. #LoadPlugin fscache
  51. #LoadPlugin gmond
  52. #LoadPlugin hddtemp
  53. #LoadPlugin interface
  54. #LoadPlugin ipmi
  55. #LoadPlugin iptables
  56. #LoadPlugin ipvs
  57. #LoadPlugin irq
  58. #LoadPlugin java
  59. #LoadPlugin libvirt
  60. #LoadPlugin load
  61. #LoadPlugin madwifi
  62. #LoadPlugin mbmon
  63. #LoadPlugin md
  64. #LoadPlugin memcachec
  65. #LoadPlugin memcached
  66. LoadPlugin memory
  67. #LoadPlugin multimeter
  68. #LoadPlugin mysql
  69. #LoadPlugin netlink
  70. #LoadPlugin network
  71. #LoadPlugin nfs
  72. #LoadPlugin nginx
  73. #LoadPlugin notify_desktop
  74. #LoadPlugin notify_email
  75. #LoadPlugin ntpd
  76. #LoadPlugin numa
  77. #LoadPlugin nut
  78. #LoadPlugin olsrd
  79. #LoadPlugin openvpn
  80. #<LoadPlugin perl>
  81. # Globals true
  82. #</LoadPlugin>
  83. #LoadPlugin pinba
  84. #LoadPlugin ping
  85. #LoadPlugin postgresql
  86. #LoadPlugin powerdns
  87. #LoadPlugin processes
  88. #LoadPlugin protocols
  89. #<LoadPlugin python>
  90. # Globals true
  91. #</LoadPlugin>
  92. #LoadPlugin rrdcached
  93. #LoadPlugin rrdtool
  94. #LoadPlugin sensors
  95. #LoadPlugin serial
  96. #LoadPlugin snmp
  97. #LoadPlugin swap
  98. #LoadPlugin table
  99. #LoadPlugin tail
  100. LoadPlugin tcpconns
  101. #LoadPlugin teamspeak2
  102. #LoadPlugin ted
  103. #LoadPlugin thermal
  104. #LoadPlugin tokyotyrant
  105. #LoadPlugin unixsock
  106. #LoadPlugin uptime
  107. #LoadPlugin users
  108. #LoadPlugin uuid
  109. #LoadPlugin varnish
  110. #LoadPlugin vmem
  111. #LoadPlugin vserver
  112. #LoadPlugin wireless
  113. LoadPlugin write_graphite
  114. #LoadPlugin write_http
  115. #LoadPlugin write_mongodb
  116. #<Plugin amqp>
  117. # <Publish "name">
  118. # Host "localhost"
  119. # Port "5672"
  120. # VHost "/"
  121. # User "guest"
  122. # Password "guest"
  123. # Exchange "amq.fanout"
  124. # RoutingKey "collectd"
  125. # Persistent false
  126. # StoreRates false
  127. # </Publish>
  128. #</Plugin>
  129. #<Plugin apache>
  130. # <Instance "foo">
  131. # URL "http://localhost/server-status?auto"
  132. # User "www-user"
  133. # Password "secret"
  134. # VerifyPeer false
  135. # VerifyHost false
  136. # CACert "/etc/ssl/ca.crt"
  137. # Server "apache"
  138. # </Instance>
  139. #
  140. # <Instance "bar">
  141. # URL "http://some.domain.tld/status?auto"
  142. # Host "some.domain.tld"
  143. # Server "lighttpd"
  144. # </Instance>
  145. #</Plugin>
  146. #<Plugin apcups>
  147. # Host "localhost"
  148. # Port "3551"
  149. #</Plugin>
  150. #<Plugin ascent>
  151. # URL "http://localhost/ascent/status/"
  152. # User "www-user"
  153. # Password "secret"
  154. # VerifyPeer false
  155. # VerifyHost false
  156. # CACert "/etc/ssl/ca.crt"
  157. #</Plugin>
  158. #<Plugin "bind">
  159. # URL "http://localhost:8053/"
  160. #
  161. # ParseTime false
  162. #
  163. # OpCodes true
  164. # QTypes true
  165. # ServerStats true
  166. # ZoneMaintStats true
  167. # ResolverStats false
  168. # MemoryStats true
  169. #
  170. # <View "_default">
  171. # QTypes true
  172. # ResolverStats true
  173. # CacheRRSets true
  174. #
  175. # Zone "127.in-addr.arpa/IN"
  176. # </View>
  177. #</Plugin>
  178. #<Plugin csv>
  179. # DataDir "/var/lib/collectd/csv"
  180. # StoreRates false
  181. #</Plugin>
  182. #<Plugin curl>
  183. # <Page "stock_quotes">
  184. # URL "http://finance.google.com/finance?q=NYSE%3AAMD"
  185. # User "foo"
  186. # Password "bar"
  187. # VerifyPeer false
  188. # VerifyHost false
  189. # CACert "/etc/ssl/ca.crt"
  190. # MeasureResponseTime false
  191. # <Match>
  192. # Regex "<span +class=\"pr\"[^>]*> *([0-9]*\\.[0-9]+) *</span>"
  193. # DSType "GaugeAverage"
  194. # Type "stock_value"
  195. # Instance "AMD"
  196. # </Match>
  197. # </Page>
  198. #</Plugin>
  199. #<Plugin curl_json>
  200. ## See: http://wiki.apache.org/couchdb/Runtime_Statistics
  201. # <URL "http://localhost:5984/_stats">
  202. # Instance "httpd"
  203. # <Key "httpd/requests/count">
  204. # Type "http_requests"
  205. # </Key>
  206. #
  207. # <Key "httpd_request_methods/*/count">
  208. # Type "http_request_methods"
  209. # </Key>
  210. #
  211. # <Key "httpd_status_codes/*/count">
  212. # Type "http_response_codes"
  213. # </Key>
  214. # </URL>
  215. ## Database status metrics:
  216. # <URL "http://localhost:5984/_all_dbs">
  217. # Instance "dbs"
  218. # <Key "*/doc_count">
  219. # Type "gauge"
  220. # </Key>
  221. # <Key "*/doc_del_count">
  222. # Type "counter"
  223. # </Key>
  224. # <Key "*/disk_size">
  225. # Type "bytes"
  226. # </Key>
  227. # </URL>
  228. #</Plugin>
  229. #<Plugin "curl_xml">
  230. # <URL "http://localhost/stats.xml">
  231. # Host "my_host"
  232. # Instance "some_instance"
  233. # User "collectd"
  234. # Password "thaiNg0I"
  235. # VerifyPeer true
  236. # VerifyHost true
  237. # CACert "/path/to/ca.crt"
  238. #
  239. # <XPath "table[@id=\"magic_level\"]/tr">
  240. # Type "magic_level"
  241. # InstancePrefix "prefix-"
  242. # InstanceFrom "td[1]"
  243. # ValuesFrom "td[2]/span[@class=\"level\"]"
  244. # </XPath>
  245. # </URL>
  246. #</Plugin>
  247. #<Plugin dbi>
  248. # <Query "num_of_customers">
  249. # Statement "SELECT 'customers' AS c_key, COUNT(*) AS c_value \
  250. # FROM customers_tbl"
  251. # MinVersion 40102
  252. # MaxVersion 50042
  253. # <Result>
  254. # Type "gauge"
  255. # InstancePrefix "customer"
  256. # InstancesFrom "c_key"
  257. # ValuesFrom "c_value"
  258. # </Result>
  259. # </Query>
  260. #
  261. # <Database "customers_db">
  262. # Driver "mysql"
  263. # DriverOption "host" "localhost"
  264. # DriverOption "username" "collectd"
  265. # DriverOption "password" "secret"
  266. # DriverOption "dbname" "custdb0"
  267. # SelectDB "custdb0"
  268. # Query "num_of_customers"
  269. # Query "..."
  270. # </Database>
  271. #</Plugin>
  272. #<Plugin df>
  273. # Device "/dev/sda1"
  274. # Device "192.168.0.2:/mnt/nfs"
  275. # MountPoint "/home"
  276. # FSType "ext3"
  277. # IgnoreSelected false
  278. # ReportByDevice false
  279. # ReportReserved false
  280. # ReportInodes false
  281. #</Plugin>
  282. #<Plugin disk>
  283. # Disk "hda"
  284. # Disk "/sda[23]/"
  285. # IgnoreSelected false
  286. #</Plugin>
  287. #<Plugin dns>
  288. # Interface "eth0"
  289. # IgnoreSource "192.168.0.1"
  290. # SelectNumericQueryTypes false
  291. #</Plugin>
  292. #<Plugin email>
  293. # SocketFile "/var/run/collectd-email"
  294. # SocketGroup "collectd"
  295. # SocketPerms "0770"
  296. # MaxConns 5
  297. #</Plugin>
  298. #<Plugin ethstat>
  299. # Interface "eth0"
  300. # Map "rx_csum_offload_errors" "if_rx_errors" "checksum_offload"
  301. # Map "multicast" "if_multicast"
  302. # MappedOnly false
  303. #</Plugin>
  304. #<Plugin exec>
  305. # Exec user "/path/to/exec"
  306. # Exec "user:group" "/path/to/exec"
  307. # NotificationExec user "/path/to/exec"
  308. #</Plugin>
  309. #<Plugin filecount>
  310. # <Directory "/path/to/dir">
  311. # Instance "foodir"
  312. # Name "*.conf"
  313. # MTime "-5m"
  314. # Size "+10k"
  315. # Recursive true
  316. # IncludeHidden false
  317. # </Directory>
  318. #</Plugin>
  319. #<Plugin gmond>
  320. # MCReceiveFrom "239.2.11.71" "8649"
  321. #
  322. # <Metric "swap_total">
  323. # Type "swap"
  324. # TypeInstance "total"
  325. # DataSource "value"
  326. # </Metric>
  327. #
  328. # <Metric "swap_free">
  329. # Type "swap"
  330. # TypeInstance "free"
  331. # DataSource "value"
  332. # </Metric>
  333. #</Plugin>
  334. #<Plugin hddtemp>
  335. # Host "127.0.0.1"
  336. # Port 7634
  337. #</Plugin>
  338. #<Plugin interface>
  339. # Interface "eth0"
  340. # IgnoreSelected false
  341. #</Plugin>
  342. #<Plugin ipmi>
  343. # Sensor "some_sensor"
  344. # Sensor "another_one"
  345. # IgnoreSelected false
  346. # NotifySensorAdd false
  347. # NotifySensorRemove true
  348. # NotifySensorNotPresent false
  349. #</Plugin>
  350. #<Plugin iptables>
  351. # Chain "table" "chain"
  352. #</Plugin>
  353. #<Plugin irq>
  354. # Irq 7
  355. # Irq 8
  356. # Irq 9
  357. # IgnoreSelected true
  358. #</Plugin>
  359. #<Plugin java>
  360. # JVMArg "-verbose:jni"
  361. # JVMArg "-Djava.class.path=/usr/share/collectd/java/collectd-api.jar"
  362. #
  363. # LoadPlugin "org.collectd.java.GenericJMX"
  364. # <Plugin "GenericJMX">
  365. # # See /usr/share/doc/collectd/examples/GenericJMX.conf
  366. # # for an example config.
  367. # </Plugin>
  368. #</Plugin>
  369. #<Plugin libvirt>
  370. # Connection "xen:///"
  371. # RefreshInterval 60
  372. # Domain "name"
  373. # BlockDevice "name:device"
  374. # InterfaceDevice "name:device"
  375. # IgnoreSelected false
  376. # HostnameFormat name
  377. # InterfaceFormat name
  378. #</Plugin>
  379. #<Plugin madwifi>
  380. # Interface "wlan0"
  381. # IgnoreSelected false
  382. # Source "SysFS"
  383. # WatchSet "None"
  384. # WatchAdd "node_octets"
  385. # WatchAdd "node_rssi"
  386. # WatchAdd "is_rx_acl"
  387. # WatchAdd "is_scan_active"
  388. #</Plugin>
  389. #<Plugin mbmon>
  390. # Host "127.0.0.1"
  391. # Port 411
  392. #</Plugin>
  393. #<Plugin md>
  394. # Device "/dev/md0"
  395. # IgnoreSelected false
  396. #</Plugin>
  397. #<Plugin memcachec>
  398. # <Page "plugin_instance">
  399. # Server "localhost"
  400. # Key "page_key"
  401. # <Match>
  402. # Regex "(\\d+) bytes sent"
  403. # ExcludeRegex "<lines to be excluded>"
  404. # DSType CounterAdd
  405. # Type "ipt_octets"
  406. # Instance "type_instance"
  407. # </Match>
  408. # </Page>
  409. #</Plugin>
  410. #<Plugin memcached>
  411. # Socket "/var/run/memcached.sock"
  412. # or:
  413. # Host "127.0.0.1"
  414. # Port "11211"
  415. #</Plugin>
  416. #<Plugin mysql>
  417. # <Database db_name>
  418. # Host "database.serv.er"
  419. # Port "3306"
  420. # User "db_user"
  421. # Password "secret"
  422. # Database "db_name"
  423. # MasterStats true
  424. # </Database>
  425. #
  426. # <Database db_name2>
  427. # Host "localhost"
  428. # Socket "/var/run/mysql/mysqld.sock"
  429. # SlaveStats true
  430. # SlaveNotifications true
  431. # </Database>
  432. #</Plugin>
  433. #<Plugin netlink>
  434. # Interface "All"
  435. # VerboseInterface "All"
  436. # QDisc "eth0" "pfifo_fast-1:0"
  437. # Class "ppp0" "htb-1:10"
  438. # Filter "ppp0" "u32-1:0"
  439. # IgnoreSelected false
  440. #</Plugin>
  441. #<Plugin network>
  442. # # client setup:
  443. # Server "ff18::efc0:4a42" "25826"
  444. # <Server "239.192.74.66" "25826">
  445. # SecurityLevel Encrypt
  446. # Username "user"
  447. # Password "secret"
  448. # Interface "eth0"
  449. # </Server>
  450. # TimeToLive "128"
  451. #
  452. # # server setup:
  453. # Listen "0.0.0.0" "25826"
  454. # <Listen "239.192.74.66" "25826">
  455. # SecurityLevel Sign
  456. # AuthFile "/etc/collectd/passwd"
  457. # Interface "eth0"
  458. # </Listen>
  459. # MaxPacketSize 1024
  460. #
  461. # # proxy setup (client and server as above):
  462. # Forward true
  463. #
  464. # # statistics about the network plugin itself
  465. # ReportStats false
  466. #
  467. # # "garbage collection"
  468. # CacheFlush 1800
  469. #</Plugin>
  470. #<Plugin nginx>
  471. # URL "http://localhost/status?auto"
  472. # User "www-user"
  473. # Password "secret"
  474. # VerifyPeer false
  475. # VerifyHost false
  476. # CACert "/etc/ssl/ca.crt"
  477. #</Plugin>
  478. #<Plugin notify_desktop>
  479. # OkayTimeout 1000
  480. # WarningTimeout 5000
  481. # FailureTimeout 0
  482. #</Plugin>
  483. #<Plugin notify_email>
  484. # SMTPServer "localhost"
  485. # SMTPPort 25
  486. # SMTPUser "my-username"
  487. # SMTPPassword "my-password"
  488. # From "collectd@main0server.com"
  489. # # <WARNING/FAILURE/OK> on <hostname>.
  490. # # Beware! Do not use not more than two placeholders (%)!
  491. # Subject "[collectd] %s on %s!"
  492. # Recipient "email1@domain1.net"
  493. # Recipient "email2@domain2.com"
  494. #</Plugin>
  495. #<Plugin ntpd>
  496. # Host "localhost"
  497. # Port 123
  498. # ReverseLookups false
  499. #</Plugin>
  500. #<Plugin nut>
  501. # UPS "upsname@hostname:port"
  502. #</Plugin>
  503. #<Plugin olsrd>
  504. # Host "127.0.0.1"
  505. # Port "2006"
  506. # CollectLinks "Summary"
  507. # CollectRoutes "Summary"
  508. # CollectTopology "Summary"
  509. #</Plugin>
  510. #<Plugin openvpn>
  511. # StatusFile "/etc/openvpn/openvpn-status.log"
  512. # ImprovedNamingSchema false
  513. # CollectCompression true
  514. # CollectIndividualUsers true
  515. # CollectUserCount false
  516. #</Plugin>
  517. #<Plugin perl>
  518. # IncludeDir "/my/include/path"
  519. # BaseName "Collectd::Plugins"
  520. # EnableDebugger ""
  521. # LoadPlugin Monitorus
  522. # LoadPlugin OpenVZ
  523. #
  524. # <Plugin foo>
  525. # Foo "Bar"
  526. # Qux "Baz"
  527. # </Plugin>
  528. #</Plugin>
  529. #<Plugin pinba>
  530. # Address "::0"
  531. # Port "30002"
  532. # <View "name">
  533. # Host "host name"
  534. # Server "server name"
  535. # Script "script name"
  536. # <View>
  537. #</Plugin>
  538. #<Plugin ping>
  539. # Host "host.foo.bar"
  540. # Host "host.baz.qux"
  541. # Interval 1.0
  542. # Timeout 0.9
  543. # TTL 255
  544. # SourceAddress "1.2.3.4"
  545. # Device "eth0"
  546. # MaxMissed -1
  547. #</Plugin>
  548. #<Plugin postgresql>
  549. # <Query magic>
  550. # Statement "SELECT magic FROM wizard WHERE host = $1;"
  551. # Param hostname
  552. #
  553. # <Result>
  554. # Type gauge
  555. # InstancePrefix "magic"
  556. # ValuesFrom "magic"
  557. # </Result>
  558. # </Query>
  559. #
  560. # <Query rt36_tickets>
  561. # Statement "SELECT COUNT(type) AS count, type \
  562. # FROM (SELECT CASE \
  563. # WHEN resolved = 'epoch' THEN 'open' \
  564. # ELSE 'resolved' END AS type \
  565. # FROM tickets) type \
  566. # GROUP BY type;"
  567. #
  568. # <Result>
  569. # Type counter
  570. # InstancePrefix "rt36_tickets"
  571. # InstancesFrom "type"
  572. # ValuesFrom "count"
  573. # </Result>
  574. # </Query>
  575. #
  576. # <Database foo>
  577. # Host "hostname"
  578. # Port 5432
  579. # User "username"
  580. # Password "secret"
  581. #
  582. # SSLMode "prefer"
  583. # KRBSrvName "kerberos_service_name"
  584. #
  585. # Query magic
  586. # </Database>
  587. #
  588. # <Database bar>
  589. # Interval 60
  590. # Service "service_name"
  591. #
  592. # Query backend # predefined
  593. # Query rt36_tickets
  594. # </Database>
  595. #</Plugin>
  596. #<Plugin powerdns>
  597. # <Server "server_name">
  598. # Collect "latency"
  599. # Collect "udp-answers" "udp-queries"
  600. # Socket "/var/run/pdns.controlsocket"
  601. # </Server>
  602. # <Recursor "recursor_name">
  603. # Collect "questions"
  604. # Collect "cache-hits" "cache-misses"
  605. # Socket "/var/run/pdns_recursor.controlsocket"
  606. # </Recursor>
  607. # LocalSocket "/opt/collectd/var/run/collectd-powerdns"
  608. #</Plugin>
  609. #<Plugin processes>
  610. # Process "name"
  611. # ProcessMatch "foobar" "/usr/bin/perl foobar\\.pl.*"
  612. #</Plugin>
  613. #<Plugin protocols>
  614. # Value "/^Tcp:/"
  615. # IgnoreSelected false
  616. #</Plugin>
  617. #<Plugin python>
  618. # ModulePath "/path/to/your/python/modules"
  619. # LogTraces true
  620. # Interactive true
  621. # Import "spam"
  622. #
  623. # <Module spam>
  624. # spam "wonderful" "lovely"
  625. # </Module>
  626. #</Plugin>
  627. #<Plugin rrdcached>
  628. # DaemonAddress "unix:/var/run/rrdcached.sock"
  629. # DataDir "/var/lib/rrdcached/db/collectd"
  630. # CreateFiles true
  631. # CollectStatistics true
  632. #</Plugin>
  633. <Plugin rrdtool>
  634. DataDir "/var/lib/collectd/rrd"
  635. # CacheTimeout 120
  636. # CacheFlush 900
  637. # WritesPerSecond 30
  638. # RandomTimeout 0
  639. #
  640. # The following settings are rather advanced
  641. # and should usually not be touched:
  642. # StepSize 10
  643. # HeartBeat 20
  644. # RRARows 1200
  645. # RRATimespan 158112000
  646. # XFF 0.1
  647. </Plugin>
  648. #<Plugin sensors>
  649. # SensorConfigFile "/etc/sensors3.conf"
  650. # Sensor "it8712-isa-0290/temperature-temp1"
  651. # Sensor "it8712-isa-0290/fanspeed-fan3"
  652. # Sensor "it8712-isa-0290/voltage-in8"
  653. # IgnoreSelected false
  654. #</Plugin>
  655. # See /usr/share/doc/collectd/examples/snmp-data.conf.gz for a
  656. # comprehensive sample configuration.
  657. #<Plugin snmp>
  658. # <Data "powerplus_voltge_input">
  659. # Type "voltage"
  660. # Table false
  661. # Instance "input_line1"
  662. # Scale 0.1
  663. # Values "SNMPv2-SMI::enterprises.6050.5.4.1.1.2.1"
  664. # </Data>
  665. # <Data "hr_users">
  666. # Type "users"
  667. # Table false
  668. # Instance ""
  669. # Shift -1
  670. # Values "HOST-RESOURCES-MIB::hrSystemNumUsers.0"
  671. # </Data>
  672. # <Data "std_traffic">
  673. # Type "if_octets"
  674. # Table true
  675. # InstancePrefix "traffic"
  676. # Instance "IF-MIB::ifDescr"
  677. # Values "IF-MIB::ifInOctets" "IF-MIB::ifOutOctets"
  678. # </Data>
  679. #
  680. # <Host "some.switch.mydomain.org">
  681. # Address "192.168.0.2"
  682. # Version 1
  683. # Community "community_string"
  684. # Collect "std_traffic"
  685. # Inverval 120
  686. # </Host>
  687. # <Host "some.server.mydomain.org">
  688. # Address "192.168.0.42"
  689. # Version 2
  690. # Community "another_string"
  691. # Collect "std_traffic" "hr_users"
  692. # </Host>
  693. # <Host "some.ups.mydomain.org">
  694. # Address "192.168.0.3"
  695. # Version 1
  696. # Community "more_communities"
  697. # Collect "powerplus_voltge_input"
  698. # Interval 300
  699. # </Host>
  700. #</Plugin>
  701. #<Plugin swap>
  702. # ReportByDevice false
  703. #</Plugin>
  704. #<Plugin table>
  705. # <Table "/proc/slabinfo">
  706. # Instance "slabinfo"
  707. # Separator " "
  708. # <Result>
  709. # Type gauge
  710. # InstancePrefix "active_objs"
  711. # InstancesFrom 0
  712. # ValuesFrom 1
  713. # </Result>
  714. # <Result>
  715. # Type gauge
  716. # InstancePrefix "objperslab"
  717. # InstancesFrom 0
  718. # ValuesFrom 4
  719. # </Result>
  720. # </Table>
  721. #</Plugin>
  722. #<Plugin "tail">
  723. # <File "/var/log/exim4/mainlog">
  724. # Instance "exim"
  725. # <Match>
  726. # Regex "S=([1-9][0-9]*)"
  727. # DSType "CounterAdd"
  728. # Type "ipt_bytes"
  729. # Instance "total"
  730. # </Match>
  731. # <Match>
  732. # Regex "\\<R=local_user\\>"
  733. # ExcludeRegex "\\<R=local_user\\>.*mail_spool defer"
  734. # DSType "CounterInc"
  735. # Type "counter"
  736. # Instance "local_user"
  737. # </Match>
  738. # </File>
  739. #</Plugin>
  740. <Plugin tcpconns>
  741. LocalPort "4001"
  742. LocalPort "7001"
  743. </Plugin>
  744. #<Plugin teamspeak2>
  745. # Host "127.0.0.1"
  746. # Port "51234"
  747. # Server "8767"
  748. #</Plugin>
  749. #<Plugin ted>
  750. # Device "/dev/ttyUSB0"
  751. # Retries 0
  752. #</Plugin>
  753. #<Plugin thermal>
  754. # ForceUseProcfs false
  755. # Device "THRM"
  756. # IgnoreSelected false
  757. #</Plugin>
  758. #<Plugin tokyotyrant>
  759. # Host "localhost"
  760. # Port "1978"
  761. #</Plugin>
  762. #<Plugin unixsock>
  763. # SocketFile "/var/run/collectd-unixsock"
  764. # SocketGroup "collectd"
  765. # SocketPerms "0660"
  766. # DeleteSocket false
  767. #</Plugin>
  768. #<Plugin uuid>
  769. # UUIDFile "/etc/uuid"
  770. #</Plugin>
  771. #<Plugin varnish>
  772. # <Instance>
  773. # CollectCache true
  774. # CollectBackend true
  775. # CollectConnections true
  776. # CollectSHM true
  777. # CollectESI false
  778. # CollectFetch false
  779. # CollectHCB false
  780. # CollectSMA false
  781. # CollectSMS false
  782. # CollectSM false
  783. # CollectTotals false
  784. # CollectWorkers false
  785. # </Instance>
  786. #
  787. # <Instance "myinstance">
  788. # CollectCache true
  789. # </Instance>
  790. #</Plugin>
  791. #<Plugin vmem>
  792. # Verbose false
  793. #</Plugin>
  794. #<Plugin write_graphite>
  795. # <Carbon>
  796. # Host "127.0.01"
  797. # Port "2003"
  798. # Prefix "collectd"
  799. # Postfix "collectd"
  800. # StoreRates false
  801. # AlwaysAppendDS false
  802. # EscapeCharacter "_"
  803. # </Carbon>
  804. #</Plugin>
  805. #<Plugin write_http>
  806. # <URL "http://example.com/collectd-post">
  807. # User "collectd"
  808. # Password "secret"
  809. # VerifyPeer true
  810. # VerifyHost true
  811. # CACert "/etc/ssl/ca.crt"
  812. # Format "Command"
  813. # StoreRates false
  814. # </URL>
  815. #</Plugin>
  816. #<Plugin write_mongodb>
  817. # <Node "example">
  818. # Host "localhost"
  819. # Port "27017"
  820. # Timeout 1000
  821. # StoreRates false
  822. # <Node>
  823. #</Plugin>
  824. Include "/etc/collectd/filters.conf"
  825. Include "/etc/collectd/thresholds.conf"