summaryrefslogtreecommitdiffstats
path: root/modules/monitoring/application/views/scripts/partials/object/detail-content.phtml
blob: 62bfd2c4e488b3870e5f3c7636076fe14e60e448 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
<div class="content" data-base-target="_next">
    <?= $this->render('show/components/output.phtml') ?>
    <?= $this->render('show/components/grapher.phtml') ?>
    <?= $this->render('show/components/extensions.phtml') ?>

    <h2><?= $this->translate('Problem handling') ?></h2>
    <table class="name-value-table">
    <tbody>
        <?= $this->render('show/components/acknowledgement.phtml') ?>
        <?= $this->render('show/components/comments.phtml') ?>
        <?= $this->render('show/components/downtime.phtml') ?>
        <?= $this->render('show/components/notes.phtml') ?>
        <?= $this->render('show/components/actions.phtml') ?>
        <?= $this->render('show/components/flapping.phtml') ?>
    <?php if ($object->type === 'service'): ?>
        <?= $this->render('show/components/servicegroups.phtml') ?>
    <?php else: ?>
        <?= $this->render('show/components/hostgroups.phtml') ?>
    <?php endif ?>
    </tbody>
    </table>

    <?= $this->render('show/components/perfdata.phtml') ?>

    <h2><?= $this->translate('Notifications') ?></h2>
    <table class="name-value-table">
    <tbody>
        <?= $this->render('show/components/notifications.phtml') ?>
    <?php if ($this->hasPermission('*') || ! $this->hasPermission('no-monitoring/contacts')): ?>
        <?= $this->render('show/components/contacts.phtml') ?>
    <?php endif ?>
    </tbody>
    </table>

    <h2><?= $this->translate('Check execution') ?></h2>
    <table class="name-value-table">
    <tbody>
        <?= $this->render('show/components/command.phtml') ?>
        <?= $this->render('show/components/checksource.phtml') ?>
        <?= $this->render('show/components/reachable.phtml') ?>
        <?= $this->render('show/components/checkstatistics.phtml') ?>
        <?= $this->render('show/components/checktimeperiod.phtml') ?>
    </tbody>
    </table>

    <?php if (! empty($object->customvars)): ?>
    <h2><?= $this->translate('Custom Variables') ?></h2>
    <div id="<?= $object->type ?>-customvars" data-visible-height="200" class="collapsible">
        <?= (new \Icinga\Module\Monitoring\Web\Widget\CustomVarTable($object->customvarsWithOriginalNames, $object)) ?>
    </div>
    <?php endif ?>
    <?= $this->render('show/components/flags.phtml') ?>
</div>