Stacking example
The below configuration shows how to create a stacked graph from a data source (namely the entropy value) from two hosts.
The example creates a virtual host ("aggregates.example.com") under which we loan data values from the two other hosts, and then creates a stacked graph from the same hosts.
Note that the two individual graphs are not necessary to create the stacked graph, they're only there for reference.
[aggregates.example.com]
update no
contacts no
# This graph loans data values from foo.example.com to be graphed under aggregates.example.com
# This is not required to create the stack graph below, but is nice for reference
foo_entropy.graph_order entropy=foo.example.com:entropy.entropy
foo_entropy.update no
foo_entropy.graph_category System
foo_entropy.graph_title Entropy on foo
# This graph loans data values from bar.example.com to be graphed under aggregates.example.com
# This is not required to create the stack graph below, but is nice for reference
bar_entropy.graph_order entropy=bar.example.com:entropy.entropy
bar_entropy.update no
bar_entropy.graph_category System
bar_entropy.graph_title Entropy on bar
# This graph stacks the entropy values from the hosts foo.example.com and bar.example.com
total_entropy.update no
total_entropy.graph_args --base 1000 -l 0
total_entropy.graph_category System
total_entropy.graph_title Aggregated entropy, completely bogus
total_entropy.total_received.label not_used
total_entropy.total_received.stack \
foo=foo.example.com:entropy.entropy \
bar=bar.example.com:entropy.entropy
The last part of the above configuration gives a stacked graph, like this:
If you need to reference a node with you have specified a group name for manually, then you also need to enter the node name with the group name like "Group;node.name" where the node is referenced.
Attachments
- aggregates.hjemme.ruberg.no-total_entropy-month.png (6.2 kB) - added by bjorn on 10/03/06 10:22:38.
