71 views

Description

If the HP OMi connector receives the last event time stamp in long format, the conversion to UTC format does not take into account different time zones. When the OMi instance is in a timezone with (-), after some time events will stop coming and you will see an error on the connector.
 

Steps to Reproduce

 

When running HP OMi, note that the connector is not pulling the latest events and an error occurs.

Workaround

If you are able to upgrade, review the Fixed In and Intended Fix Version fields to determine whether any versions have a permanent fix.

For a temporary fix, change a line in the connector script:

  1. Navigate to Event Management > Connectors > Connector Definitions.

  2. Go to OMi and click the "i" next to Javascript to run and open the record.

  3. Change the following line around link 529. (Add the +"Z" next to seconds.)

    Change from:

    if(!!simple){

              ret = ""+(year + "-" + month + "-" + day + "T" + hour + ":" + minute + ":" + seconds);

    To:

    if(!!simple){

              ret = ""+(year + "-" + month + "-" + day + "T" + hour + ":" + minute + ":" + seconds+"Z");

 


Related Problem: PRB1241027

Seen In

There is no data to report.

Fixed In

Jakarta Patch 10
Kingston Patch 8
London

Associated Community Threads

There is no data to report.

Article Information

Last Updated:2018-06-17 07:56:27
Published:2018-04-02