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 클라이언트

경보 조치 나열

경보 조치 나열 명령은 모든 경보 조치를 나열합니다. 단일 리소스에 대한 데이터를 가져오려면 HTTP GET 요청을 지정된 경보 조치 리소스의 href 등록 정보에 전송합니다.

경보 조치를 가져오는 요청의 예:

GET /api/alert/v1/actions HTTP/1.1
Authorization: Basic abcd123MWE=
Host: zfs-storage.example.com:215
Accept: application/json

응답 예:

HTTP/1.1 200 OK
X-Zfssa-Appliance-Api: 1.0
Content-Type: application/json
Content-Length: 1395

{
    "actions": [
        {
            "action": "actions-000",
            "category": "smf",
            "href": "/api/alert/v1/actions/actions-000",
            "service_failures": true
        },
        {
            "action": "actions-001",
            "category": "scrk",
            "href": "/api/alert/v1/actions/actions-001",
            "action-000": {
                    "handler": "snmp_trap",
                    "href": "/api/alert/v1/alerts/actions/actions-001
                             /action-000"
            },
            "action-001": {
                    "address": "Joe.Admin@acme.com",
                    "handler": "email",
                    "href": "/api/alert/v1/actions/actions-001
                             /action-001",
                    "subject": "Phone Home Alert"
            },
            "support_bundle_build_failed": true,
            "support_bundle_sent": true,
            "support_bundle_upload_failed": true
        },
        {
            "action": "actions-002",
            "category": "thresholds",
            "href": "/api/alert/v1/actions/actions-002",
            "action-000": {
                    "address": "Joe.Admin@acme.com",
                    "handler": "email",
                    "href": "/api/alert/v1/actions/actions-002
                             /action-000",
                    "subject": "CPU Busy Alert"
            },
            "thresholdid": "b182ca05-53d3-6604-b874-ec353335704d"
        }
    ]
}