콘텐츠로 이동

AIX SAP

AIX SAP input은 sapcontrol을 통해 SAP 인스턴스 프로세스, 큐, enqueue 및 고급 지표를 수집합니다.

설정

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

[[inputs.sap]]
# 인스턴스명으로, instance tag로 사용됩니다.
name = "sap00"
# 해당 SAP 인스턴스 수집을 활성화할지 여부.
enabled = true
# 수집 간격.
interval = "60s"
# 선택 사항, 수집 전에 인스턴스 환경 변수를 로드합니다.
env_file = ""
# work process, alert, instance 등의 고급 지표를 수집할지 여부.
collect_advanced = false
# 선택 사항, 사용자 정의 지표 명령. key=value 형식의 행을 출력합니다.
deep_metrics_command = ""
# SAP 인스턴스 번호.
instance_number = "00"
# sapcontrol 명령 경로.
sapcontrol = "sapcontrol"

명령 의존성

명령 설명
sapcontrol -nr <nr> -function GetProcessList 인스턴스 프로세스 상태를 수집합니다.
sapcontrol -nr <nr> -function GetQueueStatistic 큐 통계를 수집합니다.
sapcontrol -nr <nr> -function GetEnqueueStatistic enqueue 통계를 수집합니다.
sapcontrol -nr <nr> -function ABAPGetWPTable collect_advanced = true일 때 work process를 수집합니다.
sapcontrol -nr <nr> -function GetAlerts collect_advanced = true일 때 알림을 수집합니다.
sapcontrol -nr <nr> -function GetSystemInstanceList collect_advanced = true일 때 시스템 인스턴스 목록을 수집합니다.
deep_metrics_command 사용자 정의 명령으로, key=value 행을 출력해 사용자 정의 지표를 수집합니다.

지표

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

sap

태그 및 필드 설명
instance_number
(tag)
SAP 인스턴스 번호.
up 실행 중인 프로세스가 있는지 여부.
Type: int | (gauge)
running_processes 실행 중인 프로세스 수.
Type: int | (gauge)
Unit: count
stopped_processes 중지된 프로세스 수.
Type: int | (gauge)
Unit: count

sap_queue

태그 및 필드 설명
instance_number
(tag)
SAP 인스턴스 번호.
queue_length 현재 큐 길이.
Type: float | (gauge)
Unit: count
queue_high 큐 최고 수위.
Type: float | (gauge)
Unit: count
queue_max 큐 최대값.
Type: float | (gauge)
Unit: count
queue_writes 큐 쓰기 횟수.
Type: float | (count)
Unit: count
queue_reads 큐 읽기 횟수.
Type: float | (count)
Unit: count

sap_enqueue

태그 및 필드 설명
instance_number
(tag)
SAP 인스턴스 번호.
enqueue_locks enqueue lock 수.
Type: float | (gauge)
Unit: count
enqueue_waits enqueue wait 수.
Type: float | (count)
Unit: count
enqueue_errors enqueue error 수.
Type: float | (count)
Unit: count
enqueue_high enqueue 최고 수위.
Type: float | (gauge)
Unit: count
enqueue_max enqueue 최대값.
Type: float | (gauge)
Unit: count
used_pct 사용률.
Type: float | (gauge)
Unit: percent

sap_work_process

태그 및 필드 설명
instance_number
(tag)
SAP 인스턴스 번호.
wp_type
(tag)
work process 유형.
count work process 수량.
Type: int | (gauge)
Unit: count
running running work process 수량.
Type: int | (gauge)
Unit: count
waiting waiting work process 수량.
Type: int | (gauge)
Unit: count
held held work process 수량.
Type: int | (gauge)
Unit: count
stopped stopped work process 수량.
Type: int | (gauge)
Unit: count
errors error work process 수량.
Type: int | (gauge)
Unit: count

sap_alert

태그 및 필드 설명
instance_number
(tag)
SAP 인스턴스 번호.
severity
(tag)
알림 수준.
count 현재 수준의 알림 수.
Type: int | (gauge)
Unit: count

sap_instance

태그 및 필드 설명
instance_number
(tag)
SAP 인스턴스 번호.
instance
(tag)
SAP 시스템 인스턴스명.
hostname
(tag)
인스턴스 호스트명.
host
(tag)
인스턴스 호스트.
dispstatus
(tag)
인스턴스 상태.
features
(tag)
인스턴스 기능 목록.
instance_nr 인스턴스 번호.
Type: int | (gauge)
http_port HTTP 포트.
Type: int | (gauge)
https_port HTTPS 포트.
Type: int | (gauge)
start_priority 시작 우선순위.
Type: int | (gauge)
up 인스턴스 실행 여부.
Type: int | (gauge)

사용자 정의 지표

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

Measurement Tags 설명
sap_st03 metric, task_type, unit 사용자 정의 ST03 지표.
sap_stad transaction, user, client 사용자 정의 STAD 지표.
sap_ccms node, severity, class 사용자 정의 CCMS 지표.
sap_deep_metric metric, unit 범용 SAP 사용자 정의 지표.

문서 평가

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