Slide shows

We now have a couple of screens, but to switch between them, a manual interaction is required. While that's mostly acceptable for casual use, it would be hard to do if you wanted to display them on a large display for a helpdesk. Manual switching would soon get annoying even if you simply had Zabbix open on a secondary monitor all the time.

Another functionality comes to the rescue: slideshows. Slideshows in Zabbix are simple to set up, so go to Monitoring | Screens. Why a screen page? Zabbix changed the slideshow operations in 3.0 to be the same way as maps and screens by moving both viewing and configuration to the monitoring section.

Slideshows didn't get their own section, though; to access them, perform the following steps:

  1. Choose Slide shows from the drop-down in the upper-right corner.
  2. Click on the Create slide show button. Enter First slide show in the Name field, and click on the Add control in the Slides section. Slides are essentially screens, which is what we can see in the popup.
  3. Click on Local servers. We do not change the default value in the Delay field for this slide or screen. Leaving it empty will use the value of 30s from the preceding Default delay field.
  4. Click on Add in the Slides section, and then click on Experimental screen. This time, enter 5s in the Delay field for this screen:

Notice the handles on the left-hand side—the same as in graphs and icon mapping; we can reorder the slides here. We won't do that now; just click on the Add button at the bottom.

If you want to add a single element to a slideshow, such as a map or graph, you will have to create a screen that contains only this element.

Now, click on First slide show in the Name column. It starts plain, showing a single screen, and it then switches to the other screen after 30 seconds, then back after 5 seconds, and so the cycle continues. As we have dynamic screen items included in the slideshow, we can also choose the host in the upper-right corner—this will affect the dynamic screen items only.

We could show more screens; for example, a large high-level overview for 30 seconds, and then cycle through the server group screens, showing each one for 5 seconds.

Take a look at the buttons in the upper-right corner:

The first button allows us to add this slideshow to the dashboard favorites, the same as with graphs and screens. The third button is the full-screen one again. But the middle button allows us to slow down or speed up the slideshow; click on it:

Instead of setting a specific time, we can make the slideshow faster or slower by applying a multiplier, thus maintaining the relative time for which each slide should be displayed.

There's also another reason to choose global screens over templated or host screens: only global screens can be included in slideshows.

Old versions of Zabbix had a memory leak in the slideshow functionality. There have also been several cases of memory leaks in browsers. If you see browser memory usage consistently increasing while using Zabbix slideshows, consider upgrading. If that is not possible, one of the slides could reload the page using a URL element and JavaScript, which, in most cases, should reduce memory usage. The website http://www.phpied.com/files/location-location/location-location.html suggests 535 different ways of doing this.

Both screens and slideshows can also be created by normal users and then shared since Zabbix 3.0, the same way how we share maps in Chapter 21Visualizing Data with Graphs and Maps. As with maps, other users will need access to all the elements and sub-elements included in such screens and slideshows to be able to access them.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
3.141.47.221