network.conf 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. # The `ebpf load mode` option accepts the following values :
  2. # `entry` : The eBPF collector only monitors calls for the functions, and does not show charts related to errors.
  3. # `return : In the `return` mode, the eBPF collector monitors the same kernel functions as `entry`, but also creates
  4. # new charts for the return of these functions, such as errors.
  5. #
  6. # The eBPF collector also creates charts for each running application through an integration with the `apps.plugin`
  7. # or `cgroups.plugin`.
  8. # If you want to disable the integration with `apps.plugin` or `cgroups.plugin` along with the above charts, change
  9. # the setting `apps` and `cgroups` to 'no'.
  10. #
  11. # The following options change the hash table size:
  12. # `bandwidth table size`: Maximum number of connections monitored
  13. # `ipv4 connection table size`: Maximum number of IPV4 connections monitored
  14. # `ipv6 connection table size`: Maximum number of IPV6 connections monitored
  15. # `udp connection table size`: Maximum number of UDP connections monitored
  16. #
  17. # The `ebpf type format` option accepts the following values :
  18. # `auto` : The eBPF collector will investigate hardware and select between the two next options.
  19. # `legacy`: The eBPF collector will load the legacy code. Note: This has a bigger overload.
  20. # `co-re` : The eBPF collector will use latest tracing method. Note: This is not available on all platforms.
  21. #
  22. # The `ebpf co-re tracing` option accepts the following values:
  23. # `trampoline`: This is the default mode used by the eBPF collector, due the small overhead added to host.
  24. # `tracepoint`: When available, the eBPF collector will use kernel tracepoint to monitor syscall.
  25. # `probe` : This is the same as legacy code.
  26. #
  27. # The `maps per core` defines if hash tables will be per core or not. This option is ignored on kernels older than 4.6.
  28. #
  29. # The `lifetime` defines the time length a thread will run when it is enabled by a function.
  30. #
  31. # Uncomment lines to define specific options for thread.
  32. [global]
  33. # ebpf load mode = entry
  34. # apps = yes
  35. # cgroups = no
  36. # update every = 10
  37. bandwidth table size = 16384
  38. ipv4 connection table size = 16384
  39. ipv6 connection table size = 16384
  40. udp connection table size = 4096
  41. ebpf type format = auto
  42. ebpf co-re tracing = trampoline
  43. maps per core = no
  44. lifetime = 300
  45. #
  46. # Network Connection
  47. #
  48. # This is a feature with status WIP(Work in Progress)
  49. #
  50. [network connections]
  51. maximum dimensions = 50
  52. resolve hostnames = no
  53. resolve service names = no
  54. ports = *
  55. ips = !127.0.0.1/8 10.0.0.0/8 172.16.0.0/12 192.168.0.0/16 fc00::/7 !::1/128
  56. hostnames = *
  57. [service name]
  58. 19999 = Netdata