A contact definition is used to identify someone who should be contacted in the event of a problem on your network. More...
Public Member Functions | |
get_properties () | |
Fetches the properties for the current object type. | |
save_object ($user=true) | |
Writes the $this->obj to the database if it validates properly. | |
get_nagios_struct ($prefix='') | |
Export with naming and values to map nagios struct names ond format. | |
Data Fields | |
$type = 'contact' | |
object type | |
$nagios_defaults | |
Nagios' default settings. |
A contact definition is used to identify someone who should be contacted in the event of a problem on your network.
This is not always a user, which means not all contacts can log into the Monitor GUI.
contact_class::get_nagios_struct | ( | $ | prefix = '' |
) |
Export with naming and values to map nagios struct names ond format.
Useful for Test this x operation
Reimplemented from object_class.
contact_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.
contact_class::$nagios_defaults |
array( 'host_notification_options' => array('n' => ''), 'service_notification_options' => array('n' => ''), 'host_notifications_enabled' => 1, 'service_notifications_enabled' => 1, 'can_submit_commands' => 0, 'retain_status_information' => 1, 'retain_nonstatus_information' => 1 )
Nagios' default settings.
Reimplemented from object_class.