Няма описание
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.

opt_etc_collectd.conf.j2 708B

1234567891011121314151617181920212223242526272829303132
  1. BaseDir "/opt/collectd"
  2. LoadPlugin syslog
  3. LoadPlugin cpu
  4. LoadPlugin interface
  5. LoadPlugin load
  6. LoadPlugin memory
  7. LoadPlugin disk
  8. LoadPlugin df
  9. {% if (collectd_librato_email|length and collectd_librato_api_token|length) %}
  10. <LoadPlugin python>
  11. Globals true
  12. </LoadPlugin>
  13. <Plugin python>
  14. ModulePath "/opt/collectd-librato-{{ collectd_librato_version }}/lib"
  15. Import "collectd-librato"
  16. <Module "collectd-librato">
  17. Email "{{ collectd_librato_email }}"
  18. APIToken "{{ collectd_librato_api_token }}"
  19. TypesDB "/opt/collectd/share/collectd/types.db"
  20. </Module>
  21. </Plugin>
  22. {% else %}
  23. LoadPlugin rrdtool
  24. <Plugin rrdtool>
  25. DataDir "/opt/collectd/var/lib/collectd/rrd"
  26. </Plugin>
  27. {% endif %}