Skip to main content

Use UNIX (epoch) time in nco_g_socket gateway


Technote (troubleshooting)


Problem(Abstract)

Using UNIX (epoch) time when sending events through the Socket Gateway.

Cause

All the time fields (First Occurrence, Last Occurrence, State Change, etc) are currently being sent as Human Readable time.

Resolving the problem

Convert the time fields from human readable to integer like so:

CREATE MAPPING StatusMap
(
...
'' = '@StateChange' CONVERT TO INTEGER,
'' = '@FirstOccurrence' CONVERT TO INTEGER,
'' = '@LastOccurrence' CONVERT TO INTEGER,
'' = '@InternalLast' CONVERT TO INTEGER,
...
)


Rate this page:

(0 users)Average rating

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

Tivoli Netcool/OMNIbus

Socket Gateway


Software version:
7.2.1, 7.3.0, 7.3.1


Operating system(s):
AIX, HP-UX, Linux, Solaris, Windows


Software edition:
All Editions


Reference #:
1616395


Modified date:
2012-11-15

Translate my page

Content navigation