parent
03f081ce33
commit
c86874d4ba
|
@ -28,7 +28,6 @@
|
|||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
use \Icinga\Application\Icinga;
|
||||
use \Monitoring\Backend;
|
||||
use \Icinga\Application\Config;
|
||||
use \Icinga\Application\Logger;
|
||||
use \Icinga\Web\Form;
|
||||
|
@ -36,15 +35,16 @@ use \Icinga\Web\Controller\ActionController;
|
|||
use \Icinga\Protocol\Commandpipe\CommandPipe;
|
||||
use \Icinga\Exception\ConfigurationError;
|
||||
use \Icinga\Exception\MissingParameterException;
|
||||
use \Monitoring\Form\Command\AcknowledgeForm;
|
||||
use \Monitoring\Form\Command\CommentForm;
|
||||
use \Monitoring\Form\Command\CommandForm;
|
||||
use \Monitoring\Form\Command\CommandWithIdentifierForm;
|
||||
use \Monitoring\Form\Command\CustomNotificationForm;
|
||||
use \Monitoring\Form\Command\DelayNotificationForm;
|
||||
use \Monitoring\Form\Command\RescheduleNextCheckForm;
|
||||
use \Monitoring\Form\Command\ScheduleDowntimeForm;
|
||||
use \Monitoring\Form\Command\SubmitPassiveCheckResultForm;
|
||||
use \Icinga\Module\Monitoring\Backend;
|
||||
use \Icinga\Module\Monitoring\Form\Command\AcknowledgeForm;
|
||||
use \Icinga\Module\Monitoring\Form\Command\CommentForm;
|
||||
use \Icinga\Module\Monitoring\Form\Command\CommandForm;
|
||||
use \Icinga\Module\Monitoring\Form\Command\CommandWithIdentifierForm;
|
||||
use \Icinga\Module\Monitoring\Form\Command\CustomNotificationForm;
|
||||
use \Icinga\Module\Monitoring\Form\Command\DelayNotificationForm;
|
||||
use \Icinga\Module\Monitoring\Form\Command\RescheduleNextCheckForm;
|
||||
use \Icinga\Module\Monitoring\Form\Command\ScheduleDowntimeForm;
|
||||
use \Icinga\Module\Monitoring\Form\Command\SubmitPassiveCheckResultForm;
|
||||
|
||||
/**
|
||||
* Class Monitoring_CommandController
|
||||
|
|
|
@ -27,7 +27,6 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
|
||||
use \Icinga\Application\Benchmark;
|
||||
use \Icinga\Data\Db\Query;
|
||||
use \Icinga\File\Csv;
|
||||
|
@ -37,7 +36,7 @@ use \Icinga\Web\Widget\Tabextension\BasketAction;
|
|||
use \Icinga\Web\Widget\Tabextension\DashboardAction;
|
||||
use \Icinga\Web\Widget\Tabextension\OutputFormat;
|
||||
use \Icinga\Web\Widget\Tabs;
|
||||
use \Monitoring\Backend;
|
||||
use \Icinga\Module\Monitoring\Backend;
|
||||
|
||||
class Monitoring_ListController extends ActionController
|
||||
{
|
||||
|
|
|
@ -27,13 +27,12 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
use Monitoring\Backend;
|
||||
use \Icinga\Module\Monitoring\Backend;
|
||||
use Icinga\Web\Controller\ActionController;
|
||||
use Icinga\Web\Hook;
|
||||
use Monitoring\Object\Host;
|
||||
use Monitoring\Object\Service;
|
||||
use \Icinga\Module\Monitoring\Object\Host;
|
||||
use \Icinga\Module\Monitoring\Object\Service;
|
||||
use Icinga\Application\Benchmark;
|
||||
|
||||
use Icinga\Web\Widget\Tabextension\OutputFormat;
|
||||
use Icinga\Web\Widget\Tabextension\DashboardAction;
|
||||
use Icinga\Web\Widget\Tabextension\BasketAction;
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Form\Command;
|
||||
namespace Icinga\Module\Monitoring\Form\Command;
|
||||
|
||||
use \Icinga\Web\Form\Element\DateTimePicker;
|
||||
use \Icinga\Protocol\Commandpipe\Acknowledgement;
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Form\Command;
|
||||
namespace Icinga\Module\Monitoring\Form\Command;
|
||||
|
||||
use \Zend_Config;
|
||||
use \Icinga\Web\Form;
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Form\Command;
|
||||
namespace Icinga\Module\Monitoring\Form\Command;
|
||||
|
||||
use \Zend_Form_Element_Hidden;
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Form\Command;
|
||||
namespace Icinga\Module\Monitoring\Form\Command;
|
||||
|
||||
use \Icinga\Protocol\Commandpipe\Comment;
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Form\Command;
|
||||
namespace Icinga\Module\Monitoring\Form\Command;
|
||||
|
||||
use \Icinga\Protocol\Commandpipe\CustomNotification;
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Form\Command;
|
||||
namespace Icinga\Module\Monitoring\Form\Command;
|
||||
|
||||
/**
|
||||
* Form for the delay notification command
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Form\Command;
|
||||
namespace Icinga\Module\Monitoring\Form\Command;
|
||||
|
||||
use \Zend_Form_Element_Checkbox;
|
||||
use \Icinga\Web\Form\Element\DateTimePicker;
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Form\Command;
|
||||
namespace Icinga\Module\Monitoring\Form\Command;
|
||||
|
||||
use \Zend_Form_Element_Text;
|
||||
use \Zend_Validate_GreaterThan;
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Form\Command;
|
||||
namespace Icinga\Module\Monitoring\Form\Command;
|
||||
|
||||
use \Icinga\Exception\ProgrammingError;
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Form\Command;
|
||||
namespace Icinga\Module\Monitoring\Form\Command;
|
||||
|
||||
/**
|
||||
* Base class for command forms which allow to propagate the command to child objects too
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
use \Monitoring\Command\Meta;
|
||||
use \Icinga\Module\Monitoring\Command\Meta;
|
||||
|
||||
/**
|
||||
* Class MonitoringCommands
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
use Monitoring\Plugin\PerfdataSet;
|
||||
use \Icinga\Module\Monitoring\Plugin\PerfdataSet;
|
||||
|
||||
class Zend_View_Helper_Perfdata extends Zend_View_Helper_Abstract
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
use Monitoring\Backend;
|
||||
use \Icinga\Module\Monitoring\Backend;
|
||||
use Icinga\Util\Format;
|
||||
|
||||
$backend = Backend::getInstance($params->shift('backend'));
|
||||
|
|
|
@ -26,12 +26,11 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring;
|
||||
namespace Icinga\Module\Monitoring;
|
||||
|
||||
use \Exception;
|
||||
use \Icinga\Application\Config as IcingaConfig;
|
||||
use \Icinga\Authentication\Manager as AuthManager;
|
||||
use \Monitoring\Backend\AbstractBackend;
|
||||
|
||||
/**
|
||||
* Container for monitoring backends
|
||||
|
@ -140,7 +139,7 @@ class Backend
|
|||
$config = self::$backendConfigs[$name];
|
||||
$type = $config->type;
|
||||
$type[0] = strtoupper($type[0]);
|
||||
$class = '\\Monitoring\\Backend\\' . $type;
|
||||
$class = '\\Icinga\\Module\\Monitoring\\Backend\\' . $type;
|
||||
self::$instances[$name] = new $class($config);
|
||||
}
|
||||
return self::$instances[$name];
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\Backend;
|
||||
namespace Icinga\Module\Monitoring\Backend;
|
||||
|
||||
use Icinga\Data\DatasourceInterface;
|
||||
use Icinga\Exception\ProgrammingError;
|
||||
|
@ -68,7 +68,7 @@ class AbstractBackend implements DatasourceInterface
|
|||
|
||||
protected function tableToClassName($virtual_table)
|
||||
{
|
||||
return 'Monitoring\\View\\'
|
||||
return '\\Icinga\\Module\\Monitoring\\View\\'
|
||||
// . $this->getName()
|
||||
// . '\\'
|
||||
. ucfirst($virtual_table)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\Backend;
|
||||
namespace Icinga\Module\Monitoring\Backend;
|
||||
|
||||
use Icinga\Data\Db\Connection;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\Backend\Ido\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Ido\Query;
|
||||
|
||||
use Icinga\Data\Db\Query;
|
||||
use Icinga\Application\Benchmark;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\Backend\Ido\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Ido\Query;
|
||||
|
||||
class CommentQuery extends AbstractQuery
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\Backend\Ido\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Ido\Query;
|
||||
|
||||
class ContactQuery extends AbstractQuery
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\Backend\Ido\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Ido\Query;
|
||||
|
||||
class ContactgroupQuery extends AbstractQuery
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\Backend\Ido\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Ido\Query;
|
||||
|
||||
class CustomvarQuery extends AbstractQuery
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Backend\Ido\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Ido\Query;
|
||||
|
||||
|
||||
/**
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\Backend\Ido\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Ido\Query;
|
||||
|
||||
use Icinga\Exception\ProgrammingError;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\Backend\Ido\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Ido\Query;
|
||||
|
||||
class HostgroupQuery extends AbstractQuery
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\Backend\Ido\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Ido\Query;
|
||||
|
||||
class HoststatusQuery extends AbstractQuery
|
||||
{
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Backend\Ido\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Ido\Query;
|
||||
|
||||
/**
|
||||
* Notification query
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\Backend\Ido\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Ido\Query;
|
||||
|
||||
class ServicegroupQuery extends AbstractQuery
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\Backend\Ido\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Ido\Query;
|
||||
|
||||
class ServicestatusQuery extends AbstractQuery
|
||||
{
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Backend\Ido\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Ido\Query;
|
||||
|
||||
class StatusQuery extends AbstractQuery
|
||||
{
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
*
|
||||
* @package Monitoring
|
||||
*/
|
||||
namespace Monitoring\Backend;
|
||||
namespace Icinga\Module\Monitoring\Backend;
|
||||
|
||||
use Icinga\Protocol\Livestatus\Connection;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Monitoring\Backend\Livestatus\Query;
|
||||
namespace \Icinga\Module\Monitoring\Backend\Livestatus\Query;
|
||||
|
||||
use Icinga\Data\AbstractQuery;
|
||||
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Backend;
|
||||
namespace Icinga\Module\Monitoring\Backend;
|
||||
|
||||
|
||||
use Icinga\Protocol\Statusdat as StatusdatProtocol;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\Backend\Statusdat\Criteria;
|
||||
namespace Icinga\Module\Monitoring\Backend\Statusdat\Criteria;
|
||||
|
||||
/**
|
||||
* Constants for filter definitions.
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Backend\Statusdat\Criteria;
|
||||
namespace Icinga\Module\Monitoring\Backend\Statusdat\Criteria;
|
||||
|
||||
/**
|
||||
* Class Order
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Backend\Statusdat\DataView;
|
||||
namespace Icinga\Module\Monitoring\Backend\Statusdat\DataView;
|
||||
|
||||
use Icinga\Protocol\Statusdat\View\ObjectRemappingView;
|
||||
use Icinga\Protocol\Statusdat\IReader;
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Backend\Statusdat\DataView;
|
||||
namespace Icinga\Module\Monitoring\Backend\Statusdat\DataView;
|
||||
|
||||
use Icinga\Protocol\Statusdat\View\ObjectRemappingView;
|
||||
use Icinga\Protocol\Statusdat\IReader;
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Backend\Statusdat\DataView;
|
||||
namespace Icinga\Module\Monitoring\Backend\Statusdat\DataView;
|
||||
|
||||
use Icinga\Protocol\Statusdat\View\ObjectRemappingView;
|
||||
use \Icinga\Protocol\Statusdat\IReader;
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Backend\Statusdat\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Statusdat\Query;
|
||||
|
||||
abstract class GroupsummaryQuery extends Query
|
||||
{
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Backend\Statusdat\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Statusdat\Query;
|
||||
|
||||
/**
|
||||
* Class HostgroupsummaryQuery
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Backend\Statusdat\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Statusdat\Query;
|
||||
|
||||
use Icinga\Protocol\Statusdat;
|
||||
use Icinga\Exception;
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Backend\Statusdat\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Statusdat\Query;
|
||||
|
||||
use Monitoring\Backend\Statusdat\Criteria\Order;
|
||||
use \Icinga\Module\Monitoring\Backend\Statusdat\Criteria\Order;
|
||||
use Icinga\Protocol\Statusdat;
|
||||
use Icinga\Exception;
|
||||
use Icinga\Data\AbstractQuery;
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Backend\Statusdat\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Statusdat\Query;
|
||||
|
||||
/**
|
||||
* Class ServicegroupsummaryQuery
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Backend\Statusdat\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Statusdat\Query;
|
||||
|
||||
use Icinga\Protocol\Statusdat;
|
||||
use Icinga\Exception;
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
* To change this template use File | Settings | File Templates.
|
||||
*/
|
||||
|
||||
namespace Monitoring\Backend\Statusdat\Query;
|
||||
namespace Icinga\Module\Monitoring\Backend\Statusdat\Query;
|
||||
|
||||
use Icinga\Protocol\Statusdat;
|
||||
use Icinga\Exception;
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\Command;
|
||||
namespace Icinga\Module\Monitoring\Command;
|
||||
|
||||
use Icinga\User;
|
||||
use Icinga\Exception\ProgrammingError;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring;
|
||||
namespace Icinga\Module\Monitoring;
|
||||
|
||||
use \Icinga\Application\Config;
|
||||
use Icinga\Web\Session;
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\Object;
|
||||
namespace Icinga\Module\Monitoring\Object;
|
||||
|
||||
use Icinga\Data\AbstractQuery as Query;
|
||||
use Monitoring\Backend\AbstractBackend;
|
||||
use \Icinga\Module\Monitoring\Backend\AbstractBackend;
|
||||
|
||||
abstract class AbstractObject
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\Object;
|
||||
namespace Icinga\Module\Monitoring\Object;
|
||||
|
||||
use Icinga\Data\AbstractQuery as Query;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\Object;
|
||||
namespace Icinga\Module\Monitoring\Object;
|
||||
|
||||
use Icinga\Data\AbstractQuery as Query;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring;
|
||||
namespace Icinga\Module\Monitoring;
|
||||
|
||||
require_once ICINGA_LIBDIR . '/Icinga/Application/Cli.php';
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\Plugin;
|
||||
namespace Icinga\Module\Monitoring\Plugin;
|
||||
|
||||
class Perfdata
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\Plugin;
|
||||
namespace Icinga\Module\Monitoring\Plugin;
|
||||
|
||||
class PerfdataSet
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\View;
|
||||
namespace Icinga\Module\Monitoring\View;
|
||||
|
||||
class CommentView extends MonitoringView
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\View;
|
||||
namespace Icinga\Module\Monitoring\View;
|
||||
|
||||
class ContactView extends MonitoringView
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\View;
|
||||
namespace Icinga\Module\Monitoring\View;
|
||||
|
||||
class ContactgroupView extends MonitoringView
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\View;
|
||||
namespace Icinga\Module\Monitoring\View;
|
||||
|
||||
class CustomvarView extends MonitoringView
|
||||
{
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
* @author Icinga Development Team <info@icinga.org>
|
||||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
namespace Monitoring\View;
|
||||
namespace Icinga\Module\Monitoring\View;
|
||||
|
||||
/**
|
||||
* Class DowntimeView
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\View;
|
||||
namespace Icinga\Module\Monitoring\View;
|
||||
|
||||
class EventHistoryView extends MonitoringView
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\View;
|
||||
namespace Icinga\Module\Monitoring\View;
|
||||
|
||||
class HostgroupView extends MonitoringView
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\View;
|
||||
namespace Icinga\Module\Monitoring\View;
|
||||
|
||||
class HoststatusView extends MonitoringView
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\View;
|
||||
namespace Icinga\Module\Monitoring\View;
|
||||
|
||||
use Icinga\Data\AbstractQuery;
|
||||
use Icinga\Data\Filter;
|
||||
|
@ -17,7 +17,7 @@ use Icinga\Data\Filter;
|
|||
*
|
||||
* Usage example:
|
||||
* <code>
|
||||
* use Monitoring\Backend;
|
||||
* use \Icinga\Module\Monitoring\Backend;
|
||||
* $backend = Backend::getInstance();
|
||||
* $query = $backend->select()->from('viewname', array(
|
||||
* 'one_column',
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
*/
|
||||
// {{{ICINGA_LICENSE_HEADER}}}
|
||||
|
||||
namespace Monitoring\View;
|
||||
namespace Icinga\Module\Monitoring\View;
|
||||
|
||||
/**
|
||||
* NotificationView
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\View;
|
||||
namespace Icinga\Module\Monitoring\View;
|
||||
|
||||
class ServicegroupView extends MonitoringView
|
||||
{
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Monitoring\View;
|
||||
namespace Icinga\Module\Monitoring\View;
|
||||
|
||||
class StatusView extends MonitoringView
|
||||
{
|
||||
|
|
|
@ -12,7 +12,7 @@ require_once realpath(__DIR__ . '/../../../../../../../library/Icinga/Util/Confi
|
|||
require_once realpath(__DIR__ . '/../../../../../../../library/Icinga/Util/DateTimeFactory.php');
|
||||
|
||||
use \DateTimeZone;
|
||||
use \Monitoring\Form\Command\AcknowledgeForm; // Used by constant FORMCLASS
|
||||
use \Icinga\Module\Monitoring\Form\Command\AcknowledgeForm; // Used by constant FORMCLASS
|
||||
use \Icinga\Util\DateTimeFactory;
|
||||
use \Test\Icinga\Web\Form\BaseFormTest;
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ namespace Test\Monitoring\Forms\Command;
|
|||
require_once realpath('library/Icinga/Web/Form/BaseFormTest.php');
|
||||
require_once realpath(__DIR__ . '/../../../../../../../modules/monitoring/application/forms/Command/CommentForm.php');
|
||||
|
||||
use \Monitoring\Form\Command\CommentForm; // Used by constant FORMCLASS
|
||||
use \Icinga\Module\Monitoring\Form\Command\CommentForm; // Used by constant FORMCLASS
|
||||
use \Test\Icinga\Web\Form\BaseFormTest;
|
||||
|
||||
class CommentFormTest extends BaseFormTest
|
||||
|
|
|
@ -9,8 +9,7 @@ require_once __DIR__. '/../../../../../application/forms/Command/CommandForm.php
|
|||
|
||||
use \Zend_View;
|
||||
use \Test\Icinga\Web\Form\BaseFormTest;
|
||||
|
||||
use Monitoring\Form\Command\CommandForm;
|
||||
use \Icinga\Module\Monitoring\Form\Command\CommandForm;
|
||||
|
||||
class CommandFormTest extends BaseFormTest
|
||||
{
|
||||
|
|
|
@ -8,7 +8,7 @@ require_once __DIR__. '/../../../../../application/forms/Command/CommandForm.php
|
|||
require_once __DIR__. '/../../../../../application/forms/Command/WithChildrenCommandForm.php';
|
||||
require_once __DIR__. '/../../../../../application/forms/Command/CommandWithIdentifierForm.php';
|
||||
|
||||
use Monitoring\Form\Command\CommandWithIdentifierForm;
|
||||
use \Icinga\Module\Monitoring\Form\Command\CommandWithIdentifierForm;
|
||||
use \Zend_View;
|
||||
use \Zend_Test_PHPUnit_ControllerTestCase;
|
||||
use \Test\Icinga\Web\Form\BaseFormTest;
|
||||
|
|
|
@ -8,8 +8,8 @@ namespace Test\Monitoring\Forms\Command;
|
|||
require_once realpath('library/Icinga/Web/Form/BaseFormTest.php');
|
||||
require_once realpath(__DIR__ . '/../../../../../application/forms/Command/CustomNotificationForm.php');
|
||||
|
||||
use \Monitoring\Form\Command\CustomNotificationForm; // Used by constant FORM_CLASS
|
||||
use \Test\Icinga\Web\Form\BaseFormTest;
|
||||
use \Icinga\Module\Monitoring\Form\Command\CustomNotificationForm; // Used by constant FORM_CLASS
|
||||
|
||||
class CustomNotificationFormTest extends BaseFormTest
|
||||
{
|
||||
|
|
|
@ -8,8 +8,8 @@ namespace Test\Monitoring\Forms\Command;
|
|||
require_once realpath('library/Icinga/Web/Form/BaseFormTest.php');
|
||||
require_once realpath(__DIR__ . '/../../../../../application/forms/Command/DelayNotificationForm.php');
|
||||
|
||||
use \Monitoring\Form\Command\DelayNotificationForm; // Used by constant FORM_CLASS
|
||||
use \Test\Icinga\Web\Form\BaseFormTest;
|
||||
use \Icinga\Module\Monitoring\Form\Command\DelayNotificationForm; // Used by constant FORM_CLASS
|
||||
|
||||
class DelayNotificationFormTest extends BaseFormTest
|
||||
{
|
||||
|
|
|
@ -10,7 +10,7 @@ require_once realpath(__DIR__ . '/../../../../../application/forms/Command/Resch
|
|||
require_once realpath(__DIR__ . '/../../../../../../../library/Icinga/Util/ConfigAwareFactory.php');
|
||||
require_once realpath(__DIR__ . '/../../../../../../../library/Icinga/Util/DateTimeFactory.php');
|
||||
|
||||
use \Monitoring\Form\Command\RescheduleNextCheckForm; // Used by constant FORM_CLASS
|
||||
use \Icinga\Module\Monitoring\Form\Command\RescheduleNextCheckForm; // Used by constant FORM_CLASS
|
||||
use \DateTimeZone;
|
||||
use \Icinga\Util\DateTimeFactory;
|
||||
use \Test\Icinga\Web\Form\BaseFormTest;
|
||||
|
|
|
@ -10,7 +10,7 @@ require_once realpath(__DIR__ . '/../../../../../../../modules/monitoring/applic
|
|||
require_once realpath(__DIR__ . '/../../../../../../../library/Icinga/Util/ConfigAwareFactory.php');
|
||||
require_once realpath(__DIR__ . '/../../../../../../../library/Icinga/Util/DateTimeFactory.php');
|
||||
|
||||
use \Monitoring\Form\Command\ScheduleDowntimeForm; // Used by constant FORM_CLASS
|
||||
use \Icinga\Module\Monitoring\Form\Command\ScheduleDowntimeForm; // Used by constant FORM_CLASS
|
||||
use \DateTimeZone;
|
||||
use \Icinga\Util\DateTimeFactory;
|
||||
use \Test\Icinga\Web\Form\BaseFormTest;
|
||||
|
|
|
@ -8,8 +8,8 @@ namespace Test\Monitoring\Forms\Command;
|
|||
require_once realpath('library/Icinga/Web/Form/BaseFormTest.php');
|
||||
require_once realpath(__DIR__ . '/../../../../../application/forms/Command/SubmitPassiveCheckResultForm.php');
|
||||
|
||||
use \Monitoring\Form\Command\SubmitPassiveCheckResultForm; // Used by constant FORM_CLASS
|
||||
use \Test\Icinga\Web\Form\BaseFormTest;
|
||||
use \Icinga\Module\Monitoring\Form\Command\SubmitPassiveCheckResultForm; // Used by constant FORM_CLASS
|
||||
|
||||
class SubmitPassiveCheckResultFormTest extends BaseFormTest
|
||||
{
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace Test\Modules\Monitoring\Application\Views\Helpers;
|
||||
|
||||
use Monitoring\Command\Meta;
|
||||
use \Icinga\Module\Monitoring\Command\Meta;
|
||||
|
||||
require_once 'Zend/View/Helper/Abstract.php';
|
||||
require_once 'Zend/View.php';
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace Tests\Monitoring\Backend\Statusdat;
|
||||
use Tests\Icinga\Protocol\Statusdat\ReaderMock as ReaderMock;
|
||||
use Monitoring\Backend\Statusdat\Query\ServicegroupsummaryQuery;
|
||||
use \Icinga\Module\Monitoring\Backend\Statusdat\Query\ServicegroupsummaryQuery;
|
||||
use Tests\Icinga\Protocol\Statusdat\StatusdatTestLoader;
|
||||
|
||||
$base = dirname(__FILE__)."/../../../../..";
|
||||
|
@ -12,7 +12,7 @@ StatusdatTestLoader::requireLibrary();
|
|||
require_once(realpath($base."/library/Monitoring/Backend/Statusdat/Query/GroupsummaryQuery.php"));
|
||||
require_once(realpath($base."/library/Monitoring/Backend/Statusdat/Query/ServicegroupsummaryQuery.php"));
|
||||
|
||||
class BackendMock extends \Monitoring\Backend\AbstractBackend
|
||||
class BackendMock extends \Icinga\Module\Monitoring\Backend\AbstractBackend
|
||||
{
|
||||
public $reader;
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ namespace Test\Modules\Monitoring\Library\Command;
|
|||
require_once __DIR__. '/../../../../library/Monitoring/Command/Meta.php';
|
||||
require_once __DIR__. '/../../../../../../library/Icinga/Exception/ProgrammingError.php';
|
||||
|
||||
use Monitoring\Command\Meta;
|
||||
use \Icinga\Module\Monitoring\Command\Meta;
|
||||
|
||||
class HostStruct extends \stdClass
|
||||
{
|
||||
|
|
|
@ -40,8 +40,8 @@ use \Zend_Test_PHPUnit_ControllerTestCase;
|
|||
use \Icinga\Protocol\Statusdat\Reader;
|
||||
use \Icinga\Web\Controller\ActionController;
|
||||
use \Icinga\Application\DbAdapterFactory;
|
||||
use \Monitoring\Backend\Ido;
|
||||
use \Monitoring\Backend\Statusdat;
|
||||
use \Icinga\Module\Monitoring\Backend\Ido;
|
||||
use \Icinga\Moudle\Monitoring\Backend\Statusdat;
|
||||
use \Test\Monitoring\Testlib\DataSource\TestFixture;
|
||||
use \Test\Monitoring\Testlib\DataSource\DataSourceTestSetup;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace Tests\Icinga\Web\Paginator\Adapter;
|
||||
|
||||
use Monitoring\Backend\Statusdat;
|
||||
use \Icinga\Module\Monitoring\Backend\Statusdat;
|
||||
use Icinga\Protocol\Statusdat\Reader;
|
||||
use Icinga\Web\Paginator\Adapter\QueryAdapter;
|
||||
use Tests\Icinga\Protocol\Statusdat\StatusdatTestLoader;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
namespace Tests\Icinga\Web\Paginator\ScrollingStyle;
|
||||
|
||||
use Monitoring\Backend\Statusdat;
|
||||
use \Icinga\Module\Monitoring\Backend\Statusdat;
|
||||
use Icinga\Protocol\Statusdat\Reader;
|
||||
use Icinga\Web\Paginator\Adapter\QueryAdapter;
|
||||
use Tests\Icinga\Protocol\Statusdat\StatusdatTestLoader;
|
||||
|
|
Loading…
Reference in New Issue