Xymon Mailing List Archive search

combine status and data in same column with graph

list Jeremy Laidman
Fri, 15 Nov 2013 09:12:27 +1100
Message-Id: <user-5577cc2a91dd@xymon.invalid>

On 15 November 2013 07:05, Asif Iqbal <user-6f4b51ac2a40@xymon.invalid> wrote:
This creates only one graph. How do I create multiple graphs? one for
foo,ds1.rrd and one for foo,ds2.rrd ?
I think the "::100" trick is related to how many lines to put onto one
mult-graph before splitting into separate graphs.  This is the "linecount"
value.  If you use "::1" then you should get two graphs, each one 1 line.
 I've never found this very predictable, and when I try to manipulate it, I
get broken graphs.  But worth you giving it a try.

Another thing you can do is output a comment saying "<!-- linecount=nnn
-->" in your status message.  Xymon detects this and sets the linecount
value for displaying graphs.  This is used by Devmon to control the number
of lines on a graph.  If you set it to 1, then you'll probably get two
separate graphs for two DSes.

Another option is to create a separate graph for each DS.  So you could
have:

[foo]
 FNPATTERN foo,(.*).rrd
        TITLE foo  - ds1 and ds2
...

[foo1]
 FNPATTERN foo,ds1.rrd
        TITLE foo  - ds1
...

[foo2]
 FNPATTERN foo,ds2.rrd
        TITLE foo  - ds2
...

Then in hosts.cfg, adjust TRENDS to have foo:foo|foo1|foo2 if you want all
three graphs on the trends page.  However, the status page will only show
the [foo] graph.

J