Xymon Mailing List Archive search

xymon custom graphs

2 messages in this thread

list Sheel Shah · Fri, 19 Dec 2014 16:35:33 +0000 ·
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
list Srikrishna Karatalapu · Wed, 6 May 2015 23:57:08 +0000 ·
Hi,

I have recently successfully  installed xymon server in our dev environment. I am working on migrating data from the hobbit sever to xymon server. I have been able successfully restore the historical data.  But I still see the custom graphs on hobbit are not working on the xymon server.

  *   I have renamed the  hobbit graphs to graphs.cfg .
  *   I am using an identical test2rrd.cfg as the hobbit server.

Are there any other configuration changes that need to be made as part of the data migration so the I can see the custom graphs. Any help is appreciated.

Thanks
Krishna