I am running Connect-It V3.6.1 and TEC V3.9 FP06 on AIX V5.X.
The send2cit.sh script has a configuration option to send a TEC event when it can't talk to the TEC connector across the wire. I have the tecevent.config file set to send the TEC event;-
SendEventOnCnxFailure = true
CnxFailureEventSeverity = CRITICAL
SendEventCommand = wpostzmsg (or postemsg or wpostemsg)
TECServer = localhost ( send2cit.sh is on same server as TEC)
TECPort = 0 (running portmapper on AIX)
EventSource = LOGFILE
When I simulate a comms error by changing the Connect-It port I get the following error in the send2cit.log logfile
2007/06/06 13:12:26 0 1 [main] The command to send an event to the TEC server has failed (return code: 1).
2007/06/06 13:12:28 0 2 [main] The event could not be sent. It has been added to the cache.
The event cache file gets built correctly, but no TEC event gets sent.
If I add a (w)post(e/z)msg directly to the send2cit.sh script I get a TEC event.
Have the correct .jars in the same directory as the send2cit.sh script and the config file. Have tried fully pathing the postemsg, changing ports, fqhostname of TEC, sourcing Tivoli environment, etc. but no go ! I cannot see the JAVA error
Anyone had this issue and got it working ???
THX


Reply With Quote
Bookmarks