[icinga-checkins] icinga.org: icinga-web/master: fix pnp extension cronk title showing, typo in service (fixes #3240 fixes #3244)

git at icinga.org git at icinga.org
Fri Oct 5 11:23:20 CEST 2012


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

Author: Michael Friedrich <michael.friedrich at gmail.com>
Date:   Thu Oct  4 21:58:17 2012 +0200

fix pnp extension cronk title showing, typo in service (fixes #3240 fixes #3244)

the handlerArgument for Cronk.grid.handler.URL.open is now named
"cronkTitle" instead of "title".

furthermore, {host_name was missing closing bracket for service
extension.

---

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

diff --git a/contrib/PNP_Integration/templateExtensions/pnp-host-extension.xml b/contrib/PNP_Integration/templateExtensions/pnp-host-extension.xml
index c2ccc90..bcfdb94 100644
--- a/contrib/PNP_Integration/templateExtensions/pnp-host-extension.xml
+++ b/contrib/PNP_Integration/templateExtensions/pnp-host-extension.xml
@@ -56,7 +56,7 @@
                             </parameter>
 
                             <parameter name="handlerArguments">
-                                <parameter name="title">Chart for {host_name}</parameter>
+                                <parameter name="cronkTitle">Chart for {host_name}</parameter>
                                 <parameter name="url"><![CDATA[/pnp4nagios/index.php/graph?host={host_name}&srv=_HOST_]]></parameter>
                                 <parameter name="activateOnClick">true</parameter>
                             </parameter>
diff --git a/contrib/PNP_Integration/templateExtensions/pnp-service-extension.xml b/contrib/PNP_Integration/templateExtensions/pnp-service-extension.xml
index f59dfd4..8a3d6b1 100644
--- a/contrib/PNP_Integration/templateExtensions/pnp-service-extension.xml
+++ b/contrib/PNP_Integration/templateExtensions/pnp-service-extension.xml
@@ -56,7 +56,7 @@
                             </parameter>
 
                             <parameter name="handlerArguments">
-                                <parameter name="title">Chart for {host_name/{service_name}</parameter>
+                                <parameter name="cronkTitle">Chart for {host_name}/{service_name}</parameter>
                                 <parameter name="url"><![CDATA[/pnp4nagios/index.php/graph?host={host_name}&srv={service_name}]]></parameter>
                                 <parameter name="activateOnClick">true</parameter>
                             </parameter>





More information about the icinga-checkins mailing list