콘텐츠로 이동

AIX WebSphere

AIX WebSphere input는 serverStatus.sh를 통해 server 상태를 수집하며, metrics_command 출력으로 JVM, thread pool, HTTP session 등의 지표를 지원합니다.

구성

[inputs]
# 미들웨어 input 전체 스위치.
enabled = true

[[inputs.websphere]]
# 인스턴스명이며, instance tag로 사용됩니다.
name = "AppSrv01"
# 해당 WebSphere 인스턴스 수집을 활성화할지 여부.
enabled = true
# 수집 간격.
interval = "60s"
# 선택 사항, 수집 전에 인스턴스 환경 변수를 로드합니다.
env_file = ""
# WebSphere profile 경로.
profile_path = "/opt/IBM/WebSphere/AppServer/profiles/AppSrv01"
server_status = "/opt/IBM/WebSphere/AppServer/profiles/AppSrv01/bin/serverStatus.sh"
server_name = "server1"
# 선택 사항, JVM, thread pool, session 지표를 출력하는 사용자 정의 명령.
metrics_command = ""
# 선택 사항, 사용자 정의 지표 명령, key=value 행을 출력합니다.
deep_metrics_command = ""

명령 의존성

명령 설명
serverStatus.sh -all WebSphere server의 시작/중지 상태를 수집합니다.
metrics_command 사용자 정의 명령으로 JVM, thread pool, session 지표를 출력합니다.
deep_metrics_command 사용자 정의 명령으로 key=value 행을 출력하며, 사용자 정의 지표를 수집합니다.

지표

모든 지표에는 host, input=websphere, instance=<name> 태그가 추가됩니다.

websphere

태그 및 필드 설명
server
(tag)
server 이름.
up started server가 존재하는지 여부.
Type: int | (gauge)
started_servers STARTED server 수.
Type: int | (gauge)
Unit: count
stopped_servers STOPPED server 수.
Type: int | (gauge)
Unit: count
기타 필드 metrics_command 출력의 숫자형 key=value 필드.
Type: float | (gauge)

websphere_jvm

태그 및 필드 설명
server
(tag)
server 이름.
jvm
(tag)
JVM 이름.
heap_used_mb 사용 중인 heap.
Type: float | (gauge)
Unit: digital,MB
heap_committed_mb committed heap.
Type: float | (gauge)
Unit: digital,MB
heap_max_mb 최대 heap.
Type: float | (gauge)
Unit: digital,MB
threads thread 수.
Type: float | (gauge)
Unit: count
gc_count GC 횟수.
Type: float | (count)
Unit: count
gc_time_ms GC 시간.
Type: float | (count)
Unit: time,ms

websphere_thread_pool

태그 및 필드 설명
thread_pool
(tag)
thread pool 이름.
active 활성 thread 수.
Type: float | (gauge)
Unit: count
pool_size thread pool 크기.
Type: float | (gauge)
Unit: count
hung hung thread 수.
Type: float | (gauge)
Unit: count
declared_thread_hung declared hung 수.
Type: float | (count)
Unit: count
cleared_thread_hung cleared hung 수.
Type: float | (count)
Unit: count

websphere_http_session

태그 및 필드 설명
application
(tag)
애플리케이션 이름.
live 현재 live session 수.
Type: float | (gauge)
Unit: count
created 생성된 session 수.
Type: float | (count)
Unit: count
invalidated invalidated session 수.
Type: float | (count)
Unit: count
timeout_invalidated timeout invalidated session 수.
Type: float | (count)
Unit: count

사용자 정의 지표

사용자 정의 지표 필드는 deep_metrics_command 출력에 의해 결정됩니다. 표에 나열된 필드는 tag로 사용되며, 다른 key=value 중 숫자는 float | (gauge) field로 보고되고, 숫자가 아닌 값은 tag로 처리됩니다. 숫자 field가 없으면 count=1이 추가되며, 단위는 count입니다.

Measurement Tags 설명
websphere_pmi metric, module, unit 사용자 정의 PMI 지표.
websphere_jmx mbean, attribute, unit 사용자 정의 JMX 지표.
websphere_application application, module, status 사용자 정의 애플리케이션 지표.
websphere_deep_metric metric, unit 범용 WebSphere 사용자 정의 지표.

문서 평가

이 페이지가 도움이 되었나요?