It looks like you have some HTTP code on the same lines as the data
you are trying to graph.
Look at your rrd dump. The data column name is fontsize.
The data being sent must have absolutely no other text on the line, except
description=value
or
description : value
Hope it helps.
Cheers
Vernon
On Sun, May 15, 2011 at 9:37 PM, Jayanta Kundu <user-d0758a3e63c3@xymon.invalid> 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.