Custom graphs

Graph are usually part of a probe. But some might want to add custom graph, that use data from different graph, or display values in a different way.

So it's possible to add in the configuration some graph description.

In this graph description, one can add a path using a addpath element instead of a add one :

<addpath>
    <path>
        <host>host</host>
        <probe>probe</probe>
        <dsName>datasource name</dsName>
    </path>
    ...
</addpath>

Another kind of custom graph is the aggregate. It takes a set of same kind graph and combine their values using the provided function. As the time of writing, only one kind of aggregation is provided, a sum. A sum custom graph is defined in a sum file :

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sum PUBLIC "-//jrds//DTD Sum//EN" "urn:jrds:sum">
<sum name="sum name" id="sum id">
    <element name="graph 1 name" />
    <element name="graph 2 name" />
</sum>

All custom graph appears in the Custom graphs id, or the id can be used to add them in a custom tab.

 
customgraphs.txt · Last modified: 2011/09/24 17:42 by root     Back to top