IBM Support

IY98977: TEC EVENT MSG SLOT IS TRUNCATED FOR SOME SITUATIONS

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment:
    
    Reproduced internally on standalone ITM 6.1 FP4 with IF11,
    AIX 5.3, TEMS/TEPS/UNIX Agent
    
    Problem Description:
    
    TEC Event Forwarding is enabled on the Hub.  A situation with
    the following formula is used (output is from "tacmd viewsit -s
    <Situation>"):
    
       *IF *VALUE Process.User_Name *EQ testuser *AND *MISSING
       Process.Process_Command *EQ ( 'testprocess' )
    
    When this Situation becomes true, a TEC Event is successfully
    sent.  However, the TEC Event has the "msg" slot truncated
    
    Detailed Recreation Procedure:
    
    TEC Event Forwarding is enabled on the Hub.  A situation with
    the following formula is used (output is from "tacmd viewsit
    -s <Situation>"):
    
       *IF *VALUE Process.User_Name *EQ testuser *AND *MISSING
       Process.Process_Command *EQ ( 'testprocess' )
    
    When this Situation becomes true, a TEC Event is successfully
    sent.  However, the TEC Event has the "msg" slot truncated, as
    follows:
    
       ...;msg='sit_88221_test1[(User_Name="testuser" AND ) ON
       bootcamp.tivlab.austin.ibm.com:K (User_Name="testuser"
       )]';....
    
       Notice that the "msg" slot stops the Situation Description at
    "AND )", but does not include the remaining portion of the
    situation formula. Normally, the full situation formula
    appears here.
    
    (NOTE: Related Files and Output all on ECuRep.
    Pertinent logs:
    
    --TEMS log with at least "ERROR (UNIT:kfaot ALL)" tracing
    enabled
    
    (NOTE: bootcamp_ms_46326cbf-01.log .  See line 1514
    and above.)
    
    (NOTE: the "ERROR (UNIT:kfaot ALL)" was added via the
       Service Console after the TEMS was already started, so you
    will not see the setting explicitly in the log; but it was
    definitely set,)
    
    --Situation Dump: (tacmd viewsit -s <Situation> > viewsit1.out)
    
    --Situation Dump, XML format: (tacmd viewsit -s <Situation> -e
    viewsit2.out)
    
    Suspected Problem:
    
    The *MISSING clause in the situation predicate isn't being
    parsed.
    

Local fix

Problem summary

  • If a situation has the MISSING clause in it, then the resulting
    TEC event has the msg slot value truncated i.e.:
    
     msg=sit_88221_test1[(User_Name="testuser" AND
     SYSTEM.SEARCH(Process.Process_Command,'MISSING','testprocess')
     ON bootcamp.tivlab.austin.ibm.com:K (User_Name="testuser"
     )]'
    
    has the msg slot value truncated to:
    
     msg='sit_88221_test1[(User_Name="testuser" AND ) ON
     bootcamp.tivlab.austin.ibm.com:K (User_Name="testuser"
     )]'
    

Problem conclusion

  • The problem was because of the way the predicates surrounded by
    ( ) are handled by the code.
    
    The code has been changed to take care of the "MISSING"
    predicate, and copy it as such to the msg slot in its entirity.
    
    Limitation:
    All other function predicates like SUM, COUNT, MIN, MAX etc. are
    currently broken.  For each of these functions, the msg slot is
    truncated.  An internal design defect has been opened to track
    the limitation as a redesign will be needed to resolve it.
    
    
    The fix for this APAR is contained in the following maintenance
    packages:
    
     | fix pack | 6.1.0-TIV-ITM-FP0007
     | fix pack | 6.2.0-TIV-ITM-FP0001
    

Temporary fix

Comments

APAR Information

  • APAR number

    IY98977

  • Reported component name

    TEMS

  • Reported component ID

    5724C04MS

  • Reported release

    610

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2007-05-21

  • Closed date

    2008-05-21

  • Last modified date

    2008-05-21

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    OA24686 OA24709

Fix information

  • Fixed component name

    TEMS

  • Fixed component ID

    5724C04MS

Applicable component levels

  • R610 PSY

       UP

  • R620 PSY

       UP

[{"Business Unit":{"code":"BU054","label":"Systems w\/TPS"},"Product":{"code":"SSCTLMP","label":"ITM Tivoli Enterprise Mgmt Server V6"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"610","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
21 May 2008