summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:47:35 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:47:35 +0000
commit5f112e7d0464d98282443b78870cdccabe42aae9 (patch)
treeaac24e989ceebb84c04de382960608c3fcef7313 /config
parentInitial commit. (diff)
downloadicingaweb2-module-x509-5f112e7d0464d98282443b78870cdccabe42aae9.tar.xz
icingaweb2-module-x509-5f112e7d0464d98282443b78870cdccabe42aae9.zip
Adding upstream version 1:1.1.2.upstream/1%1.1.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--config/systemd/icinga-x509.service10
-rw-r--r--configuration.php40
2 files changed, 50 insertions, 0 deletions
diff --git a/config/systemd/icinga-x509.service b/config/systemd/icinga-x509.service
new file mode 100644
index 0000000..01cda66
--- /dev/null
+++ b/config/systemd/icinga-x509.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Icinga Certificate Monitoring Module Jobs Runner
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/icingacli x509 jobs run
+Restart=on-success
+
+[Install]
+WantedBy=multi-user.target
diff --git a/configuration.php b/configuration.php
new file mode 100644
index 0000000..4182884
--- /dev/null
+++ b/configuration.php
@@ -0,0 +1,40 @@
+<?php
+// Icinga Web 2 X.509 Module | (c) 2018 Icinga GmbH | GPLv2
+
+/** @var \Icinga\Application\Modules\Module $this */
+
+$section = $this->menuSection(N_('Certificate Monitoring'), array(
+ 'icon' => 'check',
+ 'url' => 'x509/dashboard',
+ 'priority' => 40
+));
+
+$section->add(N_('Certificate Overview'), array(
+ 'url' => 'x509/certificates',
+ 'priority' => 10
+));
+
+$section->add(N_('Certificate Usage'), array(
+ 'url' => 'x509/usage',
+ 'priority' => 20
+));
+
+$this->provideConfigTab('backend', array(
+ 'title' => $this->translate('Configure the database backend'),
+ 'label' => $this->translate('Backend'),
+ 'url' => 'config/backend'
+));
+
+$this->provideConfigTab('jobs', array(
+ 'title' => $this->translate('Configure the scan jobs'),
+ 'label' => $this->translate('Jobs'),
+ 'url' => 'jobs'
+));
+
+$this->provideConfigTab('sni', array(
+ 'title' => $this->translate('Configure SNI'),
+ 'label' => $this->translate('SNI'),
+ 'url' => 'sni'
+));
+
+$this->provideCssFile('icons.less');