Copying items

Looking at the same overview screen, the data seems easier to understand with textual hints provided for previously cryptic numeric values, but there's still a bit of not-so-perfect displaying. Notice the dashes displayed for the CPU load item for Another host and all other values for A test host. We didn't create corresponding items on both hosts, and item data is displayed here, which means missing items should be created for each host to gather the data. But recreating all items would be very boring. Luckily, there's a simple and straightforward solution to this problem.

Go to Configuration | Hosts and click on Items next to A test host. We had only a single item configured for this host, so mark the checkbox next to this item. Let's look at the available buttons at the bottom of the list again:

This time, we don't want to update selected items, but copy them to another host:

  1. Click on the Copy button.
  2. We want to copy these items to a specific host, so choose Hosts in the Target type drop-down menu.
  3. Select Linux servers in the Group drop-down menu, which should leave us with a short list of hosts. We are copying from A test host to Another host; mark the checkbox next to the Another host entry.
  1. Click on the Copy button:

When the operation has completed, change the Host filter field (expand the filter if it is closed) to Another host, and then click on Filter below the filter itself. Notice how the CPU load item has appeared in the list. This time, mark all the items except CPU load, because that's the only item A test host has. You can use the standard range selection functionality here-mark the checkbox next to the ICMP ping performance item (the first item in the range we want to select), hold down Shift on the keyboard, and click on the checkbox next to the Zabbix agent version (the last item in the range we want to select). This should select all the items between the two checkboxes we clicked on.

Using the Shift key and clicking works to both select and deselect arbitrary entry ranges, including items, hosts, triggers, and other entries in the Zabbix frontend. It works both upward and downward. The result of the action depends on the first checkbox marked—if you select it, the whole range will be selected, and vice versa.

With those items selected, do the following:

  1. Click on Copy below the item list.
  2. Choose Hosts in the Target type drop-down menu.
  3. Choose Linux servers in the Group  drop-down menu.
  4. Mark only the checkbox next to A test host, and click on Copy.
  1. After that, click on the Details link in the upper-right corner. Notice how all of the copied items are listed here. Let's take another look at Monitoring | Overview:

Great, that's much better! We can see all the data for the two hosts, with the numeric status nicely explained. Basically, we just cross-copied items that did not exist on one host from the other one.

But it only gets better—with a mouseover of the displayed values, you can notice how the chosen row is highlighted. Let's click on one of the CPU load values:

As you can see, the overview screen not only shows you data in a tabular form, it also allows quick access to common timescale graphs and the Latest values for the item. Feel free to try that out.

When you have looked at the data, click on one of the Zabbix agent version values:

Notice how this time there are no entries for graphs. Remember: graphs were only available for numeric data, so Monitoring | Latest data and these overview screen pop-up menus offer the value history only.

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

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