Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagexml
 <?xml version="1.0" encoding="utf-8"?>
 <CheckHistoryConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="CheckHistoryConfiguration_v1.0.xsd">
     <MonitoredObject>
	      <!-- configure job chains for monitoring -->
          <JobChains>
	          <JobChain name="samples/sample_jobChain_1"/>
              <JobChain name="samples/sample_jobChain_2"/>
              <JobChain name="samples/sample_jobChain_3"/>
		 	  <JobChain name="sample*" restriction="." /> 
		 </JobChains>
 
          <!-- configure checks for performance measurement -->
	      <Timers>
              <Timer>
		      <!-- 
              configure job chains and expected maximum execution time for performance measurement
 
              impact: if the execution time of step 100 on current order in job chain samples/sample_jobChain_1 is greater as 10 seconds,
              the current order will be set as performance problem. 
              -->
                  <JobChains>
		              <JobChain name="samples/sample_jobChain_1" step_from="100" step_to="100"/>
	              </JobChains>
                  <Maximum><Script language="javascript"><![CDATA[10]]></Script></Maximum>
		      </Timer>
	      </Timers>
      </MonitoredObject>
  </CheckHistoryConfiguration>

...

  • MonitoredObject/JobChains (optional) can contain several JobChain definitions for monitoring of error or success conditions
    • JobChain (required) has the following attributes (one of scheduler_id or name must be set):
      • scheduler_id (optional) - JobScheduler instance with the given identification. By default - JobChain will be checked in all JobScheduler instances that logged into the same database
      • name (optional) - Job chain name including possible folder names. By default - all JobChains for defined scheduler_id are checked
        •  
              
          namerestrictionOutputDescription
          samples* 
          samples/sample_jobChain_1
          samples/sample_jobChain_2
          samples/sample_jobChain_3
          job chain names starting with samples
              
          *_jobChain_1 
          samples/sample_jobChain_1
          job chain names ending with _jobChain_1
          *_jobChain_* 
          samples/sample_jobChain_1
          samples/sample_jobChain_2
          samples/sample_jobChain_3
          job chain names containing _jobChain_
          samples*   
      • step_from (optional) - Start Job node name for checking
      • step_to (optional) - End Job node name for checking
  • MonitoredObject/Timers (optional) can contain several Timer definitions for performance measurement
    • Timer (required) has the following elements
      • JobChains (optional) - can contain several JobChain definitions for performance measurement
        • JobChain (required) has the following attributes (one of scheduler_id or name must be set):
          • scheduler_id (optional) - JobScheduler instance with the given identification. By default - JobChain will be checked in all JobScheduler instances that logged into the same database
          • name (optional) - Job chain name including possible folder names. By default - all JobChains for defined scheduler_id are checked
          • step_from (optional) - Start Job node name for checking
          • step_to (optional) - End Job node name for checking
      • Minimum (optional) - expected minimum execution time for all configured job chains in the MonitoredObject/Timers/Timer/JobChains
        • Script (required) - definition of the expected minimum value and has the following attributes
          • language (required) - script engine. currently javascript engine will be supported
      • Maximum (optional) - expected maximum execution time for all configured job chains in the MonitoredObject/Timers/Timer/JobChains
        • Script (required) - definition of the expected maximum value and has the following attributes
          • language (required) - script engine. currently javascript engine will be supported

...