명령 인터페이스를 사용하여 이벤트를 이벤트 서버에 제출할 수 있습니다.
이벤트 서버에 이벤트를 전송합니다.
emitevent.jacl 스크립트는 이벤트 서버에 이벤트를 제출하는 데 필요한 명령행 인터페이스를 제공합니다. 소스 XML 파일을 제공하거나 명령행에 등록 정보 값을 지정하여 이벤트 컨텐츠를 제공할 수 있습니다.
<CommonBaseEvent creationTime=current_system_time version="1.0.1"> <sourceComponentId component="emitevent.jacl" componentIdType="Application" location=local_hostname locationType="Hostname" subComponent="com.ibm.events.cli.util.EmitEventCliHelper" componentType="http://www.ibm.com/namespaces/autonomic/Tivoli /EventInfrastructure"/> <situation categoryName="ReportSituation"> <situationType xsi:type="ReportSituation" reasoningScope="EXTERNAL" reportCategory="CLI"/> </situation> </CommonBaseEvent>
current_system_time 매개변수는 XML 날짜/시간 문자열로 지정된 이벤트가 생성된 시스템 시간입니다.
두 샘플 XML eventsample1.xml 및 eventsample2.xml 파일은 install_root/events/samples 디렉토리에서 사용 가능합니다.
wsadmin -f emitevent.jacl -severity 30 -extensionname test_event
wsadmin -f emitevent.jacl -xml ../samples/eventsample1.xml
최종 갱신: 2006년 4월 13일
(c) Copyright IBM Corporation 2005, 2006.
이 Information Center는 Eclipse 기술을 기반으로 합니다. (http://www.eclipse.org 웹 사이트 참조)