mirror of
https://github.com/Icinga/icingadb-web.git
synced 2026-05-28 04:36:06 -04:00
Rename to Icingadb
This commit is contained in:
parent
10f58fb4a0
commit
77b4930098
151 changed files with 398 additions and 398 deletions
|
|
@ -1,15 +1,15 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Controllers;
|
||||
namespace Icinga\Module\Icingadb\Controllers;
|
||||
|
||||
use Icinga\Exception\NotFoundError;
|
||||
use Icinga\Module\Eagle\Common\CommandActions;
|
||||
use Icinga\Module\Eagle\Common\HostLink;
|
||||
use Icinga\Module\Eagle\Common\Links;
|
||||
use Icinga\Module\Eagle\Common\ServiceLink;
|
||||
use Icinga\Module\Eagle\Model\Comment;
|
||||
use Icinga\Module\Eagle\Web\Controller;
|
||||
use Icinga\Module\Eagle\Widget\Detail\CommentDetail;
|
||||
use Icinga\Module\Icingadb\Common\CommandActions;
|
||||
use Icinga\Module\Icingadb\Common\HostLink;
|
||||
use Icinga\Module\Icingadb\Common\Links;
|
||||
use Icinga\Module\Icingadb\Common\ServiceLink;
|
||||
use Icinga\Module\Icingadb\Model\Comment;
|
||||
use Icinga\Module\Icingadb\Web\Controller;
|
||||
use Icinga\Module\Icingadb\Widget\Detail\CommentDetail;
|
||||
|
||||
class CommentController extends Controller
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Controllers;
|
||||
namespace Icinga\Module\Icingadb\Controllers;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Comment;
|
||||
use Icinga\Module\Eagle\Web\Controller;
|
||||
use Icinga\Module\Eagle\Widget\ItemList\CommentList;
|
||||
use Icinga\Module\Icingadb\Model\Comment;
|
||||
use Icinga\Module\Icingadb\Web\Controller;
|
||||
use Icinga\Module\Icingadb\Widget\ItemList\CommentList;
|
||||
|
||||
class CommentsController extends Controller
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Controllers;
|
||||
namespace Icinga\Module\Icingadb\Controllers;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Downtime;
|
||||
use Icinga\Module\Eagle\Web\Controller;
|
||||
use Icinga\Module\Eagle\Widget\DowntimeList;
|
||||
use Icinga\Module\Icingadb\Model\Downtime;
|
||||
use Icinga\Module\Icingadb\Web\Controller;
|
||||
use Icinga\Module\Icingadb\Widget\DowntimeList;
|
||||
|
||||
class DowntimesController extends Controller
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,22 +1,22 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Controllers;
|
||||
namespace Icinga\Module\Icingadb\Controllers;
|
||||
|
||||
use Icinga\Exception\NotFoundError;
|
||||
use Icinga\Module\Eagle\Common\CommandActions;
|
||||
use Icinga\Module\Eagle\Common\HostLinks;
|
||||
use Icinga\Module\Eagle\Common\Links;
|
||||
use Icinga\Module\Eagle\Model\History;
|
||||
use Icinga\Module\Eagle\Model\Host;
|
||||
use Icinga\Module\Eagle\Model\Service;
|
||||
use Icinga\Module\Eagle\Web\Controller;
|
||||
use Icinga\Module\Eagle\Widget\Detail\ObjectDetail;
|
||||
use Icinga\Module\Eagle\Widget\Detail\QuickActions;
|
||||
use Icinga\Module\Eagle\Widget\DowntimeList;
|
||||
use Icinga\Module\Eagle\Widget\HostList;
|
||||
use Icinga\Module\Eagle\Widget\ItemList\CommentList;
|
||||
use Icinga\Module\Eagle\Widget\ItemList\HistoryList;
|
||||
use Icinga\Module\Eagle\Widget\ServiceList;
|
||||
use Icinga\Module\Icingadb\Common\CommandActions;
|
||||
use Icinga\Module\Icingadb\Common\HostLinks;
|
||||
use Icinga\Module\Icingadb\Common\Links;
|
||||
use Icinga\Module\Icingadb\Model\History;
|
||||
use Icinga\Module\Icingadb\Model\Host;
|
||||
use Icinga\Module\Icingadb\Model\Service;
|
||||
use Icinga\Module\Icingadb\Web\Controller;
|
||||
use Icinga\Module\Icingadb\Widget\Detail\ObjectDetail;
|
||||
use Icinga\Module\Icingadb\Widget\Detail\QuickActions;
|
||||
use Icinga\Module\Icingadb\Widget\DowntimeList;
|
||||
use Icinga\Module\Icingadb\Widget\HostList;
|
||||
use Icinga\Module\Icingadb\Widget\ItemList\CommentList;
|
||||
use Icinga\Module\Icingadb\Widget\ItemList\HistoryList;
|
||||
use Icinga\Module\Icingadb\Widget\ServiceList;
|
||||
|
||||
class HostController extends Controller
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Controllers;
|
||||
namespace Icinga\Module\Icingadb\Controllers;
|
||||
|
||||
use Icinga\Data\Filter\FilterExpression;
|
||||
use Icinga\Exception\NotFoundError;
|
||||
use Icinga\Module\Eagle\Model\Host;
|
||||
use Icinga\Module\Eagle\Model\Hostgroupsummary;
|
||||
use Icinga\Module\Eagle\Web\Controller;
|
||||
use Icinga\Module\Eagle\Widget\HostList;
|
||||
use Icinga\Module\Eagle\Widget\ItemList\HostgroupList;
|
||||
use Icinga\Module\Icingadb\Model\Host;
|
||||
use Icinga\Module\Icingadb\Model\Hostgroupsummary;
|
||||
use Icinga\Module\Icingadb\Web\Controller;
|
||||
use Icinga\Module\Icingadb\Widget\HostList;
|
||||
use Icinga\Module\Icingadb\Widget\ItemList\HostgroupList;
|
||||
use ipl\Orm\Compat\FilterProcessor;
|
||||
|
||||
class HostgroupController extends Controller
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Controllers;
|
||||
namespace Icinga\Module\Icingadb\Controllers;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Hostgroupsummary;
|
||||
use Icinga\Module\Eagle\Web\Controller;
|
||||
use Icinga\Module\Eagle\Widget\ItemList\HostgroupList;
|
||||
use Icinga\Module\Icingadb\Model\Hostgroupsummary;
|
||||
use Icinga\Module\Icingadb\Web\Controller;
|
||||
use Icinga\Module\Icingadb\Widget\ItemList\HostgroupList;
|
||||
|
||||
class HostgroupsController extends Controller
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Controllers;
|
||||
namespace Icinga\Module\Icingadb\Controllers;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Host;
|
||||
use Icinga\Module\Eagle\Web\Controller;
|
||||
use Icinga\Module\Eagle\Widget\HostList;
|
||||
use Icinga\Module\Icingadb\Model\Host;
|
||||
use Icinga\Module\Icingadb\Web\Controller;
|
||||
use Icinga\Module\Icingadb\Widget\HostList;
|
||||
|
||||
class HostsController extends Controller
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Controllers;
|
||||
namespace Icinga\Module\Icingadb\Controllers;
|
||||
|
||||
use Icinga\Module\Eagle\Model\NotificationHistory;
|
||||
use Icinga\Module\Eagle\Web\Controller;
|
||||
use Icinga\Module\Eagle\Widget\ItemList\NotificationList;
|
||||
use Icinga\Module\Icingadb\Model\NotificationHistory;
|
||||
use Icinga\Module\Icingadb\Web\Controller;
|
||||
use Icinga\Module\Icingadb\Widget\ItemList\NotificationList;
|
||||
|
||||
class NotificationsController extends Controller
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,22 +1,22 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Controllers;
|
||||
namespace Icinga\Module\Icingadb\Controllers;
|
||||
|
||||
use Exception;
|
||||
use Icinga\Exception\NotFoundError;
|
||||
use Icinga\Module\Eagle\Common\CommandActions;
|
||||
use Icinga\Module\Eagle\Common\Links;
|
||||
use Icinga\Module\Eagle\Common\ServiceLinks;
|
||||
use Icinga\Module\Eagle\Model\History;
|
||||
use Icinga\Module\Eagle\Model\Service;
|
||||
use Icinga\Module\Eagle\Web\Controller;
|
||||
use Icinga\Module\Eagle\Widget\Detail\ObjectDetail;
|
||||
use Icinga\Module\Eagle\Widget\Detail\QuickActions;
|
||||
use Icinga\Module\Eagle\Widget\DowntimeList;
|
||||
use Icinga\Module\Eagle\Widget\HostList;
|
||||
use Icinga\Module\Eagle\Widget\ItemList\CommentList;
|
||||
use Icinga\Module\Eagle\Widget\ItemList\HistoryList;
|
||||
use Icinga\Module\Eagle\Widget\ServiceList;
|
||||
use Icinga\Module\Icingadb\Common\CommandActions;
|
||||
use Icinga\Module\Icingadb\Common\Links;
|
||||
use Icinga\Module\Icingadb\Common\ServiceLinks;
|
||||
use Icinga\Module\Icingadb\Model\History;
|
||||
use Icinga\Module\Icingadb\Model\Service;
|
||||
use Icinga\Module\Icingadb\Web\Controller;
|
||||
use Icinga\Module\Icingadb\Widget\Detail\ObjectDetail;
|
||||
use Icinga\Module\Icingadb\Widget\Detail\QuickActions;
|
||||
use Icinga\Module\Icingadb\Widget\DowntimeList;
|
||||
use Icinga\Module\Icingadb\Widget\HostList;
|
||||
use Icinga\Module\Icingadb\Widget\ItemList\CommentList;
|
||||
use Icinga\Module\Icingadb\Widget\ItemList\HistoryList;
|
||||
use Icinga\Module\Icingadb\Widget\ServiceList;
|
||||
use ipl\Sql\Sql;
|
||||
|
||||
class ServiceController extends Controller
|
||||
|
|
|
|||
|
|
@ -1,14 +1,14 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Controllers;
|
||||
namespace Icinga\Module\Icingadb\Controllers;
|
||||
|
||||
use Icinga\Data\Filter\FilterExpression;
|
||||
use Icinga\Exception\NotFoundError;
|
||||
use Icinga\Module\Eagle\Model\Service;
|
||||
use Icinga\Module\Eagle\Model\Servicegroupsummary;
|
||||
use Icinga\Module\Eagle\Web\Controller;
|
||||
use Icinga\Module\Eagle\Widget\ServiceList;
|
||||
use Icinga\Module\Eagle\Widget\ItemList\ServicegroupList;
|
||||
use Icinga\Module\Icingadb\Model\Service;
|
||||
use Icinga\Module\Icingadb\Model\Servicegroupsummary;
|
||||
use Icinga\Module\Icingadb\Web\Controller;
|
||||
use Icinga\Module\Icingadb\Widget\ServiceList;
|
||||
use Icinga\Module\Icingadb\Widget\ItemList\ServicegroupList;
|
||||
use ipl\Orm\Compat\FilterProcessor;
|
||||
|
||||
class ServicegroupController extends Controller
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Controllers;
|
||||
namespace Icinga\Module\Icingadb\Controllers;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Servicegroupsummary;
|
||||
use Icinga\Module\Eagle\Web\Controller;
|
||||
use Icinga\Module\Eagle\Widget\ItemList\ServicegroupList;
|
||||
use Icinga\Module\Icingadb\Model\Servicegroupsummary;
|
||||
use Icinga\Module\Icingadb\Web\Controller;
|
||||
use Icinga\Module\Icingadb\Widget\ItemList\ServicegroupList;
|
||||
|
||||
class ServicegroupsController extends Controller
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Controllers;
|
||||
namespace Icinga\Module\Icingadb\Controllers;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Service;
|
||||
use Icinga\Module\Eagle\Web\Controller;
|
||||
use Icinga\Module\Eagle\Widget\ServiceList;
|
||||
use Icinga\Module\Icingadb\Model\Service;
|
||||
use Icinga\Module\Icingadb\Web\Controller;
|
||||
use Icinga\Module\Icingadb\Widget\ServiceList;
|
||||
|
||||
class ServicesController extends Controller
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Controllers;
|
||||
namespace Icinga\Module\Icingadb\Controllers;
|
||||
|
||||
use Icinga\Exception\NotFoundError;
|
||||
use Icinga\Module\Eagle\Model\User;
|
||||
use Icinga\Module\Eagle\Web\Controller;
|
||||
use Icinga\Module\Eagle\Widget\ItemList\UserList;
|
||||
use Icinga\Module\Icingadb\Model\User;
|
||||
use Icinga\Module\Icingadb\Web\Controller;
|
||||
use Icinga\Module\Icingadb\Widget\ItemList\UserList;
|
||||
use ipl\Html\Html;
|
||||
|
||||
class UserController extends Controller
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Controllers;
|
||||
namespace Icinga\Module\Icingadb\Controllers;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Usergroup;
|
||||
use Icinga\Module\Eagle\Web\Controller;
|
||||
use Icinga\Module\Eagle\Widget\ItemList\UsergroupList;
|
||||
use Icinga\Module\Icingadb\Model\Usergroup;
|
||||
use Icinga\Module\Icingadb\Web\Controller;
|
||||
use Icinga\Module\Icingadb\Widget\ItemList\UsergroupList;
|
||||
|
||||
class UsergroupsController extends Controller
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Controllers;
|
||||
namespace Icinga\Module\Icingadb\Controllers;
|
||||
|
||||
use Icinga\Module\Eagle\Model\User;
|
||||
use Icinga\Module\Eagle\Web\Controller;
|
||||
use Icinga\Module\Eagle\Widget\ItemList\UserList;
|
||||
use Icinga\Module\Icingadb\Model\User;
|
||||
use Icinga\Module\Icingadb\Web\Controller;
|
||||
use Icinga\Module\Icingadb\Widget\ItemList\UserList;
|
||||
|
||||
class UsersController extends Controller
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle
|
||||
namespace Icinga\Module\Icingadb
|
||||
{
|
||||
/** @var \Icinga\Application\Modules\Module $this */
|
||||
$section = $this->menuSection(N_('Icinga DB'), [
|
||||
|
|
@ -9,43 +9,43 @@ namespace Icinga\Module\Eagle
|
|||
]);
|
||||
|
||||
$section->add(N_('Hosts'), [
|
||||
'url' => 'eagle/hosts',
|
||||
'url' => 'icingadb/hosts',
|
||||
'priority' => 10
|
||||
]);
|
||||
$section->add(N_('Services'), [
|
||||
'url' => 'eagle/services',
|
||||
'url' => 'icingadb/services',
|
||||
'priority' => 20
|
||||
]);
|
||||
$section->add(N_('Downtimes'), [
|
||||
'url' => 'eagle/downtimes',
|
||||
'url' => 'icingadb/downtimes',
|
||||
'priority' => 30
|
||||
]);
|
||||
$section->add(N_('Comments'), [
|
||||
'url' => 'eagle/comments',
|
||||
'url' => 'icingadb/comments',
|
||||
'priority' => 40
|
||||
]);
|
||||
$section->add(N_('Notifications'), [
|
||||
'url' => 'eagle/notifications',
|
||||
'url' => 'icingadb/notifications',
|
||||
'priority' => 50
|
||||
]);
|
||||
$section->add(N_('Users'), [
|
||||
'url' => 'eagle/users',
|
||||
'url' => 'icingadb/users',
|
||||
'priority' => 60
|
||||
]);
|
||||
$section->add(N_('User Groups'), [
|
||||
'url' => 'eagle/usergroups',
|
||||
'url' => 'icingadb/usergroups',
|
||||
'priority' => 70
|
||||
]);
|
||||
$section->add(N_('Host Groups'), [
|
||||
'url' => 'eagle/hostgroups',
|
||||
'url' => 'icingadb/hostgroups',
|
||||
'priority' => 80
|
||||
]);
|
||||
$section->add(N_('Service Groups'), [
|
||||
'url' => 'eagle/servicegroups',
|
||||
'url' => 'icingadb/servicegroups',
|
||||
'priority' => 80
|
||||
]);
|
||||
$section->add(N_('History'), [
|
||||
'url' => 'eagle/history',
|
||||
'url' => 'icingadb/history',
|
||||
'priority' => 90
|
||||
]);
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Common;
|
||||
namespace Icinga\Module\Icingadb\Common;
|
||||
|
||||
use ipl\Html\BaseHtmlElement;
|
||||
use ipl\Html\Html;
|
||||
|
|
|
|||
|
|
@ -1,11 +1,11 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Common;
|
||||
namespace Icinga\Module\Icingadb\Common;
|
||||
|
||||
use Icinga\Module\Eagle\Compat\CompatBackend;
|
||||
use Icinga\Module\Eagle\Compat\CompatHost;
|
||||
use Icinga\Module\Eagle\Compat\CompatObjects;
|
||||
use Icinga\Module\Eagle\Compat\CompatService;
|
||||
use Icinga\Module\Icingadb\Compat\CompatBackend;
|
||||
use Icinga\Module\Icingadb\Compat\CompatHost;
|
||||
use Icinga\Module\Icingadb\Compat\CompatObjects;
|
||||
use Icinga\Module\Icingadb\Compat\CompatService;
|
||||
use Icinga\Module\Monitoring\Forms\Command\Object\AcknowledgeProblemCommandForm;
|
||||
use Icinga\Module\Monitoring\Forms\Command\Object\AddCommentCommandForm;
|
||||
use Icinga\Module\Monitoring\Forms\Command\Object\CheckNowCommandForm;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Common;
|
||||
namespace Icinga\Module\Icingadb\Common;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Host;
|
||||
use Icinga\Module\Icingadb\Model\Host;
|
||||
use ipl\Html\Html;
|
||||
use ipl\Web\Widget\StateBall;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,64 +1,64 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Common;
|
||||
namespace Icinga\Module\Icingadb\Common;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Host;
|
||||
use Icinga\Module\Icingadb\Model\Host;
|
||||
use ipl\Web\Url;
|
||||
|
||||
abstract class HostLinks
|
||||
{
|
||||
public static function acknowledge(Host $host)
|
||||
{
|
||||
return Url::fromPath('eagle/host/acknowledge', ['name' => $host->name]);
|
||||
return Url::fromPath('icingadb/host/acknowledge', ['name' => $host->name]);
|
||||
}
|
||||
|
||||
public static function addComment(Host $host)
|
||||
{
|
||||
return Url::fromPath('eagle/host/add-comment', ['name' => $host->name]);
|
||||
return Url::fromPath('icingadb/host/add-comment', ['name' => $host->name]);
|
||||
}
|
||||
|
||||
public static function checkNow(Host $host)
|
||||
{
|
||||
return Url::fromPath('eagle/host/check-now', ['name' => $host->name]);
|
||||
return Url::fromPath('icingadb/host/check-now', ['name' => $host->name]);
|
||||
}
|
||||
|
||||
public static function comments(Host $host)
|
||||
{
|
||||
return Url::fromPath('eagle/host/comments', ['name' => $host->name]);
|
||||
return Url::fromPath('icingadb/host/comments', ['name' => $host->name]);
|
||||
}
|
||||
|
||||
public static function downtimes(Host $host)
|
||||
{
|
||||
return Url::fromPath('eagle/host/downtimes', ['name' => $host->name]);
|
||||
return Url::fromPath('icingadb/host/downtimes', ['name' => $host->name]);
|
||||
}
|
||||
|
||||
public static function history(Host $host)
|
||||
{
|
||||
return Url::fromPath('eagle/host/history', ['name' => $host->name]);
|
||||
return Url::fromPath('icingadb/host/history', ['name' => $host->name]);
|
||||
}
|
||||
|
||||
public static function removeAcknowledgement(Host $host)
|
||||
{
|
||||
return Url::fromPath('eagle/host/remove-acknowledgement', ['name' => $host->name]);
|
||||
return Url::fromPath('icingadb/host/remove-acknowledgement', ['name' => $host->name]);
|
||||
}
|
||||
|
||||
public static function removeComment(Host $host)
|
||||
{
|
||||
return Url::fromPath('eagle/host/delete-comment', ['name' => $host->name]);
|
||||
return Url::fromPath('icingadb/host/delete-comment', ['name' => $host->name]);
|
||||
}
|
||||
|
||||
public static function scheduleDowntime(Host $host)
|
||||
{
|
||||
return Url::fromPath('eagle/host/schedule-downtime', ['name' => $host->name]);
|
||||
return Url::fromPath('icingadb/host/schedule-downtime', ['name' => $host->name]);
|
||||
}
|
||||
|
||||
public static function sendCustomNotification(Host $host)
|
||||
{
|
||||
return Url::fromPath('eagle/host/send-custom-notification', ['name' => $host->name]);
|
||||
return Url::fromPath('icingadb/host/send-custom-notification', ['name' => $host->name]);
|
||||
}
|
||||
|
||||
public static function services(Host $host)
|
||||
{
|
||||
return Url::fromPath('eagle/host/services', ['name' => $host->name]);
|
||||
return Url::fromPath('icingadb/host/services', ['name' => $host->name]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Common;
|
||||
namespace Icinga\Module\Icingadb\Common;
|
||||
|
||||
/**
|
||||
* Collection of possible host states.
|
||||
|
|
@ -59,16 +59,16 @@ class HostStates
|
|||
{
|
||||
switch ((int) $state) {
|
||||
case self::UP:
|
||||
$text = mt('eagle', 'up');
|
||||
$text = mt('icingadb', 'up');
|
||||
break;
|
||||
case self::DOWN:
|
||||
$text = mt('eagle', 'down');
|
||||
$text = mt('icingadb', 'down');
|
||||
break;
|
||||
case self::UNREACHABLE:
|
||||
$text = mt('eagle', 'unreachable');
|
||||
$text = mt('icingadb', 'unreachable');
|
||||
break;
|
||||
case self::PENDING:
|
||||
$text = mt('eagle', 'pending');
|
||||
$text = mt('icingadb', 'pending');
|
||||
break;
|
||||
default:
|
||||
throw new \InvalidArgumentException(sprintf('Invalid host state %d', $state));
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Common;
|
||||
namespace Icinga\Module\Icingadb\Common;
|
||||
|
||||
class Icons
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,55 +1,55 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Common;
|
||||
namespace Icinga\Module\Icingadb\Common;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Comment;
|
||||
use Icinga\Module\Eagle\Model\Host;
|
||||
use Icinga\Module\Eagle\Model\Hostgroup;
|
||||
use Icinga\Module\Eagle\Model\Service;
|
||||
use Icinga\Module\Eagle\Model\Servicegroup;
|
||||
use Icinga\Module\Eagle\Model\User;
|
||||
use Icinga\Module\Eagle\Model\Usergroup;
|
||||
use Icinga\Module\Icingadb\Model\Comment;
|
||||
use Icinga\Module\Icingadb\Model\Host;
|
||||
use Icinga\Module\Icingadb\Model\Hostgroup;
|
||||
use Icinga\Module\Icingadb\Model\Service;
|
||||
use Icinga\Module\Icingadb\Model\Servicegroup;
|
||||
use Icinga\Module\Icingadb\Model\User;
|
||||
use Icinga\Module\Icingadb\Model\Usergroup;
|
||||
use ipl\Web\Url;
|
||||
|
||||
abstract class Links
|
||||
{
|
||||
public static function comment(Comment $comment)
|
||||
{
|
||||
return Url::fromPath('eagle/comment', ['name' => $comment->name]);
|
||||
return Url::fromPath('icingadb/comment', ['name' => $comment->name]);
|
||||
}
|
||||
|
||||
public static function comments()
|
||||
{
|
||||
return Url::fromPath('eagle/comments');
|
||||
return Url::fromPath('icingadb/comments');
|
||||
}
|
||||
|
||||
public static function host(Host $host)
|
||||
{
|
||||
return Url::fromPath('eagle/host', ['name' => $host->name]);
|
||||
return Url::fromPath('icingadb/host', ['name' => $host->name]);
|
||||
}
|
||||
|
||||
public static function hostgroup($hostgroup)
|
||||
{
|
||||
return Url::fromPath('eagle/hostgroup', ['name' => $hostgroup->name]);
|
||||
return Url::fromPath('icingadb/hostgroup', ['name' => $hostgroup->name]);
|
||||
}
|
||||
|
||||
public static function service(Service $service, Host $host)
|
||||
{
|
||||
return Url::fromPath('eagle/service', ['name' => $service->name, 'host.name' => $host->name]);
|
||||
return Url::fromPath('icingadb/service', ['name' => $service->name, 'host.name' => $host->name]);
|
||||
}
|
||||
|
||||
public static function servicegroup($servicegroup)
|
||||
{
|
||||
return Url::fromPath('eagle/servicegroup', ['name' => $servicegroup->name]);
|
||||
return Url::fromPath('icingadb/servicegroup', ['name' => $servicegroup->name]);
|
||||
}
|
||||
|
||||
public static function user(User $user)
|
||||
{
|
||||
return Url::fromPath('eagle/user', ['name' => $user->name]);
|
||||
return Url::fromPath('icingadb/user', ['name' => $user->name]);
|
||||
}
|
||||
|
||||
public static function usergroup(Usergroup $usergroup)
|
||||
{
|
||||
return Url::fromPath('eagle/usergroup', ['name' => $usergroup->name]);
|
||||
return Url::fromPath('icingadb/usergroup', ['name' => $usergroup->name]);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Common;
|
||||
namespace Icinga\Module\Icingadb\Common;
|
||||
|
||||
use ipl\Html\BaseHtmlElement;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Common;
|
||||
namespace Icinga\Module\Icingadb\Common;
|
||||
|
||||
use ipl\Html\BaseHtmlElement;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Common;
|
||||
namespace Icinga\Module\Icingadb\Common;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Host;
|
||||
use Icinga\Module\Eagle\Model\Service;
|
||||
use Icinga\Module\Icingadb\Model\Host;
|
||||
use Icinga\Module\Icingadb\Model\Service;
|
||||
use ipl\Html\Html;
|
||||
use ipl\Web\Widget\StateBall;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Common;
|
||||
namespace Icinga\Module\Icingadb\Common;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Host;
|
||||
use Icinga\Module\Eagle\Model\Service;
|
||||
use Icinga\Module\Icingadb\Model\Host;
|
||||
use Icinga\Module\Icingadb\Model\Service;
|
||||
use ipl\Web\Url;
|
||||
|
||||
abstract class ServiceLinks
|
||||
|
|
@ -11,70 +11,70 @@ abstract class ServiceLinks
|
|||
public static function acknowledge(Service $service, Host $host)
|
||||
{
|
||||
return Url::fromPath(
|
||||
'eagle/service/acknowledge', ['name' => $service->name, 'host.name' => $host->name]
|
||||
'icingadb/service/acknowledge', ['name' => $service->name, 'host.name' => $host->name]
|
||||
);
|
||||
}
|
||||
|
||||
public static function addComment(Service $service, Host $host)
|
||||
{
|
||||
return Url::fromPath(
|
||||
'eagle/service/add-comment', ['name' => $service->name, 'host.name' => $host->name]
|
||||
'icingadb/service/add-comment', ['name' => $service->name, 'host.name' => $host->name]
|
||||
);
|
||||
}
|
||||
|
||||
public static function checkNow(Service $service, Host $host)
|
||||
{
|
||||
return Url::fromPath(
|
||||
'eagle/service/check-now', ['name' => $service->name, 'host.name' => $host->name]
|
||||
'icingadb/service/check-now', ['name' => $service->name, 'host.name' => $host->name]
|
||||
);
|
||||
}
|
||||
|
||||
public static function comments(Service $service, Host $host)
|
||||
{
|
||||
return Url::fromPath(
|
||||
'eagle/service/comments', ['name' => $service->name, 'host.name' => $host->name]
|
||||
'icingadb/service/comments', ['name' => $service->name, 'host.name' => $host->name]
|
||||
);
|
||||
}
|
||||
|
||||
public static function downtimes(Service $service, Host $host)
|
||||
{
|
||||
return Url::fromPath(
|
||||
'eagle/service/downtimes', ['name' => $service->name, 'host.name' => $host->name]
|
||||
'icingadb/service/downtimes', ['name' => $service->name, 'host.name' => $host->name]
|
||||
);
|
||||
}
|
||||
|
||||
public static function history(Service $service, Host $host)
|
||||
{
|
||||
return Url::fromPath(
|
||||
'eagle/service/history', ['name' => $service->name, 'host.name' => $host->name]
|
||||
'icingadb/service/history', ['name' => $service->name, 'host.name' => $host->name]
|
||||
);
|
||||
}
|
||||
|
||||
public static function removeAcknowledgement(Service $service, Host $host)
|
||||
{
|
||||
return Url::fromPath(
|
||||
'eagle/service/remove-acknowledgement', ['name' => $service->name, 'host.name' => $host->name]
|
||||
'icingadb/service/remove-acknowledgement', ['name' => $service->name, 'host.name' => $host->name]
|
||||
);
|
||||
}
|
||||
|
||||
public static function removeComment(Service $service, Host $host)
|
||||
{
|
||||
return Url::fromPath(
|
||||
'eagle/service/delete-comment', ['name' => $service->name, 'host.name' => $host->name]
|
||||
'icingadb/service/delete-comment', ['name' => $service->name, 'host.name' => $host->name]
|
||||
);
|
||||
}
|
||||
|
||||
public static function scheduleDowntime(Service $service, Host $host)
|
||||
{
|
||||
return Url::fromPath(
|
||||
'eagle/service/schedule-downtime', ['name' => $service->name, 'host.name' => $host->name]
|
||||
'icingadb/service/schedule-downtime', ['name' => $service->name, 'host.name' => $host->name]
|
||||
);
|
||||
}
|
||||
|
||||
public static function sendCustomNotification(Service $service, Host $host)
|
||||
{
|
||||
return Url::fromPath(
|
||||
'eagle/service/send-custom-notification', ['name' => $service->name, 'host.name' => $host->name]
|
||||
'icingadb/service/send-custom-notification', ['name' => $service->name, 'host.name' => $host->name]
|
||||
);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Common;
|
||||
namespace Icinga\Module\Icingadb\Common;
|
||||
|
||||
/**
|
||||
* Collection of possible service states.
|
||||
|
|
@ -64,19 +64,19 @@ class ServiceStates
|
|||
{
|
||||
switch ((int) $state) {
|
||||
case self::OK:
|
||||
$text = mt('eagle', 'ok');
|
||||
$text = mt('icingadb', 'ok');
|
||||
break;
|
||||
case self::WARNING:
|
||||
$text = mt('eagle', 'warning');
|
||||
$text = mt('icingadb', 'warning');
|
||||
break;
|
||||
case self::CRITICAL:
|
||||
$text = mt('eagle', 'critical');
|
||||
$text = mt('icingadb', 'critical');
|
||||
break;
|
||||
case self::UNKNOWN:
|
||||
$text = mt('eagle', 'unknown');
|
||||
$text = mt('icingadb', 'unknown');
|
||||
break;
|
||||
case self::PENDING:
|
||||
$text = mt('eagle', 'pending');
|
||||
$text = mt('icingadb', 'pending');
|
||||
break;
|
||||
default:
|
||||
throw new \InvalidArgumentException(sprintf('Invalid service state %d', $state));
|
||||
|
|
@ -84,4 +84,4 @@ class ServiceStates
|
|||
|
||||
return $text;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Common;
|
||||
namespace Icinga\Module\Icingadb\Common;
|
||||
|
||||
use Icinga\Module\Eagle\Widget\StateBadge;
|
||||
use Icinga\Module\Icingadb\Widget\StateBadge;
|
||||
use ipl\Html\BaseHtmlElement;
|
||||
use ipl\Html\Html;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Common;
|
||||
namespace Icinga\Module\Icingadb\Common;
|
||||
|
||||
trait ViewMode
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,12 +1,12 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Compat;
|
||||
namespace Icinga\Module\Icingadb\Compat;
|
||||
|
||||
use Icinga\Module\Monitoring\Backend\MonitoringBackend;
|
||||
|
||||
/**
|
||||
* Class CompatBackend
|
||||
* @package Icinga\Module\Eagle\Compat
|
||||
* @package Icinga\Module\Icingadb\Compat
|
||||
*/
|
||||
class CompatBackend extends MonitoringBackend
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Compat;
|
||||
namespace Icinga\Module\Icingadb\Compat;
|
||||
|
||||
/**
|
||||
* Class CompatHost
|
||||
* @package Icinga\Module\Eagle\Compat
|
||||
* @package Icinga\Module\Icingadb\Compat
|
||||
*/
|
||||
class CompatHost extends CompatObject
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Compat;
|
||||
namespace Icinga\Module\Icingadb\Compat;
|
||||
|
||||
use Icinga\Exception\NotImplementedError;
|
||||
use Icinga\Module\Monitoring\Object\MonitoredObject;
|
||||
|
|
@ -8,7 +8,7 @@ use ipl\Orm\Model;
|
|||
|
||||
/**
|
||||
* Class CompatObject
|
||||
* @package Icinga\Module\Eagle\Compat
|
||||
* @package Icinga\Module\Icingadb\Compat
|
||||
*/
|
||||
class CompatObject extends MonitoredObject
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Compat;
|
||||
namespace Icinga\Module\Icingadb\Compat;
|
||||
|
||||
use Countable;
|
||||
use IteratorAggregate;
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Compat;
|
||||
namespace Icinga\Module\Icingadb\Compat;
|
||||
|
||||
/**
|
||||
* Class CompatService
|
||||
* @package Icinga\Module\Eagle\Compat
|
||||
* @package Icinga\Module\Icingadb\Compat
|
||||
*/
|
||||
class CompatService extends CompatObject
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Date;
|
||||
namespace Icinga\Module\Icingadb\Date;
|
||||
|
||||
class DateFormatter
|
||||
{
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model\Behavior;
|
||||
namespace Icinga\Module\Icingadb\Model\Behavior;
|
||||
|
||||
use ipl\Orm\Contract\PropertyBehavior;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model\Behavior;
|
||||
namespace Icinga\Module\Icingadb\Model\Behavior;
|
||||
|
||||
use Icinga\Data\Filter\Filter;
|
||||
use Icinga\Data\Filter\FilterExpression;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model\Behavior;
|
||||
namespace Icinga\Module\Icingadb\Model\Behavior;
|
||||
|
||||
use ipl\Orm\Contract\PropertyBehavior;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model\Behavior;
|
||||
namespace Icinga\Module\Icingadb\Model\Behavior;
|
||||
|
||||
use Icinga\Application\Config;
|
||||
use Icinga\Module\Eagle\Redis\VolatileState as RedisState;
|
||||
use Icinga\Module\Icingadb\Redis\VolatileState as RedisState;
|
||||
use ipl\Orm\Contract\RetrieveBehavior;
|
||||
use ipl\Orm\Model;
|
||||
use Redis;
|
||||
|
|
@ -16,7 +16,7 @@ class VolatileState implements RetrieveBehavior
|
|||
{
|
||||
if ($this->state === null) {
|
||||
// TODO(jmeyer): Use a service provider here. (Or something similar)
|
||||
$config = Config::module('eagle')->getSection('redis');
|
||||
$config = Config::module('icingadb')->getSection('redis');
|
||||
$redis = new Redis();
|
||||
$redis->connect(
|
||||
$config->get('host', 'redis'),
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Behavior\BoolCast;
|
||||
use Icinga\Module\Eagle\Model\Behavior\Timestamp;
|
||||
use Icinga\Module\Icingadb\Model\Behavior\BoolCast;
|
||||
use Icinga\Module\Icingadb\Model\Behavior\Timestamp;
|
||||
use ipl\Orm\Behaviors;
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Behavior\BoolCast;
|
||||
use Icinga\Module\Eagle\Model\Behavior\Timestamp;
|
||||
use Icinga\Module\Icingadb\Model\Behavior\BoolCast;
|
||||
use Icinga\Module\Icingadb\Model\Behavior\Timestamp;
|
||||
use ipl\Orm\Behaviors;
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Behavior\FlattenedObjectVars;
|
||||
use Icinga\Module\Icingadb\Model\Behavior\FlattenedObjectVars;
|
||||
use ipl\Orm\Behaviors;
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Behavior\BoolCast;
|
||||
use Icinga\Module\Eagle\Model\Behavior\Timestamp;
|
||||
use Icinga\Module\Icingadb\Model\Behavior\BoolCast;
|
||||
use Icinga\Module\Icingadb\Model\Behavior\Timestamp;
|
||||
use ipl\Orm\Behaviors;
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,9 +1,9 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Behavior\BoolCast;
|
||||
use Icinga\Module\Eagle\Model\Behavior\Timestamp;
|
||||
use Icinga\Module\Icingadb\Model\Behavior\BoolCast;
|
||||
use Icinga\Module\Icingadb\Model\Behavior\Timestamp;
|
||||
use ipl\Orm\Behaviors;
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Behavior\Timestamp;
|
||||
use Icinga\Module\Icingadb\Model\Behavior\Timestamp;
|
||||
use ipl\Orm\Behaviors;
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Behavior\BoolCast;
|
||||
use Icinga\Module\Icingadb\Model\Behavior\BoolCast;
|
||||
use ipl\Orm\Behaviors;
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use Icinga\Module\Eagle\Common\HostStates;
|
||||
use Icinga\Module\Icingadb\Common\HostStates;
|
||||
use ipl\Orm\Relations;
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\UnionModel;
|
||||
use ipl\Sql\Expression;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Behavior\Timestamp;
|
||||
use Icinga\Module\Icingadb\Model\Behavior\Timestamp;
|
||||
use ipl\Orm\Behaviors;
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Behavior\BoolCast;
|
||||
use Icinga\Module\Icingadb\Model\Behavior\BoolCast;
|
||||
use ipl\Orm\Behaviors;
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use Icinga\Module\Eagle\Common\ServiceStates;
|
||||
use Icinga\Module\Icingadb\Common\ServiceStates;
|
||||
use ipl\Orm\Relations;
|
||||
|
||||
class ServiceState extends State
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\UnionModel;
|
||||
use ipl\Sql\Expression;
|
||||
|
|
|
|||
|
|
@ -1,10 +1,10 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Behavior\BoolCast;
|
||||
use Icinga\Module\Eagle\Model\Behavior\Timestamp;
|
||||
use Icinga\Module\Eagle\Model\Behavior\VolatileState;
|
||||
use Icinga\Module\Icingadb\Model\Behavior\BoolCast;
|
||||
use Icinga\Module\Icingadb\Model\Behavior\Timestamp;
|
||||
use Icinga\Module\Icingadb\Model\Behavior\VolatileState;
|
||||
use ipl\Orm\Behaviors;
|
||||
use ipl\Orm\Model;
|
||||
|
||||
|
|
|
|||
|
|
@ -1,8 +1,8 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use Icinga\Module\Eagle\Model\Behavior\Timestamp;
|
||||
use Icinga\Module\Icingadb\Model\Behavior\Timestamp;
|
||||
use ipl\Orm\Behaviors;
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
namespace Icinga\Module\Eagle\Model;
|
||||
namespace Icinga\Module\Icingadb\Model;
|
||||
|
||||
use ipl\Orm\Model;
|
||||
use ipl\Orm\Relations;
|
||||
|
|
|
|||
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue