暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

etc_collectd_collectd.conf.j2 580B

1234567891011121314151617181920212223242526272829
  1. BaseDir "/etc/collectd"
  2. LoadPlugin syslog
  3. LoadPlugin cpu
  4. LoadPlugin interface
  5. LoadPlugin load
  6. LoadPlugin memory
  7. LoadPlugin disk
  8. LoadPlugin df
  9. LoadPlugin rrdtool
  10. <Plugin rrdtool>
  11. DataDir "/opt/collectd/var/lib/collectd/rrd"
  12. </Plugin>
  13. {% if (collectd_librato_email|length and collectd_librato_api_token|length) %}
  14. <LoadPlugin python>
  15. Globals true
  16. </LoadPlugin>
  17. <Plugin write_http>
  18. <URL "https://collectd.librato.com/v1/measurements">
  19. User "{{ collectd_librato_email }}"
  20. Password "{{ collectd_librato_api_token }}"
  21. Format "JSON"
  22. </URL>
  23. </Plugin>
  24. {% endif %}