NaemonMonitoredObject_Model Class Reference

Naemon Object Model. More...

Inheritance diagram for NaemonMonitoredObject_Model:
NaemonObject_Model Object_Model BaseObject_Model BaseHost_Model BaseHostGroup_Model BaseService_Model BaseServiceGroup_Model Host_Model HostGroup_Model Service_Model ServiceGroup_Model

Public Member Functions

 list_custom_commands ()
 Parses custom variables and returns custom commands.
 submit_custom_command ($command_name)

Protected Member Functions

 schedule_downtime_retrospectively ($host_name, $service_description, $start_time, $end_time, $comment)
 Insert downtime events to report database tables.

Detailed Description

Naemon Object Model.


Member Function Documentation

NaemonMonitoredObject_Model::list_custom_commands (  ) 

Parses custom variables and returns custom commands.

Returns:
array
NaemonMonitoredObject_Model::schedule_downtime_retrospectively ( host_name,
service_description,
start_time,
end_time,
comment 
) [protected]

Insert downtime events to report database tables.

Parameters:
$host_name Name of the host
$service_description Service description, or false
$start_time int UNIX timestamp
$end_time int UNIX timestamp
$comment string
Returns:
array
NaemonMonitoredObject_Model::submit_custom_command ( command_name  ) 
Parameters:
$command_name string
Returns:
array

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

Generated on 19 Dec 2018 for ninja by  doxygen 1.6.1