[hobbit] zonestat : where are graphs ?

Eric Meddaugh etmsys at rit.edu
Mon May 14 13:57:44 CEST 2007


You also need the follow:

--As a tag in the bb-hosts:

zonestat:zonestatcpu|zonestatmem|zonestatnproc|zonestatsize

--In the hobbitserver.cfg in the TEST2RRD and GRAPHS entry:

zonestat

--In the hobbitlaunch.cfg under the rrddata CMD part:

--extra-tests=zonestat

--Also the graphs in hobbitgraph.cfg

[zonestatcpu]
        TITLE Zone % CPU
        YAXIS % CPU
        FNPATTERN zonestat.(.*).rrd
        -u 100
        -r
        DEF:c at RRDIDX@=@RRDFN@:cpu:AVERAGE
        LINE1:c at RRDIDX@#@COLOR@:@RRDPARAM@
        GPRINT:c at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:c at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:c at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:c at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[zonestatmem]
        TITLE Zone % Memory
        YAXIS % Memory
        FNPATTERN zonestat.(.*).rrd
        -u 100
        -r
        DEF:m at RRDIDX@=@RRDFN@:memory:AVERAGE
        LINE1:m at RRDIDX@#@COLOR@:@RRDPARAM@
        GPRINT:m at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:m at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:m at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:m at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[zonestatnproc]
        TITLE Zone Num Proces
        YAXIS #
        FNPATTERN zonestat.(.*).rrd
        DEF:p at RRDIDX@=@RRDFN@:nproc:AVERAGE
        LINE1:p at RRDIDX@#@COLOR@:@RRDPARAM@
        GPRINT:p at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:p at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:p at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:p at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

[zonestatsize]
        # This graph only works on some OS'es (Solaris)
        TITLE Zone Memory Utilization
        YAXIS Size mB
        FNPATTERN zonestat.(.*).rrd
        DEF:s at RRDIDX@=@RRDFN@:size:AVERAGE
        LINE1:s at RRDIDX@#@COLOR@:@RRDPARAM@
        GPRINT:s at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:s at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:s at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:s at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n


Yes, you do need the rrd_data.pl script as well, then configure it in
the hobbitlaunch.cfg:

--extra-script=/home/hobbit/server/ext/rrd_data.pl

---Eric

-----Original Message-----
From: Galen Johnson [mailto:gjohnson at trantor.org] 
Sent: Monday, May 14, 2007 07:40
To: hobbit at hswn.dk
Subject: Re: [hobbit] zonestat : where are graphs ?

Nicolas Dorfsman wrote:
> Hi,
>
> I've read the question on the list...but can't find the answer.
>
> zonestat seems to work on client....but there's nothing on server ?
> I've followed the doc for installation...is there something to add in 
> bbhosts ?
>
> To unsubscribe from the hobbit list, send an e-mail to
> hobbit-unsubscribe at hswn.dk
>
>
Did you grab the rrd_data.pl script as well?  There's a typo on the site

that says you don't need it if you have zonestat installed...that should

read mpstat...and will be fixed shortly.

=G=


To unsubscribe from the hobbit list, send an e-mail to
hobbit-unsubscribe at hswn.dk





More information about the Xymon mailing list