Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

How can I get Zabbix to display the same item from multiple hosts in a single graph? I wish to compare the item on different hosts.

share|improve this question

3 Answers 3

up vote 1 down vote accepted

You can create a custom graph that pulls items from multiple hosts. The graph however will be associated with a host, in which case you could create a phantom host which you can associate the graph with. Configuration -> Hosts -> Graphs (in the host you want the graph to be associated with). When you add your Graph items you can selected the host from which each item comes from.

Alternatively there are aggregate hosts available as well. These allow for the accumulation of items across all hosts in a host group.

share|improve this answer
    
note that this is not entirely correct - a graph will only appear for hosts that actually have items included in that graph, thus creating a "phantom" host will not work - graph will never show for that host –  Richlv Nov 17 at 14:03

Since Zabbix 2.4 you may also simply mark such items from the latest data page and display an ad-hoc graph. There is no built-in way to save such graph - but if you would like to revisit it later, you can copy the URL to it. See Zabbix manual for more information : https://www.zabbix.com/documentation/2.4/manual/config/visualisation/graphs/adhoc

share|improve this answer

Alternative: If your graphs are busy and hard to distinguish multiple hosts, or if you don't want to create the graphs manually, you can also create a screen, and put multiple graphs on the screen each from different hosts (e.g. the standard graphs so you don't have to roll your own).

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.