IBM Support

IZ21860: IPADDRESSTONAME FUNCTION TRUNCATES HOSTNAME TO IPADDR LENGTH

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Environment: ITM V6.2 Universal Agent.
    Problem Description: using the function ipaddresstoname
    within the metafile in order to get the hostname from a given
    ip address, the expected result is wrong because the
    length of the field that contains the hostname value is set
    equal to the length of the ip address string.
    So, in case of
    11.111.111.222 (14 chars length) should be hostserver1.dom.de
    but it is
    showed as hostserver1.do
    2.2.2.2 should be prova.domain.short.com but it is showed as
    prova.d
    Detailed Recreation Procedure: Use a metafile that includes
    at least two attributes, in example:
    //APPL IpaddrTest
    //NAME IPADDRTESTLOG E
    //SOURCE FILE d:ヌtestヌiplog.txt TAIL
    //ATTRIBUTES
    SourceIP D 40
    DeviceName (ipAddressToName = SourceIP)
    ----------------------------------
    After having imported the metafile, put into the file iplog.txt
    one of the address you want to translate into hostname values
    and look at the resulting string in TEP client.
    Related Files and Output:Into Ecurep respository
    

Local fix

Problem summary

  • When using UA's derived function named IPADDRESSTONAME in an
    attribute definition, if the host name of specified IP address
    is longer than string length of IP address, the resultant
    hostname value will be truncated by UA and the truncated
    hostname value will appear in TEP.
    

Problem conclusion

  • The code was modified to correct the assigned string length of
    resultant hostname value.
    
    The fix for this APAR is contained in the following maintenance
    packages:
      | fix pack | 6.2.0-TIV-ITM-FP0002
    

Temporary fix

Comments

APAR Information

  • APAR number

    IZ21860

  • Reported component name

    UNIVERSAL AGENT

  • Reported component ID

    5724K1000

  • Reported release

    620

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2008-05-06

  • Closed date

    2008-10-31

  • Last modified date

    2008-10-31

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

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

Fix information

  • Fixed component name

    UNIVERSAL AGENT

  • Fixed component ID

    5724K1000

Applicable component levels

  • R620 PSY

       UP

[{"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSSHL9","label":"Tivoli Universal Agent"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"620","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
31 October 2008