Advertisement
jjjman321

telegraf.conf

May 20th, 2021
48
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.14 KB | None | 0 0
  1. [global_tags]
  2. [agent]
  3. interval = "10s"
  4. round_interval = true
  5. metric_batch_size = 1000
  6. metric_buffer_limit = 10000
  7. collection_jitter = "0s"
  8. flush_interval = "10s"
  9. flush_jitter = "0s"
  10. precision = ""
  11. debug = false
  12. quiet = false
  13. logfile = ""
  14. hostname = ""
  15. omit_hostname = false
  16.  
  17. # Outputs
  18. [[outputs.influxdb]]
  19. urls = ["http://192.168.1.200:8086"]
  20. database = "telegraf"
  21. retention_policy = ""
  22. write_consistency = "any"
  23. timeout = "5s"
  24.  
  25. # Inputs
  26. [[inputs.apcupsd]]
  27. [[inputs.cpu]]
  28. percpu = true
  29. totalcpu = true
  30. collect_cpu_time = false
  31. report_active = false
  32. [[inputs.sensors]]
  33. [[inputs.disk]]
  34. ignore_fs = ["tmpfs", "devtmpfs", "devfs"]
  35. #[[inputs.smart]]
  36. # attributes = true
  37. [[inputs.diskio]]
  38. device_tags = ["ID_SERIAL"]
  39. [[inputs.kernel]]
  40. [[inputs.mem]]
  41. [[inputs.processes]]
  42. [[inputs.swap]]
  43. [[inputs.system]]
  44. [[inputs.net]]
  45. interfaces = ["eth0"]
  46. [[inputs.netstat]]
  47. [[inputs.docker]]
  48. endpoint = "unix:///var/run/docker.sock"
  49. gather_services = false
  50. container_names = []
  51. container_name_include = []
  52. timeout = "5s"
  53. perdevice = true
  54. docker_label_include = []
  55.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement