StatehistoryView, initial commit
This commit is contained in:
parent
f6ef3faefb
commit
aac0570382
|
@ -0,0 +1,23 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Monitoring\View;
|
||||
|
||||
class StatehistoryView extends AbstractView
|
||||
{
|
||||
protected $availableColumns = array(
|
||||
'raw_timestamp',
|
||||
'timestamp',
|
||||
'state',
|
||||
'attempt',
|
||||
'max_attempts',
|
||||
'output',
|
||||
'type'
|
||||
);
|
||||
|
||||
protected $sortDefaults = array(
|
||||
'timestamp' => array(
|
||||
'columns' => array('raw_timestamp'),
|
||||
'default_dir' => self::SORT_DESC
|
||||
),
|
||||
);
|
||||
}
|
Loading…
Reference in New Issue