Use a host dependency when you want a host's status to depend on other host(s) status(es). More...
Public Member Functions | |
validate_object () | |
Make sure user-input is sane prior to invoking save/glue_objects. | |
compute_master_obj_id () | |
Computes a master object id. | |
prepare_draw () | |
Prepare the object for drawing in the gui. | |
get_cmd_bar_links () | |
Returns a list of actions that are legal for this object type. | |
Data Fields | |
$type = 'hostdependency' | |
object type | |
$master_obj_type = 'host' | |
master object type | |
$master_obj_candidates = array('host' => 'dependent_host_name', 'hostgroup' => 'dependent_hostgroup_name') | |
If there are several possible master object types for this object, list them here. | |
$master_obj_identifier = 'dependent_host_name' | |
Variable in this object identifying the master object. |
Use a host dependency when you want a host's status to depend on other host(s) status(es).
hostdependency_class::compute_master_obj_id | ( | ) |
Computes a master object id.
Reimplemented from object_class.
hostdependency_class::validate_object | ( | ) |
Make sure user-input is sane prior to invoking save/glue_objects.
service and dependent_service can legally be the same in 'new' if the user hasn't changed anything. This is the call for us to remove the 'new' object from the list.
Reimplemented from object_class.