network.conf 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  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. [global]
  28. # ebpf load mode = entry
  29. # apps = yes
  30. # cgroups = no
  31. # update every = 10
  32. bandwidth table size = 16384
  33. ipv4 connection table size = 16384
  34. ipv6 connection table size = 16384
  35. udp connection table size = 4096
  36. ebpf type format = auto
  37. ebpf co-re tracing = trampoline
  38. #
  39. # Network Connection
  40. #
  41. # This is a feature with status WIP(Work in Progress)
  42. #
  43. [network connections]
  44. maximum dimensions = 50
  45. resolve hostnames = no
  46. resolve service names = no
  47. ports = *
  48. 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
  49. hostnames = *
  50. [service name]
  51. 19999 = Netdata