Werk #2174: Added action popup to host & service views, supporting custom actions now

Component User interface
Title Added action popup to host & service views, supporting custom actions now
Date Apr 13, 2015
Checkmk Edition Checkmk Raw (CRE)
Checkmk Version 1.2.7i1
Level Prominent Change
Class New Feature
Compatibility Compatible - no manual interaction needed

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 Custom icons and actions which can be found in the Status GUI (Multisite) tab of the Global Settings.

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:

  • $HOSTNAME$: Contains the name of the host
  • $SERVICEDESC$: Contains the service description (in case this is a service)
  • $HOSTADDRESS$: Contains the network address of the host

b) Assign the actions to your objects

After you configured at least one custom action, you can use the rules Custom icons or actions for hosts in status GUI and Custom icons or actions for services in status GUI to assign your custom actions to your hosts and services.

To the list of all Werks