Module: check_mk
Branch: master
Commit: 096708dc2512715c03984b32e52a1a4782922cdf
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=096708dc251271…
Author: Lars Michelsen <lm(a)mathias-kettner.de>
Date: Mon Apr 13 10:55:17 2015 +0200
#2174 Added action popup to host & service views, supporting custom actions now
Each host and service has several icons showing up in the web GUI to either
provide options to perform actions or visualizing the state of the object.
Now we reworked the whole thing a bit by adding a popup menu which is groups
together the actions for an object. This aims to reduce the number of icons
shown up in list views.
By default the icon column is now showing the popup menu trigger icon which
can be left clicked to open the popup menu and the graph icon if a host or
service has performance data available. The column is also showing all state
related icons.
Former versions already allowed users to extend the web GUI with so called
in python written icon plugins. This is still possible.
But now, we added the option to easily configure basic actions using WATO.
The configuration is split into two steps:
a) You need to basically configure your custom actions
This is done via the option <i>Custom icons and actions</i> which
can be found in the <i>Status GUI (Multisite)</i> tab of the <i>Global
Settings</i>.
First you need to choose an unique identifier for your action.
Then you can either configure simple icons providing some kind
of information, for example the type of the system, by configuring just
an icon and the title.
If you like to add a custom action, for example a link to the web interface
of one of your devices, you can configure an action URL where you can use
some basic macros:
<ul>
<li>$HOSTNAME$: Contains the name of the host</li>
<li>$SERVICEDESC$: Contains the service description (in case this is a
service)</li>
<li>$HOSTADDRESS$: Contains the network address of the host</li>
</ul>
b) Assign the actions to your objects
After you configured at least one custom action, you can use the rules
<i>Custom icons or actions for hosts in status GUI</i> and
<i>Custom icons or actions for services in status GUI</i> to assign
your custom actions to your hosts and services.
---
.werks/2174 | 53 +++++++++++++++++++++++++++++++++++++++++++++++++++++
ChangeLog | 1 +
2 files changed, 54 insertions(+)
diff --git a/.werks/2174 b/.werks/2174
new file mode 100644
index 0000000..a1827e8
--- /dev/null
+++ b/.werks/2174
@@ -0,0 +1,53 @@
+Title: Added action popup to host & service views, supporting custom actions now
+Level: 2
+Component: multisite
+Compatible: compat
+Version: 1.2.7i1
+Date: 1428914435
+Class: feature
+
+Each host and service has several icons showing up in the web GUI to either
+provide options to perform actions or visualizing the state of the object.
+
+Now we reworked the whole thing a bit by adding a popup menu which is groups
+together the actions for an object. This aims to reduce the number of icons
+shown up in list views.
+
+By default the icon column is now showing the popup menu trigger icon which
+can be left clicked to open the popup menu and the graph icon if a host or
+service has performance data available. The column is also showing all state
+related icons.
+
+Former versions already allowed users to extend the web GUI with so called
+in python written icon plugins. This is still possible.
+But now, we added the option to easily configure basic actions using WATO.
+The configuration is split into two steps:
+
+a) You need to basically configure your custom actions
+
+This is done via the option <i>Custom icons and actions</i> which
+can be found in the <i>Status GUI (Multisite)</i> tab of the <i>Global
+Settings</i>.
+
+First you need to choose an unique identifier for your action.
+
+Then you can either configure simple icons providing some kind
+of information, for example the type of the system, by configuring just
+an icon and the title.
+
+If you like to add a custom action, for example a link to the web interface
+of one of your devices, you can configure an action URL where you can use
+some basic macros:
+
+<ul>
+<li>$HOSTNAME$: Contains the name of the host</li>
+<li>$SERVICEDESC$: Contains the service description (in case this is a
service)</li>
+<li>$HOSTADDRESS$: Contains the network address of the host</li>
+</ul>
+
+b) Assign the actions to your objects
+
+After you configured at least one custom action, you can use the rules
+<i>Custom icons or actions for hosts in status GUI</i> and
+<i>Custom icons or actions for services in status GUI</i> to assign
+your custom actions to your hosts and services.
diff --git a/ChangeLog b/ChangeLog
index 295a7a3..67c6bdc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -330,6 +330,7 @@
* 2042 Services are now sorted in a natural way, this affects services containing
numbers...
* 2140 Remove PNP Timeranges from range selection, put these ranges directly into the
list...
* 2166 LDAP: Multiple LDAP groups can be configured for assigning single roles to
users...
+ * 2174 Added action popup to host & service views, supporting custom actions
now...
* 1781 FIX: Fix broken grouping by host/service group in availability
* 1783 FIX: Finish the view "History of Scheduled Downtimes"...
* 1206 FIX: Hostname not longer shown as column in host views