When a host is in UPDATING state, operations are currently undergone to make the instance converge towards new host’s description. A change is a logical grouping of tasks. A host is in the state UPDATING as long as there is at least one change having at least one task pending. If a single task is in error, host’s state is ERROR.
The following elements are defined as part of a change:
{
"orderNum" : 0,
"description" : "Install WebServer",
"tasks" : [
{
"orderNum" : 0,
"status" : "OK",
"description" : "add package httpd"
},
{
"orderNum" : 1,
"status" : "PENDING",
"description" : "restart service httpd"
}
]
}
Changes are part of sub-collections of a host, below URLs are therefore relative.
changes[?show_processed=[true|false]]
changes/{order_num}
2016 © ComodIT. All Rights Reserved. Privacy Policy | Terms of Service