 |
Support & downloads > |
 |
 |
 |
Custom Action To Reset Event Status Before Sending To The TEC Server
|
| | | 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 | | | | | | | | Product Alias/Synonym | | tec | | |
| | |
 |
| 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. |
 |
 |
 |
| Please take a moment to complete this form to help us better serve you. |
 |
 |
 |
|
|
|
 |
 |
| 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 |
 |
|