[Xymon] Custom Graph not displaying.

Jayanta Kundu jayantak007 at gmail.com
Tue May 17 17:40:19 CEST 2011


Hi Vernon,



I tried with following changes in "hobbitserver.cfg" file with entry like:

NCV_Slabinfo="*:GAUGE"
But it is not work out.



In your previous mail:

The data being sent must have absolutely no other text on the line, except

description=value

or

description : value



Could you please let me know where I need to check(file name, etc.) for
description=value.



With Thanks & Regards,
Jayanta.



On Mon, May 16, 2011 at 9:22 AM, Vernon Everett <everett.vernon at gmail.com>wrote:

> Do you also have a hobbitserver.cfg entry
> NCV_Slabinfo="*:GAUGE"
> You will probably need it to make things work.
>
> Regards
>     Vernon
>
> On Sun, May 15, 2011 at 9:37 PM, Jayanta Kundu <jayantak007 at gmail.com>
> wrote:
>  > Hi All,
> >
> >
> >
> > I am unable to display custom graph into xymon page. Only following
> > figure(graph-tag) shown in inside trends column and inside
> xymon KPI(custom)
> > page:
> >
> > I am using “xymon-4.2.3”.
> >
> > I am trying to display custom graph.
> >
> > (1) I have “SlabInfo.sh” file which display following two values into
> xymon
> > page:
> >
> > SLAB Info:
> > inode_cache : 831040
> >
> > dentry_cache : 20268144
> >
> >
> >
> >
> >
> > (2) In "hobbitserver.cfg" file I added(red marked) at the end:
> >
> > TEST2RRD="cpu=la,disk,inode . . . . . . . . . . . . . .
> > ,temp=devmon,SlabInfo=ncv"
> >
> > GRAPHS="la,disk,inode, . . . . . . . . . . . . . . . . . ,temp,SlabInfo"
> >
> >
> >
> > (3) In "hobbitgraph.cfg" file I added following lines:
> >
> > [SlabInfo]
> >
> >         TITLE Slab inf
> >
> >         YAXIS Bytes
> >
> >         DEF:inode=SlabInfo.rrd:inode_cache:AVERAGE
> >
> >         DEF:dentry=SlabInfo.rrd:dentry_cache:AVERAGE
> >
> >         LINE2:inode#00CCCC:Inode cache
> >
> >         LINE2:dentry#FF0000:Dentry cache
> >
> >         COMMENT:\n
> >
> >         GPRINT:inode:LAST:Inode cache \: %5.1lf%s (cur)
> >
> >         GPRINT:inode:MAX: \: %5.1lf%s (max)
> >
> >         GPRINT:inode:MIN: \: %5.1lf%s (min)
> >
> >         GPRINT:inode:AVERAGE: \: %5.1lf%s (avg)\n
> >
> >         GPRINT:dentry:LAST:Dentry cache\: %5.1lf%s (cur)
> >
> >         GPRINT:dentry:MAX: \: %5.1lf%s (max)
> >
> >         GPRINT:dentry:MIN: \: %5.1lf%s (min)
> >
> >         GPRINT:dentry:AVERAGE: \: %5.1lf%s (avg)\n
> >
> >
> >
> > (4) Rrd dump output is:
> >
> > [root at t1vl001 rrdtool-1.0.50]# rrdtool dump
> > /home/xymon/data/rrd/t1vl001/SlabInfo.rrd
> >
> > <!-- Round Robin Database Dump -->
> >
> > <rrd>
> >
> >         <version> 0001 </version>
> >
> >         <step> 300 </step> <!-- Seconds -->
> >
> >         <lastupdate> 1305464646 </lastupdate> <!-- 2011-05-15 17:34:06
> IRDT
> > -->
> >
> >
> >
> >         <ds>
> >
> >                 <name> fontsize </name>
> >
> >                 <type> DERIVE </type>
> >
> >                 <minimal_heartbeat> 600 </minimal_heartbeat>
> >
> >                 <min> NaN </min>
> >
> >                 <max> NaN </max>
> >
> >
> >
> >                 <!-- PDP Status -->
> >
> >                 <last_ds> 2 </last_ds>
> >
> >                 <value> 0.0000000000e+00 </value>
> >
> >                 <unknown_sec> 246 </unknown_sec>
> >
> >         </ds>
> >
> >
> >
> >         <ds>
> >
> >                 <name> dentrycache </name>
> >
> >                 <type> DERIVE </type>
> >
> >                 <minimal_heartbeat> 600 </minimal_heartbeat>
> >
> >                 <min> NaN </min>
> >
> >                 <max> NaN </max>
> >
> >
> >
> >                 <!-- PDP Status -->
> >
> >                 <last_ds> 20237040 </last_ds>
> >
> >                 <value> 0.0000000000e+00 </value>
> >
> >                 <unknown_sec> 246 </unknown_sec>
> >
> >         </ds>
> >
> >
> >
> > <!-- Round Robin Archives -->
> >
> >         <rra>
> >
> >                 <cf> AVERAGE </cf>
> >
> > -          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - -
> > - - - - - - - - - - - - - - -
> >
> > -          - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
> - -
> > - - - - - - - - - - - - - - -
> >
> >
> >
> > Kindly help me how can I display full graph in our xymon page.
> >
> >
> >
> > With Thanks & Regards,
> >
> > Jayanta.
> >
> >
> >
>  > _______________________________________________
> > Xymon mailing list
> > Xymon at xymon.com
> > http://lists.xymon.com/mailman/listinfo/xymon
> >
> >
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20110517/d58d7b9e/attachment.html>


More information about the Xymon mailing list