Fetch downtime info from downtime table. More...
Static Public Member Functions | |
static | get_downtime_data ($filter=3, $order_by=array('id'=>'ASC'), $generate_links_for_downtime_id=false) |
Fetch current downtime information. | |
static | check_if_scheduled ($type=false, $name=false, $start_time=false, $duration=false) |
Try to figure out if an object already has been scheduled. | |
Data Fields | |
const | TABLE_NAME = 'downtimes' |
The name of the downtimes livestatus table. |
Fetch downtime info from downtime table.
static Downtime_Model::get_downtime_data | ( | $ | filter = 3 , |
|
$ | order_by = array('id'=>'ASC') , |
|||
$ | generate_links_for_downtime_id = false | |||
) | [static] |
Fetch current downtime information.
$filter | Host, service or both | |
$order_by | Field name | |
$generate_links_for_downtime_id | If true, do extra work to find the downtime trigger/source |