Versions Compared

Key

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

...

JobChainelement job chainselement  jobs
ElementElement descriptionDescription
Job Optional, once or more inside of NotificationObjects element  Restricts notifications for order jobs Job
JobChainOptional, once or more inside of NotificationObjects elementRestricts notifications for job chains
TimerRefOptional, once or more inside of NotificationObjects elementRestricts notifications for performance checks (Timer)
Code Block
languagexml
titleExample
collapsetrue
<SystemMonitorNotification system_id="op5"> 
  <Notification> 
    <NotificationMonitor service_name_on_error="JobScheduler Monitoring Errors"> 
      ... 
    </NotificationMonitor> 
    <NotificationObjects>
      <!-- Send the job error, occurrent in the "test/my_job" order job, to the "JobScheduler Monitoring Errors" service. -->        
      <Job name="test/my_job" /> 
      <!-- Send the job chain error, occurrent in the "test/my_jobchain" job chain, to the "JobScheduler Monitoring Errors" service. --> 
      <JobChain name="test/my_jobchain" /> 
    </NotificationObjects> 
 </Notification> 
</SystemMonitorNotification>  

 

SystemMonitorNotification / Notification / NotificationObjects /

...

Job

JobChain Job supports the following attributes:

AttributeUsageDescription
notifications

Optional

Integer

Specifies the number of notifications that are sent to a System Monitor.

Default: 1

scheduler_idOptional

Notifications are restricted to the JobScheduler instance with the given identification. By default notifications will be sent for all JobScheduler instances that log into the same database.

Regular expression can be used.

nameOptional

Job chain name including possible folder names.

Regular expression can be used.

return_code_from Optional Restricts notifications for jobs for job chains  for a particular return code range. 
return_code_from Optional  Restricts notifications for job chains for jobs for a particular return code range.  
step_fromOptionalRestricts notifications for job chains to a sequence of job nodes that are specified with the step_from and step_to attributes.
step_toOptionalRestricts notifications for job chains to a sequence of job nodes that are specified with the step_from and step_to attributes.
excluded_stepsOptionalSpecifies the steps which will be excluded from the analyzing (separated by semicolon)
Code Block
language
Code Block
languagexml
titleExample
collapsetrue
...
<JobChain<Job notifications="2" name="test/my_jobchainjob"/>
...
<JobChain<Job scheduler_id="scheduler_4444" />
...
<JobChain<Job scheduler_id="scheduler_4444" name="^(test/my)" />
... 
<JobChain<Job name="test/my_jobchainjob" return_code_from="5"/> 
...  
<JobChain<Job name="test/my_jobchainjob" return_code_to="10"/>
...  
<JobChain<Job name="test/my_jobchainjob" return_code_from="5" return_code_to="5"/>  
...
<JobChain name="test/my_jobchain" step_from="200"/>
...
<JobChain name="test/my_jobchain" step_to="500"/>
...
<JobChain name="test/my_jobchain" step_from="300" step_to="300"/>
...
<JobChain name="test/my_jobchain" excluded_steps="200;300"/>
...

 

SystemMonitorNotification / Notification / NotificationObjects / Job

 

SystemMonitorNotification / Notification / NotificationObjects / JobChain

JobChain Job supports the following attributes:

AttributeUsageDescription
notifications

Optional

Integer

Specifies the number of notifications that are sent to a System Monitor.

Default: 1

scheduler_idOptional

Notifications are restricted to the JobScheduler instance with the given identification. By default notifications will be sent for all JobScheduler instances that log into the same database.

Regular expression can be used.

nameOptional

Job chain name including possible folder names.

Regular expression can be used.

return_code_from Optional Restricts notifications for jobs for job chains  for a particular return code range. 
return_code_from Optional  Restricts notifications for jobs for job chains for a particular return code range.  
step_fromOptionalRestricts notifications for job chains to a sequence of job nodes that are specified with the step_from and step_to attributes.
step_toOptionalRestricts notifications for job chains to a sequence of job nodes that are specified with the step_from and step_to attributes.
excluded_stepsOptionalSpecifies the steps which will be excluded from the analyzing (separated by semicolon)
Code Block
languagexml
titleExample
collapsetrue
...
<Job<JobChain notifications="2" name="test/my_jobchain"/>
...
<JobChain scheduler_id="scheduler_4444" />
...
<JobChain scheduler_id="scheduler_4444" name="^(test/my)" />
... 
<JobChain name="test/my_jobjobchain" return_code_from="5"/> 
... 
<JobChain name="test/my_jobchain" return_code_to="10"/>
...
<Job scheduler_id="scheduler_4444" />... 
<JobChain name="test/my_jobchain" return_code_from="5" return_code_to="5"/>  
...
<Job<JobChain scheduler_idname="schedulertest/my_4444jobchain" namestep_from="^(test/my)" 200"/>
... 
<Job<JobChain name="test/my_jobjobchain" returnstep_code_fromto="5500"/> 
...  
<Job<JobChain name="test/my_jobjobchain" return_codestep_from="300" step_to="10300"/>
...  
<Job<JobChain name="test/my_jobjobchain" returnexcluded_code_fromsteps="5" return_code_to="5"/>  200;300"/>
...

 

SystemMonitorNotification / Notification / NotificationObjects / TimerRef

...

All variables must be defined by using of the %<variable name>% {<variable name>} syntax.

The order of the substitution the variables values is:

...

OS environment variables 

 

All existing system OS environment variables can be defined by message using the syntax %<variable name>% (Windows/) or $<variable name> (Unix).

Code Block
languagexml
titleExample Windows
collapsetrue
 %TEMP%/test.exe

...