본문 바로가기

Monitoring Tools/Pinpoint

pinpoint | 9. [오류 수정] WEB - Agent Management - Agent 삭제시

반응형
## 다음과 같은 오류 발생시
Http failure response for http://192.168.6.131:8080/admin/removeAgentId.pinpoint?applicationName=pinpoint-host&agentId=pinpoint: 400 OK
 
 
http://192.168.6.131:8080/admin/removeAgentId.pinpoint?applicationName=pinpoint-host&agentId=pinpoint&password=$PASSWORD
## 위와 같이 applicationName, agentid, PASSWORD, 수정후 실행 하거나 아래와 같이 수정후 톰캣 재시작
 
 
[root@CC-MON-PINPOINT classes]# pwd
/usr/local/pinpoint/tomcat9/webapps/ROOT/WEB-INF/classes
[root@CC-MON-PINPOINT classes]# vim pinpoint-web.properties
-- 중략 --
# FIXME - should be removed for proper authentication
#admin.password=admin
 
 
## admin.password=admin << 주석처리
 
 
 
참조 : https://docs.ncloud.com/ko/pinpoint/pinpoint-1-2.html
Pinpoint Web에서 사용하지 않는 Application 및 Agent 정보를 아래와 같은 방법으로 삭제할 수 있습니다. $PASSWORD의 경우 $PINPOINT_HOME/pinpoint-web/webapps/pinpoint-web-1.7.3/WEB-INF/classes/pinpoint-web.properties 파일의 admin.password=xxxx를 참조합니다.
Application Name 삭제하기
/admin/removeApplicationName.pinpoint?applicationName=$APPLICATION_NAME&password=$PASSWORD
 
Agent ID 삭제하기
/admin/removeAgentId.pinpoint?applicationName=$APPLICATION_NAME&agentId=$AGENT_ID&password=$PASSWORD
반응형