[icinga-checkins] icinga.org: icinga-web/master: Changed PNP contrib back to old behaviour

git at icinga.org git at icinga.org
Thu Oct 11 17:37:28 CEST 2012


Module: icinga-web
Branch: master
Commit: aa404052c099bf19db6e272339be930815ec7e75
URL:    https://git.icinga.org/?p=icinga-web.git;a=commit;h=aa404052c099bf19db6e272339be930815ec7e75

Author: Marius Hein <marius.hein at netways.de>
Date:   Thu Oct 11 17:36:50 2012 +0200

Changed PNP contrib back to old behaviour

---

 .../templateExtensions/pnp-host-extension.xml      |    6 ++++--
 .../templateExtensions/pnp-service-extension.xml   |    6 ++++--
 2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/contrib/PNP_Integration/templateExtensions/pnp-host-extension.xml b/contrib/PNP_Integration/templateExtensions/pnp-host-extension.xml
index 7c885f6..1b34340 100644
--- a/contrib/PNP_Integration/templateExtensions/pnp-host-extension.xml
+++ b/contrib/PNP_Integration/templateExtensions/pnp-host-extension.xml
@@ -26,7 +26,8 @@
                             
                             <parameter name="conditions">
                                 <parameter>
-                                    <parameter name="condition">activation</parameter>
+                                    <!-- Also possible: activation -->
+                                    <parameter name="condition">show</parameter>
                                     <parameter name="fn"><![CDATA[
                                         function() {
                                             if (this.getRecord().get("process_performance_data") === "1") {
@@ -63,7 +64,8 @@
                             
                             <parameter name="conditions">
                                 <parameter>
-                                    <parameter name="condition">activation</parameter>
+                                    <!-- Also possible: activation -->
+                                    <parameter name="condition">show</parameter>
                                     <parameter name="fn"><![CDATA[
                                         function() {
                                             if (this.getRecord().get("process_performance_data") === "1") {
diff --git a/contrib/PNP_Integration/templateExtensions/pnp-service-extension.xml b/contrib/PNP_Integration/templateExtensions/pnp-service-extension.xml
index 0e2fc9c..ae16300 100644
--- a/contrib/PNP_Integration/templateExtensions/pnp-service-extension.xml
+++ b/contrib/PNP_Integration/templateExtensions/pnp-service-extension.xml
@@ -26,7 +26,8 @@
                             
                             <parameter name="conditions">
                                 <parameter>
-                                    <parameter name="condition">activation</parameter>
+                                    <!-- Also possible: activation -->
+                                    <parameter name="condition">show</parameter>
                                     <parameter name="fn"><![CDATA[
                                         function() {
                                             if (this.getRecord().get("process_performance_data") === "1") {
@@ -63,7 +64,8 @@
                             
                             <parameter name="conditions">
                                 <parameter>
-                                    <parameter name="condition">activation</parameter>
+                                    <!-- Also possible: activation -->
+                                    <parameter name="condition">show</parameter>
                                     <parameter name="fn"><![CDATA[
                                         function() {
                                             if (this.getRecord().get("process_performance_data") === "1") {





More information about the icinga-checkins mailing list