summaryrefslogtreecommitdiffstats
path: root/test/config/modules
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:47:21 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-28 12:47:21 +0000
commit1ac4a2050c8076eb96e07e83721ebc9db864db94 (patch)
treeda9b32212bf99154450a7668f61a75f65617a9fa /test/config/modules
parentInitial commit. (diff)
downloadicingaweb2-module-toplevelview-upstream.tar.xz
icingaweb2-module-toplevelview-upstream.zip
Adding upstream version 0.3.3.upstream/0.3.3upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'test/config/modules')
-rw-r--r--test/config/modules/monitoring/backends.ini8
-rw-r--r--test/config/modules/toplevelview/views/.gitignore1
-rw-r--r--test/config/modules/toplevelview/views/mass.yml394
-rw-r--r--test/config/modules/toplevelview/views/test.yml75
4 files changed, 478 insertions, 0 deletions
diff --git a/test/config/modules/monitoring/backends.ini b/test/config/modules/monitoring/backends.ini
new file mode 100644
index 0000000..2611429
--- /dev/null
+++ b/test/config/modules/monitoring/backends.ini
@@ -0,0 +1,8 @@
+[icinga]
+type = "ido"
+resource = "icinga_db"
+
+[legacy]
+type = "ido"
+resource = "icinga_legacy_db"
+;disabled = "1"
diff --git a/test/config/modules/toplevelview/views/.gitignore b/test/config/modules/toplevelview/views/.gitignore
new file mode 100644
index 0000000..355164c
--- /dev/null
+++ b/test/config/modules/toplevelview/views/.gitignore
@@ -0,0 +1 @@
+*/
diff --git a/test/config/modules/toplevelview/views/mass.yml b/test/config/modules/toplevelview/views/mass.yml
new file mode 100644
index 0000000..5bf1ad8
--- /dev/null
+++ b/test/config/modules/toplevelview/views/mass.yml
@@ -0,0 +1,394 @@
+---
+name: More Tiles
+children:
+- name: Section
+ children:
+ - name: Tile
+ children:
+ - host: host_ok
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+- name: Section
+ children:
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_down
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+- name: Section
+ children:
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+- name: Section
+ children:
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_down
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+- name: Section
+ children:
+ - name: Tile
+ children:
+ - host: host_down
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+- name: Section
+ children:
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+- name: Section
+ children:
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+- name: Section
+ children:
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
+ - name: Tile
+ children:
+ - host: host_ok
diff --git a/test/config/modules/toplevelview/views/test.yml b/test/config/modules/toplevelview/views/test.yml
new file mode 100644
index 0000000..789de94
--- /dev/null
+++ b/test/config/modules/toplevelview/views/test.yml
@@ -0,0 +1,75 @@
+---
+name: Test
+children:
+- name: Single Objects
+ children:
+ - name: OK
+ children:
+ - host: host_ok
+ - host: host_ok
+ service: s_ok
+ - host: host_s_soft
+ - host: host_s_soft
+ service: s_critical_soft
+ - name: DOWN
+ children:
+ - host: host_down
+ - host: host_down
+ service: s_critical
+ - name: CRITICAL
+ children:
+ - host: host_s_critical
+ - host: host_s_critical
+ service: s_critical
+ - name: WARNING
+ children:
+ - host: host_s_warning
+ - host: host_s_warning
+ service: s_warning
+- name: Single Objects Handled
+ children:
+ - name: CRITICAL handled
+ children:
+ - host: host_s_critical_handled
+ - host: host_s_critical_handled
+ service: s_critical_handled
+ - name: WARNING handled
+ children:
+ - host: host_s_warning_handled
+ - host: host_s_warning_handled
+ service: s_warning_handled
+- name: Hostgroups
+ children:
+ - name: OK
+ children:
+ - hostgroup: HG_OK
+ - hostgroup: HG_SOFT
+ - name: DOWN
+ children:
+ - hostgroup: HG_DOWN
+ - name: CRITICAL
+ children:
+ - hostgroup: HG_CRITICAL
+ - name: WARNING
+ children:
+ - hostgroup: HG_WARNING
+- name: TLV Missing
+ children:
+ - name: Partially missing
+ children:
+ - host: host_ok
+ - name: missing
+ - name: Missing with problems
+ children:
+ - host: host_down
+ - name: missing
+ - name: Missing with handled
+ children:
+ - host: host_down_handled
+ - name: missing
+ - name: Empty
+ children:
+ - name: nothing here
+ - name: Notexisting Object
+ children:
+ - host: notexisting \ No newline at end of file