[icinga-checkins] icinga.org: dashing-icinga2/master: Add Icinga Web 2 compact iframe example (thx fugstrolch)

git at icinga.org git at icinga.org
Sun Nov 27 19:16:59 CET 2016


Module: dashing-icinga2
Branch: master
Commit: 9e2a89161c31d74b8fce880d09d378188ad7895b
URL:    https://git.icinga.org/?p=dashing-icinga2.git;a=commit;h=9e2a89161c31d74b8fce880d09d378188ad7895b

Author: Michael Friedrich <michael.friedrich at icinga.com>
Date:   Sun Nov 27 16:27:09 2016 +0100

Add Icinga Web 2 compact iframe example (thx fugstrolch)

---

 README.md              |    1 +
 dashboards/icinga2.erb |    8 ++++++++
 2 files changed, 9 insertions(+)

diff --git a/README.md b/README.md
index b015b49..a980909 100644
--- a/README.md
+++ b/README.md
@@ -126,6 +126,7 @@ Navigate to [http://localhost:8005](http://localhost:8005)
 
 # Thanks
 
+[fugstrolch](https://github.com/Icinga/dashing-icinga2/pull/4) for the Icinga Web 2 iframe integration.
 [tobiasvdk](https://github.com/tobiasvdk) for check stats widget and suggestions.
 [bodsch](https://github.com/Icinga/dashing-icinga2/pull/3) for the job rewrite and config file support inspiration.
 [spjmurray](https://github.com/spjmurray/dashing-icinga2/tree/1080p) for styling and 1080p resolution.
diff --git a/dashboards/icinga2.erb b/dashboards/icinga2.erb
index add7475..fe83793 100644
--- a/dashboards/icinga2.erb
+++ b/dashboards/icinga2.erb
@@ -53,6 +53,14 @@ $(function() {
     <li data-row="3" data-col="4" data-sizex="1" data-sizey="1">
       <div data-id="icinga-service-downtime" data-view="Simplemon" data-title="Services Downtime"></div>
     </li>
+
+    <!-- Icinga Web 2 iFrame -->
+    <li data-row="4" data-col="1" data-sizex="2" data-sizey="2">
+      <div data-id="iframe" data-view="Iframe" data-url="http://192.168.33.5/icingaweb2/monitoring/list/hosts?host_problem=1&sort=host_severity&showFullscreen&showCompact"></div>
+    </li>
+    <li data-row="4" data-col="3" data-sizex="2" data-sizey="2">
+      <div data-id="iframe" data-view="Iframe" data-url="http://192.168.33.5/icingaweb2/monitoring/list/services?service_problem=1&sort=service_severity&dir=desc&showFullscreen&showCompact"></div>
+    </li>
   </ul>
 
 </div>



More information about the icinga-checkins mailing list