IBM Support

IV08858: POLL DEFINITION SYNTAX ERROR WHILE NAME STARTS WITH NUMERIC

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Poller sometimes cannot work while poll definition name starts
    with numeric or special character.
    
    And may get the following warinings from log:
    
    2011-09-22T23:52:50: Warning: W-RIV-002-016: [146164624t]
    CPollerThresholdParser.cc(137) Syntax error - parse failure
    Syntax error at line 1 of: (<poll definition name and formula>)
    2011-09-22T23:52:50: Warning: W-RIV-002-016: [146164624t]
    CGenericThresholdTemplate.cc(757) Syntax error - parse failure
    error returned by threshold parser
    2011-09-22T23:52:50: Warning: W-RIV-002-128: [146164624t]
    CGenericThresholdTemplate.cc(347)  failed to parse failExpr
    expression for poll '<poll definition name>'
    2011-09-22T23:52:50: Warning: W-RIV-002-128: [146164624t]
    CMonitorTemplate.cc(141)  cannot initialise template [62] '<poll
    definition name>'
    

Local fix

  • change poll definition name starting with a-z A-Z
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * All ITNM 3.8 and 3.9 Poller GUI  users                       *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * Poller sometimes cannot work while poll definition name      *
    * starts with numeric or special character.                    *
    * If the poll definition involves polling for a single oid     *
    * (meaning no expressions), using an integer in the first      *
    * character was fine; if expressions are used however the      *
    * parser throws an error when there is a number in the first   *
    * character of the poll def name:                              *
    * 2011-09-22T23:52:50: Warning: W-RIV-002-016:                 *
    * [146164624t]CPollerThresholdParser.cc(137) Syntax error -    *
    * parse failure                                                *
    * Syntax error at line 1 of: (<poll definition name and        *
    * formula>)                                                    *
    * 2011-09-22T23:52:50: Warning: W-RIV-002-016:                 *
    * [146164624t]CGenericThresholdTemplate.cc(757) Syntax error - *
    * parse failure error returned by threshold parser             *
    * 2011-09-22T23:52:50: Warning: W-RIV-002-128:                 *
    * [146164624t]CGenericThresholdTemplate.cc(347)  failed to     *
    * parse failExpr expression for poll '<poll definition name>'  *
    * 2011-09-22T23:52:50: Warning: W-RIV-002-128:                 *
    * [146164624t]CMonitorTemplate.cc(141)  cannot initialize      *
    * template [62] '<polldefinition name>                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    * | fix pack | 3.8.0-ITNMIP-FP0007                             *
    * | fix pack | 3.9.0-ITNMIP-FP0002                             *
    ****************************************************************
    

Problem conclusion

  • in 3.9 and later, name has been restricted to alphanumeric
    characters, underscores, and spaces.
    
    Move 3.8 to the same restriction level 3.9 is using. In
    addition, restrict the first character to be letters only
    /^[A-Za-z][A-Za-z0-9 _]*$/
    
    This is applied to 3.8 and 3.9+.
    
     3.9  name is further restricted to alphanumeric characters,
    underscores, and spaces, like this:
    /^[A-Za-z0-9 _]*$/
    
    the change is to restrict first character to letters only, like
    this:
    /^[A-Za-z][A-Za-z0-9 _]*$/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV08858

  • Reported component name

    TIV NETWK MGR I

  • Reported component ID

    5724S4500

  • Reported release

    380

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-10-08

  • Closed date

    2011-11-11

  • Last modified date

    2012-06-20

  • 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

    NC/PRECISIONIP

  • Fixed component ID

    5724O52RC

Applicable component levels

  • R380 PSN

       UP

  • R380 PSY

       UP

  • R390 PSN

       UP

  • R390 PSY

       UP

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCP984","label":"Discovery and RCA"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"380","Edition":"","Line of Business":{"code":"","label":""}}]

Document Information

Modified date:
20 June 2012