[hobbit] Custom Graphs not appearing
Jeremy Ruffer
jruffer at hss.com
Thu Feb 14 10:42:07 CET 2008
I finally found it. I had Min instead of MIN.
Is it possible to specify a maximum that the Y-Axis can go up to?
Jeremy
This message, and any associated files, are intended only for the use of the message recipient and may contain information that is confidential, subject to copyright or constitute a trade secret. If you are not the message recipient you are hereby notified that any dissemination, copying or distribution of this message, or files associated with this message, is strictly prohibited. If you have received this message in error, please notify the sender immediately by replying to the message and then deleting it from your computer. HSS Hire Service Group Limited may monitor email traffic data and also the content of email for the purposes of security and staff training. Any views or opinions presented are solely those of jruffer at hss.com and do not necessarily represent those of the company.
HSS Hire Service Group is a limited company registered in England and Wales. Registered number: 2103564.
Registered office: 25 Willow Lane, Mitcham, Surrey, CR4 4TS, United Kingdom.
-----Original Message-----
From: Jeremy Ruffer [mailto:jruffer at hss.com]
Sent: 13 February 2008 17:09
To: hobbit at hswn.dk
Subject: [hobbit] Custom Graphs not appearing
Hi everyone,
I thought that I had this one sussed and managed to produce a couple of
graphs on the Trends page from a data send.
I wanted to produce another graph with 3 lines on it.
My rrd file is being produced OK
rrdtool dump looks good.
<!-- Round Robin Database Dump -->
<rrd>
<version> 0003 </version>
<step> 300 </step> <!-- Seconds -->
<lastupdate> 1202921859 </lastupdate> <!-- 2008-02-13 16:57:39
GMT -->
<ds>
<name> Spudcount </name>
<type> GAUGE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> UNKN </last_ds>
<value> 8.5860000000e+03 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
<ds>
<name> Spudavg </name>
<type> GAUGE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> UNKN </last_ds>
<value> 2.6553000000e+01 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
<ds>
<name> Spudmax </name>
<type> GAUGE </type>
<minimal_heartbeat> 600 </minimal_heartbeat>
<min> 0.0000000000e+00 </min>
<max> NaN </max>
<!-- PDP Status -->
<last_ds> UNKN </last_ds>
<value> 1.5900000000e+02 </value>
<unknown_sec> 0 </unknown_sec>
</ds>
rrdtool fetch looks sensible to me:
# rrdtool fetch Spudgraph.rrd AVERAGE -r 900 -s -60m
Spudcount Spudavg Spudmax
1202918700: 6.4000000000e+01 5.6341000000e-01 4.6500000000e+00
1202919000: 6.1650000000e+01 3.7451000000e-01 2.0000000000e+00
1202919300: 6.1333333333e+01 3.7026666667e-01 1.5333333333e+00
1202919600: 7.1520000000e+01 4.1493000000e-01 1.4700000000e+00
1202919900: 7.8120000000e+01 5.2840000000e-01 2.0000000000e+00
1202920200: 6.8950000000e+01 5.3455000000e-01 1.5300000000e+00
1202920500: 6.6170000000e+01 5.1105000000e-01 1.0000000000e+00
1202920800: 6.5000000000e+01 4.6446666667e-01 1.0000000000e+00
1202921100: 5.1360000000e+01 3.1625000000e-01 1.0000000000e+00
1202921400: 4.8760000000e+01 3.3062000000e-01 1.0000000000e+00
1202921700: 5.3470000000e+01 2.3855000000e-01 1.0000000000e+00
1202922000: 4.9770000000e+01 1.8251000000e-01 1.0000000000e+00
1202922300: nan nan nan
There is an empty box for the graph on the Trends page.
I have obviously made a mistake in my hobbitgraph.cfg but I just can't
see it.
[Spudgraph]
TITLE Spud Results
YAXIS Spud
DEF:Count=Spudgraph.rrd:Spudcount:AVERAGE
DEF:Avg=Spudgraph.rrd:Spudavg:AVERAGE
DEF:Max=Spudgraph.rrd:Spudmax:AVERAGE
LINE2:Count#FF0000:Count
LINE2:Avg#00FF00:Avg
LINE2:Max#0000FF:Max
COMMENT:\n
GPRINT:Count:LAST: %6.0lf%s (cur)
GPRINT:Count:MAX: %6.0lf%s (max)
GPRINT:Count:Min: %6.0lf%s (min)
GPRINT:Count:AVERAGE: %6.1lf%s (avg) \n
GPRINT:Avg:LAST: %6.3lf%s (cur)
GPRINT:Avg:MAX: %6.3lf%s (max)
GPRINT:Avg:Min: %6.3lf%s (min)
GPRINT:Avg:AVERAGE: %6.3lf%s (avg) \n
GPRINT:Max:LAST: %6.0lf%s (cur)
GPRINT:Max:MAX: %6.0lf%s (max)
GPRINT:Max:Min: %6.0lf%s (min)
GPRINT:SpudMax:AVERAGE: %6.1lf%s (avg) \n
Can anyone help?
Jeremy Ruffer
This message, and any associated files, are intended only for the use of
the message recipient and may contain information that is confidential,
subject to copyright or constitute a trade secret. If you are not the
message recipient you are hereby notified that any dissemination,
copying or distribution of this message, or files associated with this
message, is strictly prohibited. If you have received this message in
error, please notify the sender immediately by replying to the message
and then deleting it from your computer. HSS Hire Service Group Limited
may monitor email traffic data and also the content of email for the
purposes of security and staff training. Any views or opinions presented
are solely those of jruffer at hss.com and do not necessarily represent
those of the company.
HSS Hire Service Group is a limited company registered in England and
Wales. Registered number: 2103564.
Registered office: 25 Willow Lane, Mitcham, Surrey, CR4 4TS, United
Kingdom.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20080214/2b6389b1/attachment.html>
More information about the Xymon
mailing list