Sending events
Common problems that can occur when events are sent to the event server.
- My adapter is not sending all the events to the event server.
- Cause
- There is either a communication problem between the adapter and the event server, or there is a problem internal to the adapter code.
- Remedy
- Send events to a file instead of directly to the event server.
Then, verify the event delivery, as follows:
- Set the TestMode keyword to YES in the adapter configuration file.
- Specify the file to receive the events with the ServerLocation keyword.
- Restart the adapter.
- Review the file that is specified by the ServerLocation keyword and check to see whether all the events appear there.
- I am using the posteifmsg command to send events, but they are not arriving at the event server
- Cause
- The events are being sent to the cache on the adapter or gateway
because of one of the following situations:
- The
-S
option expects that aportmapper
, or similar program, is running at the receiving machine. For Windows systems, there is noportmapper
daemon. - A non-valid port, host name, or event server was specified.
- The
- Remedy
- Resolve the non-valid name or port issues.
- Multi-byte characters in an event that is generated by posteifmsg are garbled
- For locales that use multibyte characters: A message in an event
that is generated by posteifmsg is garbled. The
garbled message can be seen in the event list, the debug log of the
Probe for Tivoli EIF, and the cache file of the posteifmsg utility.
- Cause
- The posteifmsg utility fails to convert local DBCS message, such as Japanese, to UTF-8 encoded characters if the TISDIR environment variable is not set.
- Remedy
- Set the TISDIR environment variable to the path to the codeset directory before you run the posteifmsg utility. This directory is included in the EIF SDK for Tivoli Netcool/OMNIbus.
- posteifmsg processes do not complete
- If a cache file is shared by multiple posteifmsg processes,
some posteifmsg processes do not complete. Instead,
the processes hang.
- Cause
- Multiple instances of the posteifmsg utility cannot share a single cache file.
- Remedy
- Specify unique configuration files for each instance of posteifmsg. You can specify a cache file in configuration file for each instance of posteifmsg.