[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Multigraphs with custom SCV datasets



Is it possible to use the multigraphs option with custom SCV datasets? I
have a script that returns me 15 unique values from a server. I would like a
graph of all of these, but placing them all on the same graph isn't helpful.
I've read that using adding the multigraphs option to hobbitcgi.cfg will
turn on this feature, but instead I get a 1 graph with all of my data plots
and then links (hobbit graph ncv:moirad) below it. I was able to turn on the
feature for non-custom scv datasets (such as inode) but can't get it to work
for this.

Here are the relevant parts of my configuration:
hobbitserver.cfg
--------------------------------
TEST2RRD="cpu=la,disk, --cut-- ,moirad=ncv"

hobbitcgi.cfg
-------------------------------
CGI_SVC_OPTS="--env=/usr/pkg/hobbit/server/etc/hobbitserver.cfg --no-svcid
--history=top --multigraphs=disk,inode,moirad"

hobbitgraphs.cfg
------------------------------
[moirad]
        TITLE Moira Server Stats
        YAXIS #
        DEF:nconnects=moirad.rrd:nconnects:AVERAGE
        DEF:nauths=moirad.rrd:nauths:AVERAGE
        DEF:nauthsv4=moirad.rrd:nauthsv4:AVERAGE
        DEF:nauthfails=moirad.rrd:nauthfails:AVERAGE
   ----- CUT -----
       GPRINT:nqueries:AVERAGE: \: %5.1lf%s (avg)\n
        GPRINT:nincrementals:LAST:Incrementals \: %5.1lf%s (cur)
        GPRINT:nincrementals:MAX: \: %5.1lf%s (max)
        GPRINT:nincrementals:MIN: \: %5.1lf%s (min)
        GPRINT:nincrementals:AVERAGE: \: %5.1lf%s (avg)\n


Is what I am trying to do even possible?

Jason Funk