SHARE
TWEET

Untitled

a guest Apr 27th, 2016 86 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. [server]
  2. #handlers = diamond.handler.graphite.GraphiteHandler, diamond.handler.archive.ArchiveHandler
  3. handlers = diamond.handler.graphite.GraphiteHandler
  4. user =
  5. group =
  6. pid_file = /var/run/diamond.pid
  7. collectors_path = /usr/share/diamond/collectors/
  8. collectors_config_path = /etc/diamond/collectors/
  9. handlers_config_path = /etc/diamond/handlers/
  10. handlers_path = /usr/share/diamond/handlers/
  11. [handlers]
  12. keys = rotated_file
  13. [[default]]
  14. [[ArchiveHandler]]
  15. log_file = /var/log/diamond/archive.log
  16. days = 7
  17. [[GraphiteHandler]]
  18. host = influxhost
  19. port = 2003
  20. timeout = 15
  21. batch = 1
  22. [collectors]
  23. [[default]]
  24. interval = 300
  25. [[CPUCollector]]
  26. enabled = True
  27. [[DiskSpaceCollector]]
  28. enabled = True
  29. [[DiskUsageCollector]]
  30. enabled = True
  31. [[LoadAverageCollector]]
  32. enabled = True
  33. [[MemoryCollector]]
  34. enabled = True
  35. [[MemoryDockerCollector]]
  36. enabled = True
  37. [[NetworkCollector]]
  38. enabled = True
  39. [[SockstatCollector]]
  40. enabled = True
  41. [[TCPCollector]]
  42. enabled = True
  43. [[VMStatCollector]]
  44. enabled = True
  45. [[RabbitMQCollector]]
  46. enabled  = True
  47. host     = xxx.com:15672
  48. user     = xxx
  49. password = xxx
  50. #metrics_whitelist = /((\bservers\b.\brab)[0-9]*)(\b.rabbitmq\b.)(health|cluster|queue_totals|object_totals|message_stats)(\b.)(.*)/g
  51. cluster  = True
  52. [vhosts]
  53. * = *
  54. [loggers]
  55. keys = root
  56. [formatters]
  57. keys = default
  58. [logger_root]
  59. level = INFO
  60. handlers = rotated_file
  61. propagate = 1
  62. [handler_rotated_file]
  63. class = handlers.TimedRotatingFileHandler
  64. level = DEBUG
  65. formatter = default
  66. args = ('/var/log/diamond/diamond.log', 'midnight', 1, 7)
  67. [formatter_default]
  68. format = [%(asctime)s] [%(threadName)s] %(message)s
  69. datefmt =
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top