A host definition is used to define a physical server, workstation, device, etc. More...
Public Member Functions | |
save_object ($user=true) | |
Writes the $this->obj to the database if it validates properly. | |
validate_object () | |
Validates an object prior to saving it to database. | |
get_cmd_bar_links () | |
Returns a list of actions that are legal for this object type. | |
Data Fields | |
$type = 'host' | |
The nagios object type we're working with. | |
$nagios_defaults | |
Default values that Nagios assumes if no values are set. | |
$slave_types | |
A list of object types that might depend on this object type, or false. |
A host definition is used to define a physical server, workstation, device, etc.
that resides on your network.
host_class::save_object | ( | $ | user = true |
) |
Writes the $this->obj to the database if it validates properly.
$user | false if this change isn't made by a user. If not, no validation will be performed, and the change won't show up in the changelog. |
Reimplemented from object_class.
host_class::validate_object | ( | ) |
Validates an object prior to saving it to database.
This function ensures that the object being validated:
Reimplemented from object_class.
host_class::$nagios_defaults |
array('stalking_options' => array('n' => ''), 'notification_options' => array('n' => ''), 'flap_detection_options' => array('o' => 1, 'd' => 1, 'u' => 1), 'obsess' => '1', 'check_freshness' => '0', )
Default values that Nagios assumes if no values are set.
Reimplemented from object_class.
host_class::$slave_types |
array( 'hostextinfo', 'hostescalation', 'hostdependency', 'service')
A list of object types that might depend on this object type, or false.
Reimplemented from object_class.
Reimplemented in host_template_class.