[Xymon] about trends and multigraph

Olivier AUDRY olivier at audry.fr
Tue Sep 11 22:45:02 CEST 2012


hello

I have one rrd by jvm to trend memory usage off the jvm 

-rw-rw-r-- 1 xymon xymon 209480 11 sept. 22:35 jvm.tomcat5-1.rrd
-rw-rw-r-- 1 xymon xymon 209480 11 sept. 22:35 jvm.tomcat5-2.rrd
-rw-rw-r-- 1 xymon xymon 209480 11 sept. 22:35 jvm.tomcat5-3.rrd
-rw-rw-r-- 1 xymon xymon 209480 11 sept. 22:35 jvm.tomcat5-4.rrd
-rw-rw-r-- 1 xymon xymon 209480 11 sept. 22:35 jvm.tomcat6-1.rrd
-rw-rw-r-- 1 xymon xymon 209480 11 sept. 22:35 jvm.tomcat6-2.rrd

the graphs def :

[jvm]
        FNPATTERN jvm.(.*).rrd
        TITLE Garbage Collection
        YAXIS Bytes
        DEF:EC at RRDIDX@=@RRDFN@:EC:AVERAGE
        DEF:EU at RRDIDX@=@RRDFN@:EU:AVERAGE
        DEF:OC at RRDIDX@=@RRDFN@:OC:AVERAGE
        DEF:OU at RRDIDX@=@RRDFN@:OU:AVERAGE
        DEF:PC at RRDIDX@=@RRDFN@:PC:AVERAGE
        DEF:PU at RRDIDX@=@RRDFN@:PU:AVERAGE
        DEF:GCAP at RRDIDX@=@RRDFN@:GCAP:AVERAGE
        LINE1:EC at RRDIDX@#@COLOR@:@RRDPARAM@ Current eden space capacity.\n
        GPRINT:EC at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:EC at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:EC at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:EC at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
        LINE1:EU at RRDIDX@#@COLOR@:@RRDPARAM@ Eden space utilization.\n
        GPRINT:EU at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:EU at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:EU at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:EU at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
        LINE1:OC at RRDIDX@#@COLOR@:@RRDPARAM@ Current old space capacity.\n
        GPRINT:OC at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:OC at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:OC at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:OC at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
        LINE1:OU at RRDIDX@#@COLOR@:@RRDPARAM@ Old space utilization.\n
        GPRINT:OU at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:OU at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:OU at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:OU at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
        LINE1:PC at RRDIDX@#@COLOR@:@RRDPARAM@ Current permanent space capacity.\n
        GPRINT:PC at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:PC at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:PC at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:PC at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n
        LINE1:PU at RRDIDX@#@COLOR@:@RRDPARAM@ Permanent space utilization.\n
        GPRINT:PU at RRDIDX@:LAST: \: %5.1lf (cur)
        GPRINT:PU at RRDIDX@:MAX: \: %5.1lf (max)
        GPRINT:PU at RRDIDX@:MIN: \: %5.1lf (min)
        GPRINT:PU at RRDIDX@:AVERAGE: \: %5.1lf (avg)\n

I got the trends in the jvm column and in the trends column but the I have all the information in the same graph => unreadable.
So I had the jvm value to the CGI_SVC_OPTS.

CGI_SVC_OPTS="--env=$XYMONENV --no-svcid --history=top --multigraphs=jvm,disk,inode,qtree,if_load,if_err,if_col,vip-bandwith,diskstats"

On the column jvm I got the graph for the first rrd but not for the others. If I tweak the url with the right value for first and count
I can find the graph for the other rrd.

I suspect the value in the html <!-- linecount=1 --> should not be at 1 but I don't understand how this is set.

Any help would be much appreciated :)

oau




More information about the Xymon mailing list