Skip to main content

Support & downloads  >  

Custom Action To Reset Event Status Before Sending To The TEC Server

 Technote (troubleshooting)
 
Problem(Abstract)
The TEC Event Server will not process events through the rules engine if they come in as closed.
 
Resolving the problem
Using the attached java and xml files, complete the following:
- cd /
- Create the following directory:

/com/tivoli/zce/actions/libs

- Place the ResetStatus.java file in

/com/tivoli/zce/actions/libs

- Compile the ResetStatus.java file into a Java Class file
by running a command similar to the following:

/usr/java14/bin/javac -classpath
/usr/local/Tivoli/bin/generic_unix/TME/TEC/zce.jar
/com/tivoli/zce/actions/libs/ResetStatus.java

*NOTE*:
The ResetStatus.class file will be created in /com/tivoli/zce/actions/libs/ResetStatus.class

- Create a jar file from the resulting class file using a
command similar to the following:

/usr/java14/bin/jar -cvf \
/usr/local/Tivoli/bin/generic_unix/TME/TEC/cust_action/ResetStatus.jar /com/tivoli/zce/actions/libs/ResetStatus.class

*NOTE*:
This jar file should be independent of platform, so it can be transferred from gateway to gateway and used there without the above build steps

- Add to classpath of tec_gateway, in the tec_gateway.conf, add this line:

APPEND_CLASSPATH=/usr/local/Tivoli/bin/generic_unix/TME/TEC/cust_action/ResetStatus.jar

*NOTE*:
INCLUDE THE NAME OF THE JAR FILE IN THE APPEND_CLASSPATH STATEMENT

- Stop and restart the tec_gateway process by killing the running
tec_gateway process and redistributing the tec_gateway profile

*NOTE*:
If the NON-TME Gateway receiver is also being used, the tec_gwr process must be killed before redistributing the tec_gateway profile
 
tecroot.xmlResetStatus.java
 
Product Alias/Synonym
tec
 
 
 

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
Please take a moment to complete this form to help us better serve you.
This material provides me with the information I need.




This material is clear and easy to understand.




Did the information help you to achieve your goal?
What updates, improvements, or related information would you like to see in this document?
Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.
Input the verification number to submit feedback:
Document information
 Product categories:
 Software
 Systems and Asset Management
 Event Management Automation
 IBM Tivoli Enterprise Console
 Operating system(s):
  AIX, HP-UX, Linux, Solaris, Windows
 Software version:
  3.9
 Reference #:
  1243485
 IBM Group:
 Software Group
 Modified date:
 2009-07-01

Translate My Page
 
 

Rate this page

Help us improve this page. Your response will be used to improve our document content. Requests for assistance, if applicable, should be submitted through your normal support channel as we cannot respond from this site.