IBM Tivoli Netcool/OMNIbus, 버전 7.4

예제: 명령행 또는 스크립트에서 임시 이벤트 목록 시작

이 예제는 UNIX 및 Windows에서 모두 명령행 또는 스크립트에서 직접 임시 이벤트 목록을 실행하는 방법을 표시합니다.

예제: UNIX의 nco_elct 명령

다음 명령은 default.elv 보기 파일을 사용하여 NCOMS ObjectServer에서 임시 이벤트 목록을 작성합니다. wombat 노드의 이벤트만 이벤트 목록에 표시됩니다.

$NCHOME/omnibus/bin/nco_elct -server NCOMS -username root -password "" 
-vfile "$NCHOME/omnibus/desktop/default.elv" -ftext "( Node = \'wombat\' )"

예제: Windows의 NCOelct 명령

다음 명령은 lview.elv 보기 파일 및 tool.elf 필터 파일을 사용하여 NYC ObjectServer에서 임시 이벤트 목록을 작성합니다.

%NCHOME%\omnibus\desktop\NCOelct.exe -server NYC -username root -password "" 
-elv "%NCHOME%\omnibus\ini\lview.elv" -elf "%NCHOME%\omnibus\ini\tool.elf"
-params "wombat"

tool.elf 파일은 선행하는 NCOelct 명령에서 참조되며 다음 내용을 포함합니다.

filter_name = 'ToolFilter';
filter_text = '( Node = \'@NodeName\')';
filter_metric = 'avg(Severity)';
# End of file

명령 또는 스크립트를 실행하면 -params 옵션 다음에 오는 문자열 wombattool.elf 파일에서 @NodeName 플레이스홀더와 바뀌므로 wombat 노드의 이벤트만 이벤트 목록에 표시됩니다.


라이브러리 | 지원 |
마지막 업데이트 날짜: 2012년 11월