A host template is used for inheritance, so that you could base your hosts with common properties on one of these. More...
Public Member Functions | |
get_properties () | |
Fetches the properties for the current object type. | |
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 = 'host_template' | |
object type | |
$is_template = true | |
template or not? | |
$db_table = 'host' | |
database table to use | |
$def_new_obj | |
default settings for new objects | |
$slave_types = false | |
A list of object types that might depend on this object type, or false. |
A host template is used for inheritance, so that you could base your hosts with common properties on one of these.
host_template_class::$def_new_obj |
array('name' => '', 'check_command' => 'check-host-alive', 'check_command_args' => '', 'contact_groups' => '', 'max_check_attempts' => '5', 'active_checks_enabled' => '1', 'passive_checks_enabled' => '1', 'event_handler' => '', 'event_handler_enabled' => '1', 'low_flap_threshold' => '', 'high_flap_threshold' => '', 'flap_detection_enabled' => '1', 'process_perf_data' => '1', 'retain_status_information' => '1', 'retain_nonstatus_information' => '1', 'notification_interval' => '0', 'first_notification_delay' => '', 'notification_period' => '24x7', 'notification_options' => 'd,u,r,f', 'notifications_enabled' => '1', 'stalking_options' => 'n', 'register' => '0', 'file_id' => 'etc/hosts.cfg' )
default settings for new objects