host_template_class Class Reference

A host template is used for inheritance, so that you could base your hosts with common properties on one of these. More...

Inheritance diagram for host_template_class:
host_class object_class

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.

Detailed Description

A host template is used for inheritance, so that you could base your hosts with common properties on one of these.


Field Documentation

host_template_class::$def_new_obj
Initial value:
          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


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables

Generated on 7 May 2013 for nacoma by  doxygen 1.6.1