JavaScript is required to for searching.
탐색 링크 건너뛰기
인쇄 보기 종료
Oracle® ZFS Storage Appliance RESTful 응용 프로그램 프로그래밍 인터페이스 설명서
Oracle 기술 네트워크
라이브러리
PDF
인쇄 보기
피드백
search filter icon
search icon

문서 정보

이 설명서 사용

 1 개요

 2 API 작업

 3 경보 서비스 명령

경보 서비스 명령

경보 임계값

경보 임계값 나열

경보 임계값 가져오기

경보 임계값 만들기

경보 임계값 수정

경보 임계값 삭제

경보 조치

경보 조치 나열

경보 조치 가져오기

경보 조치 만들기

경보 조치 수정

경보 조치 삭제

경보 조치 항목

경보 항목 만들기

경보 조치 수정

경보 조치 항목 삭제

 4 Analytics Services

 5 하드웨어 서비스

 6 로그 명령

 7 네트워크 명령

 8 문제 서비스 명령

 9 역할 서비스

 10 SAN 서비스

 11 서비스 명령

 12 스토리지 서비스

 13 시스템 명령

 14 사용자 서비스

 15 워크플로우 명령

 16 RESTful 클라이언트

경보 조치 만들기

JSON 객체를 포함하는 경보 조치 POST 요청을 만들 때 조치 등록 정보가 /api/alert/v1/alerts/actions에 전송되어야 합니다. 만들 조치 유형을 선택하도록 범주 등록 정보를 설정해야 합니다. 지정된 시스템에서 사용 가능한 모든 범주 값은 CLI 설명서를 참조하십시오.

일반적으로 범주 값에는 다음이 포함됩니다.

"ad", "all", "appliance_software", "backup", "cluster", "custom",
"hardware", "hardware_faults", "ndmp", "network", "replication",
"replication_source", "replication_target", "restore", "scrk", "shadow",
"smf", "thresholds" or "zfs_pool"

요청 예:

POST /api/alert/v1/actions HTTP/1.1
Host: zfssa.example.com:215
X-Auth-Session: uerqghq84vbdv
Content-Type: application/json
Content-Length: 30

{"category": "hardware_faults"}

응답 예:

HTTP/1.1 201 Created
X-Zfssa-Appliance-Api: 1.0
Content-Type: application/json
Content-Length: 118
Location: /api/alert/v1/actions/actions-006

{
    "action": {
        "href": "/api/alert/v1/actions/actions-006",
        "category": "hardware_faults",
        "all_hardware_faults": true
    }
}