APAR status
Closed as fixed if next.
Error description
Environment: Hub TEMS: ITM 6.1 FP7 on 64-bit AIX 5.3 (This was reproduced only on AIX 5.3 by the customer and internally also; it was not reproduced on other platforms such as Windows) Problem: Attempting to reference variables in the msg slot of a situation entry in a *.map file is failing. Variables such as "$hostname$" and "$situation_name$" work fine in the "msg" slot of situation entries for the product-provided k<ProductCode>.map files, but they are not working for a customer-written *.map file. L2 Recreate: A sample excerpt from the customer *.map file: <situation name="A_WIN_*_Service_NotRunning"> <class name="ITM_NT_Services"/> <slot slotName="msg"> <literalString value="TEST hostname=$hostname$ and situation_name= "$situation_name$"/></slot> </situation> Enabling "ERROR (UNIT:kfaot ALL)" tracing on the Hub TEMS shows the event becoming true: (47947166.0001-3:kfaottev.c,325,"KFAOT_Translate_Event") Input sitEvent: sitName, <A_WIN_I_Service_NotRunning>, oStatus< >, nStatus<Y>, severity<Informational > It finds the event mapping file fine: (47947166.001E-3:kfaotevm.c,267,"KFAOT_Find_Event_Map") sitname = <A_WIN_I_Service_NotRunning>. map entry = <32097A38>. generic = <NULL> pattern = <A_WIN_*_Service_NotRunning> It then goes through numerous functions to build the slots, entering a Format_Msg_Slot() function, and Escape_SingleQuote() a couple times, but there is no additional tracing available to show variable substitution to indicate why it fails. A sample event maps the "msg" slot, but doesn't substitute the "hostname" and "situation_name" values within the "msg" slot: (47947166.0050-D:kfaotste.c,87,"Send_Tec_Events") tec event<ITM_NT_Services;cms hostname='aplux141.apl.achmea.nl';cms_port='3661';integration_ty pe='N';master_re set_flag='';appl_label='';situation_name='A_WIN_I_Service_NotRun ning';si tuation_origin='Primary:C0124081:NT';situation_time='01/21/2008 11:18:14.000';situation status='Y';hostname='C0124081';origin='10.101.174.38';adapter_ho st='REM_C0124081 ';severity='HARMLESS';date='01/21/2008';source='ITM';sub_source= 'Primary:C012408 1:NT';situation_displayitem='wscsvc';sub_origin='wscsvc';msg='TE ST hostname= and situation_name=';situation_eventdata='~';END^P^A> Related Files and Output: Customer files are on ECuRep in the /ecurep/pmr/3/5/35308,211,788/35308.211.788-1_pmr_35308_211_788. zip_unzip directory. The files are: scenario.txt: explains what was done to reproduce. A_WIN_I_Service_NotRunning.xml: output from "tacmd viewSit". Note that other Situations (disk-based Situation writte to check for low filesystem space, for example) have the same problem provided the *.map file is written for it the same way. screenprint_TEC.doc: shows TEC console, where the event for ITM_NT_Services has a "msg" value of "TEST hostname= and situation_name=" (missing the values for hostname and situation_name). kcustom_*.map: the map file used on the Hub TEMS L2 Creator: BY L3 Approver: DK
Local fix
-
Problem summary
This APAR is being closed FIN with concurrence from the submitting customer. This means that a Solution to this APAR is expected to be delivered from IBM in a release (if any) to be available within the next 24 months.
Problem conclusion
Temporary fix
Comments
APAR Information
APAR number
IZ27249
Reported component name
TEC GUI INTEGRA
Reported component ID
5724C04TG
Reported release
610
Status
CLOSED FIN
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2008-07-16
Closed date
2008-07-24
Last modified date
2008-07-28
APAR is sysrouted FROM one or more of the following:
APAR is sysrouted TO one or more of the following:
Fix information
Applicable component levels
R610 PSN
UP
R620 PSN
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCTLMS","label":"ITM TEC GUI Integration V6"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
28 July 2008