콘텐츠로 이동

AIX IHS

AIX IHS input은 Apache/IHS mod_status를 통해 worker, 요청 수, scoreboard를 수집합니다. status_url이 설정되지 않으면 apachectl -t로 가용성과 설정 검사를 수행합니다.

설정

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

[[inputs.ihs]]
# 인스턴스 이름으로, instance tag로 사용됩니다.
name = "ihs"
# 해당 IHS 인스턴스 수집을 활성화할지 여부.
enabled = true
# 수집 간격.
interval = "60s"
# 선택 사항, 수집 전에 인스턴스 환경 변수를 로드합니다.
env_file = ""
# apachectl 명령 경로.
apachectl = "/opt/IBM/HTTPServer/bin/apachectl"
# mod_status auto 출력 주소.
status_url = "http://127.0.0.1/server-status?auto"

명령 의존성

명령 설명
GET <status_url> 권장. server-status?auto 메트릭을 수집합니다.
apachectl -t status_url이 설정되지 않았을 때 IHS 설정과 가용성을 검사합니다.

지표

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

ihs

태그 및 필드 설명
up IHS의 사용 가능 여부.
Type: int | (gauge)
status_code status_url HTTP 상태 코드.
Type: int | (gauge)
busy_workers BusyWorkers.
Type: int | (gauge)
Unit: count
idle_workers IdleWorkers.
Type: int | (gauge)
Unit: count
total_accesses Total Accesses.
Type: int | (count)
Unit: count
total_kbytes Total kBytes.
Type: int | (count)
Unit: digital,KB
uptime_seconds IHS uptime.
Type: int | (gauge)
Unit: time,s
scoreboard_waiting 대기 중인 worker 수.
Type: int | (gauge)
Unit: count
scoreboard_starting 시작 중인 worker 수.
Type: int | (gauge)
Unit: count
scoreboard_reading 요청을 읽는 worker 수.
Type: int | (gauge)
Unit: count
scoreboard_sending 응답을 보내는 worker 수.
Type: int | (gauge)
Unit: count
scoreboard_keepalive KeepAlive worker 수.
Type: int | (gauge)
Unit: count
scoreboard_open_slot open slot 수.
Type: int | (gauge)
Unit: count

문서 평가

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