...
Element | Element description | Description | ||
---|---|---|---|---|
Job | Optional, once or more inside of NotificationObjects | elementelement | Restricts notifications for | job chainsorder jobs Job |
JobChain | Optional, once or more inside of NotificationObjects | elementelement | Restricts notifications for | jobsjob chains |
TimerRef | Optional, once or more inside of NotificationObjects element | Restricts notifications for performance checks (Timer) |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
<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:
Attribute | Usage | Description |
---|---|---|
notifications | Optional Integer | Specifies the number of notifications that are sent to a System Monitor. Default: |
scheduler_id | Optional | 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. |
name | Optional | 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_from | Optional | Restricts notifications for job chains to a sequence of job nodes that are specified with the step_from and step_to attributes. |
step_to | Optional | Restricts notifications for job chains to a sequence of job nodes that are specified with the step_from and step_to attributes. |
excluded_steps | Optional | Specifies the steps which will be excluded from the analyzing (separated by semicolon) |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
Code Block | ||||||
| ||||||
... <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:
Attribute | Usage | Description |
---|---|---|
notifications | Optional Integer | Specifies the number of notifications that are sent to a System Monitor. Default: |
scheduler_id | Optional | 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. |
name | Optional | 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_from | Optional | Restricts notifications for job chains to a sequence of job nodes that are specified with the step_from and step_to attributes. |
step_to | Optional | Restricts notifications for job chains to a sequence of job nodes that are specified with the step_from and step_to attributes. |
excluded_steps | Optional | Specifies the steps which will be excluded from the analyzing (separated by semicolon) |
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
... <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 | ||||||
---|---|---|---|---|---|---|
| ||||||
%TEMP%/test.exe |
...