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

Add comments

Document information


More support for:

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

Machine Translation

Content navigation