[ Datadog ] Datadog 설정시 5000, 5001, 5002 Port 설정을 변경하고 싶습니다.

Print

기본적으로 에이전트는 Linux에서 3개 port , Windows 및 OSX에서 4개 포트를 바인딩합니다.

위 port들이 datadog agent가 아닌 다른서비스에서 점유중이라면

agent log상에 관련 포트 에러가 발생하거나, windows의 경우 datadog Agent manager gui를 사용할 수 없게 되거나, agent 가 정상적으로 기동이 안될 가능성도 있습니다.

datadog.yaml 파일에서 다음처럼 각 항목의 주석을 제거하고 port는 각각 5000/5001/5002에서 다른 appl에서 점유중이 아닌 port로 변경 후 agent를 재기동 하시면 됩니다.

datadog.yaml 관련 sample(6000번대로 변경 예)

## @param expvar_port - integer - optional - default: 5000

## @env DD_EXPVAR_PORT - integer - optional - default: 5000

## The port for the go_expvar server.

#

expvar_port: 6000



## @param cmd_port - integer - optional - default: 5001

## @env DD_CMD_PORT - integer - optional - default: 5001

## The port on which the IPC api listens.

#

cmd_port: 6001



## @param GUI_port - integer - optional

## @env DD_GUI_PORT - integer - optional

## The port for the browser GUI to be served.

## Setting 'GUI_port: -1' turns off the GUI completely

## Default is:

##  * Windows & macOS : `5002`

##  * Linux: `-1`

##

#

GUI_port: 6002

이 답변이 유용합니까? 아니오

Send feedback
도움이 되어드리지 못해 죄송합니다. 아티클 개선을 위해 의견을 제공해 주시기 바랍니다.