Skip to content

Commit

Permalink
Use the correct socket for system probe on Windows (#833)
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-lebot authored Jan 5, 2022
1 parent 019eb36 commit 03df284
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion attributes/default.rb
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,13 @@
# the NPM module of system probe will still run.
default['datadog']['system_probe']['enabled'] = false
# sysprobe_socket defines the unix socket location
default['datadog']['system_probe']['sysprobe_socket'] = '/opt/datadog-agent/run/sysprobe.sock'
default['datadog']['system_probe']['sysprobe_socket'] =
if platform_family?('windows')
'localhost:3333'
else
'/opt/datadog-agent/run/sysprobe.sock'
end

# debug_port is the http port for expvar, it is disabled if set to 0
default['datadog']['system_probe']['debug_port'] = 0
default['datadog']['system_probe']['bpf_debug'] = false
Expand Down

0 comments on commit 03df284

Please sign in to comment.