Go to main content
Oracle® ZFS Storage Appliance 관리 설⁠명⁠서, 릴⁠리⁠스 OS8.6.x

인쇄 보기 종료

업데이트 날짜: 2016년 9월
 
 

경보 조치 추가(CLI)

  1. configuration alerts actions 컨텍스트를 입력하고 create 명령을 입력합니다.
  2. get category = (unset)을 입력하여 "category" 등록 정보로 이동합니다.
  3. set category=thresholds를 입력합니다.
  4. set thresholdid=where [id is the identifier that was automatically created for the threshold alert를 입력합니다.
  5. commit을 입력합니다.
  6. list를 입력하여 새 경보 조치의 이름과 번호를 확인합니다. 지정된 조치 및 처리기가 없는 임계값이 있는지 확인합니다.
  7. select actions-where [number is the same number identified in the previous step을 입력합니다.
  8. action을 입력한 다음 get을 입력합니다.
  9. 기본적으로 경보 유형은 전자 메일입니다. 기본값을 그대로 적용하려면 다음 단계로 건너뜁니다. 기본값을 사용하지 않으려면 set handler=where [type is either snmptrap, syslog, resumedataset, suspenddataset, resumeworksheet, suspendworksheet 또는 executeworkflow를 입력합니다. 그런 다음 get을 입력하여 필요한 인수를 확인합니다. snmptrapsyslog에만 인수가 없습니다.
  10. 필요한 인수를 개별적으로 설정합니다. 예를 들어, 전자 메일 경보에 대한 제목 라인을 설정하려면 set subject=where [subject is the desired email subject line을 입력합니다.
  11. show 명령을 사용하여 모든 인수가 입력되었는지 확인합니다.
  12. commit을 입력한 다음 list를 입력합니다. 필요한 경우 인수를 수정합니다.
  13. done을 입력한 다음 done을 다시 입력합니다.

관련 항목