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