Technote (FAQ)
This document applies only to the following language version(s):
English
Question
wsetemsg command requires TEC Event_ID as the parameter.
How can the Event_ID be made?
Cause
"Command and Task Reference" explains as below.
"event_ID
Specifies the ID of the event to be modified. The event ID is comprised of
event_handle, server_handle, and date_reception"
Answer
Concrete steps to generate the Event_ID is as below.
extract "event_handle, server_handle, and date_reception" with wtdumper -d
ex:
#wtdumper -d
:
Logfile_Base;
server_handle=1;
date_reception=1339899889;
event_handle=3;
source=LOGFILE;
sub_source=LOGFILE;
origin=9.188.123.92;
sub_origin=jive;
hostname=jive;
adapter_host=N/A;
status=OPEN;
administrator='';
acl=[ admin];
severity=WARNING;
date='Jun 7 19:07:35';
duration=0;
msg='user:err|error last message repeated 4 times';
msg_catalog=none;
msg_index=0;
num_actions=0;
credibility=1;
repeat_count=0;
cause_date_reception=0;
cause_event_handle=0;
pid=N/A;
END
:
take "event_handle=3;、server_handle=1;date_reception=1339899889;"
#wsetemsg -r HARMLESS "pokka console" 311339899889
Rate this page:
Copyright and trademark information
IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.