[Xymon] xymon custom graphs

Sheel Shah Sheel.Shah at rd.com
Fri Dec 19 17:35:33 CET 2014


Hello,

I am trying to set up some custom graphs to monitor memcached. I am using the script Olivier Beau created a few years ago. The data is definitely displaying in Xymon itself, but I am unable to see the graphs for the same datasets. Could someone point me in the right direction of what I may be doing wrong?

Thanks,
Sheel

I added the appropriate values to the xymonserver.cfg, adding "memcache-test=ncv" to the TEST2RRD line, and adding this line (memcache-test is the name of the column in Xymon).
SPLITNCV_memcache-test="Hits:GAUGE,Misses:GAUGE,reqs:GAUGE,Gets:GAUGE,Sets:GAUGE,storage:GAUGE,items:GAUGE,hitratio:GAUGE,*:NONE"

I verified that data appears to be collected in the ~/xymon/data/rrd/<hostname>/memcache-test,Gets.rrd, for example. Finally, here is my configuration in the graphs.cfg.

[memcache-test]
        TITLE Memcache Utilization
        YAXIS
        DEF:reqs=memcache-test,reqs.rrd:Lambda:AVERAGE
        DEF:hitratio=memcache-test,hitratio.rrd:Lambda:AVERAGE
        DEF:gets=memcache-test,Gets.rrd:Lambda:AVERAGE
        DEF:sets=memcache-test,Sets.rrd:Lambda:AVERAGE
        DEF:items=memcache-test,items.rrd:Lambda:AVERAGE
     Def:storage=memcache-test,storage.rrd:Lambda:AVERAGE
        LINE1:reqs#@COLOR@:Requests
        GPRINT:reqs:LAST: \: %5.1lf%s (cur)
        GPRINT:reqs:MAX: \: %5.1lf%s (max)
        GPRINT:reqs:MIN: \: %5.1lf%s (min)
        GPRINT:reqs:AVERAGE: \: %5.1lf%s (avg)\n
        LINE1:hitratio#@COLOR@:CacheHitRatio
        GPRINT:hitratio:LAST: \: %5.1lf%s (cur)
        GPRINT:hitratio:MAX: \: %5.1lf%s (max)
        GPRINT:hitratio:MIN: \: %5.1lf%s (min)
        GPRINT:hitratio:AVERAGE: \: %5.1lf%s (avg)\n
        LINE1:gets#@COLOR@:Gets
        GPRINT:gets:LAST: \: %5.1lf%s (cur)
        GPRINT:gets:MAX: \: %5.1lf%s (max)
        GPRINT:gets:MIN: \: %5.1lf%s (min)
        GPRINT:gets:AVERAGE: \: %5.1lf%s (avg)\n
        LINE1:sets#@COLOR@:Sets
        GPRINT:sets:LAST: \: %5.1lf%s (cur)
        GPRINT:sets:MAX: \: %5.1lf%s (max)
        GPRINT:sets:MIN: \: %5.1lf%s (min)
        GPRINT:sets:AVERAGE: \: %5.1lf%s (avg)\n
        COMMENT:Items Cached
        GPRINT:items:LAST: \: %5.1lf%s (cur)
        GPRINT:items:MAX: \: %5.1lf%s (max)
        GPRINT:items:MIN: \: %5.1lf%s (min)
        GPRINT:items:AVERAGE: \: %5.1lf%s (avg)\n
        LINE1:storage#@COLOR@:% Used Storage
        GPRINT:storage:LAST: \: %5.1lf%s (cur)
        GPRINT:storage:MAX: \: %5.1lf%s (max)
        GPRINT:storage:MIN: \: %5.1lf%s (min)
        GPRINT:storage:AVERAGE: \: %5.1lf%s (avg)\n

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20141219/ee7131ee/attachment.html>


More information about the Xymon mailing list