HCL Workload Automation, Version 9.4

TWSApplicationMonitor events

TWSApplicationMonitor events concern HCL Workload Automation processes, file system, and message box. They are:
  • MessageQueuesFilling
  • TivoliWorkloadSchedulerFileSystemFilling
  • TivoliWorkloadSchedulerProcessNotRunning

TWSApplicationMonitor events are not supported on IBM i systems.

Click here to see the Dynamic Workload Console fields for each event type.
Note: PDF users, the above parameter tables are an html file referenced by the PDF. It is not saved locally with the PDF from the infocenter. You must first view it on the infocenter before saving or printing.

Example

The rule in the following example logs warning message LOGMSG01W as soon as either intercom or mailbox message queue files on workstation NC122160 reach 70 percent of their size.
<?xml version="1.0"?>
<eventRuleSet xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xmlns="http://www.ibm.com/xmlns/prod/tws/1.0/event-management/rules"
      xsi:schemaLocation="http://www.ibm.com/xmlns/prod/tws/1.0/
                          event-management/rules/EventRules.xsd">
   <eventRule name="TWS_APPL_MONITOR_MESSAGE_QUEUES_FILLING" ruleType="filter" isDraft="no">
      <description>Event: Message queues filling; Action: Message logger</description>
      <timeZone>America/Los_Angeles</timeZone>
      <validity from="2011-04-25"/>
      <activeTime end="17:00:00"/> 
      <eventCondition name="twsMesQueEvt1" eventProvider="TWSApplicationMonitor"
 eventType="TWSMessageQueues">
      <scope>INTERCOM, MAILBOX FILLED UP 70% ON NC122160</scope>
         <filteringPredicate>
          <attributeFilter name="MailboxName" operator="eq">
         <value>intercom</value>
         <value>mailbox</value>
          </attributeFilter>
         <attributeFilter name="FillingPercentage" operator="ge">
         <value>70</value>
         </attributeFilter>
         <attributeFilter name="Workstation" operator="eq">
         <value>NC122160</value>
         </attributeFilter>
         <attributeFilter name="SampleInterval" operator="eq">
         <value>60</value>
         </attributeFilter>
                  </filteringPredicate>
      </eventCondition>
      <action actionProvider="MessageLogger" actionType="MSGLOG" responseType="onDetection">
         <description>Write a warning message log</description>
         <scope>OBJECT=LOGMSG01W MESSAGE=MAILBOX AND/OR INTERCOM QUEUE 
                HAS REACHED 70% OF FILLING</scope>
         <parameter name="ObjectKey">
            <value>LOGMSG01W</value>
         </parameter>
         <parameter name="Message">
            <value>Mailbox and/or Intercom queue has reached 70% of filling</value>
         <parameter name="Severity">
            <value>Warning</value>
      </action>
   </eventRule>
</eventRuleSet>