Skip to main content
Version: 7.1

Service Level Objective: Edit

Designation​

Name
mc.ServiceLevelObjectiveEdit
Aliases
SLOEdit

Configuration​

Test mode (test-mode)
Activates a simulation mode
Monitor this Service Level Objective (monitoring)
Activates the monitoring of this Service Level Objective
Service Selection file (service-selection-file)
This file contains the service selection in JSON format
Runs shorter than the Maximum Runtime (MRT) of the service (consider-mrt)
Service is fulfilled if the execution takes less time than the maximum runtime (MRT) of the service.
Runs longer than the Minimum Runtime (SRT) of the service (consider-srt)
Service is fulfilled if the execution takes longer than the minimum runtime (SRT) of the service.
End with specific end status (consider-status)
Service is fulfilled when execution ends with specific status
Expected status (expected-status)
The expected status of the executionMögliche Werte: <Leerzeichen>, ANY_ABEND (ANY_ABEND), ANY_ABEND_EXCEPT_FAULT (ANY_ABEND_EXCEPT_FAULT), ANY_EXCEPT_FAULT (ANY_EXCEPT_FAULT), ANY_OK (ANY_OK), ANY_OK_OR_UNBLOCKED (ANY_OK_OR_UNBLOCKED), ANY_SKIPPED (ANY_SKIPPED), ENDED_CANCEL (ENDED_CANCEL), ENDED_EMPTY (ENDED_EMPTY), ENDED_ESCALATED (ENDED_ESCALATED), ENDED_INACTIVE (ENDED_INACTIVE), ENDED_INACTIVE_MANUAL (ENDED_INACTIVE_MANUAL), ENDED_NOT_OK (ENDED_NOT_OK), ENDED_NOT_OK_SYNC (ENDED_NOT_OK_SYNC), ENDED_OK (ENDED_OK), ENDED_OK_OR_EMPTY (ENDED_OK_OR_EMPTY), ENDED_OK_OR_INACTIV (ENDED_OK_OR_INACTIV), ENDED_OK_OR_UNBLOCKED (ENDED_OK_OR_UNBLOCKED), ENDED_SKIPPED (ENDED_SKIPPED), ENDED_SKIPPED_CONDITIONS (ENDED_SKIPPED_CONDITIONS), ENDED_SKIPPED_SYNC (ENDED_SKIPPED_SYNC), ENDED_TIMEOUT (ENDED_TIMEOUT), ENDED_TRUNCATE (ENDED_TRUNCATE), ENDED_UNDEFINED (ENDED_UNDEFINED), ENDED_VANISHED (ENDED_VANISHED), FAULT_ALREADY_RUNNING (FAULT_ALREADY_RUNNING), FAULT_NO_HOST (FAULT_NO_HOST), FAULT_OTHER (FAULT_OTHER)
Execute on violation (execute-on-violation)
Select if an object is to be executed in case of violation
Object (on-violation-object)
Object to be executed in case of violation

Input parameters​

Option service selection file

The input file for the service selection must be transferred in JSON format. The top element represents a group, which can contain an operator, a list of criteria and a list of other groups. Only the operator is a mandatory field. A criterion consists of the three mandatory fields attribute (attributeValue), operation (operation) and value (value). Possible attributes are OBJECT_NAME, OBJECT_TYPE, OBJECT_TITLE, ARCHIVE_KEY1, ARCHIVE_KEY2 and QUEUE. Possible operations are EQUALS, NOT_EQUALS, STARTS_WITH, ENDS_WITH and CONTAINS. Only the first two operations are available for the attribute OBJECT_TYPE and only *, CALL, EVNT, JOBF, JOBG, JOBP, JOBQ, JOBS, JSCH and SCRI can be transferred as values.

Example:

{
"operator": "ALL",
"criteria": [
{
"attributeValue": "OBJECT_NAME",
"operation": "STARTS_WITH",
"value": "B4A."
},
{
"attributeValue": "OBJECT_TYPE",
"operation": "EQUALS",
"value": "JOBP"
},
{
"attributeValue": "ARCHIVE_KEY1",
"operation": "CONTAINS",
"value": ".txt"
}
],
"groups": [
{
"operator": "ALL",
"criteria": [
{
"attributeValue": "OBJECT_NAME",
"operation": "ENDS_WITH",
"value": ".JOBP"
},
{
"attributeValue": "QUEUE",
"operation": "STARTS_WITH",
"value": "QUEUE"
}
],
"groups": [
{
"operator": "ALL",
"criteria": [
{
"attributeValue": "ARCHIVE_KEY2",
"operation": "NOT_EQUALS",
"value": "CSV"
}
]
}
]
},
{
"operator": "ANY",
"criteria": [
{
"attributeValue": "OBJECT_TITLE",
"operation": "CONTAINS",
"value": "Service:"
},
{
"attributeValue": "OBJECT_TITLE",
"operation": "CONTAINS",
"value": "Action:"
}
]
}
]
}