<br><font size=2 face="sans-serif">Thanks for the help with that Asif :-)</font>
<br>
<br><font size=2 face="sans-serif">It did inform me that I should use GAUGE
insted of DERIVE in plain simple english, unlike RRDtool's website imho.</font>
<br>
<br><font size=2 face="sans-serif">I've tested it succesfully and I've
changed my scripts to create a line on the informix graph for each possible
DB Space. So now informix.rootdbs.rrd and informix.datadbs.rrd and lots
of others are created and all have the dataset "percdbs" which
represents data DB Space usage in a percentage.</font>
<br>
<br><font size=2 face="sans-serif">I've adapted my informix section in
hobbitgraph.cfg to the following:</font>
<br><font size=2 face="sans-serif">[informix]</font>
<br><font size=2 face="sans-serif">        FNPATTERN
informix.(.*).rrd</font>
<br><font size=2 face="sans-serif">        TITLE Informix</font>
<br><font size=2 face="sans-serif">        YAXIS Percentage
in use</font>
<br><font size=2 face="sans-serif">        DEF:p@RRDIDX@=@RRDFN@:percdbs:AVERAGE</font>
<br><font size=2 face="sans-serif">        LINE2:p@RRDIDX#@COLOR@:Percentage
in use @RRDPARAM@</font>
<br><font size=2 face="sans-serif">        -u 100</font>
<br><font size=2 face="sans-serif">        -l 0</font>
<br><font size=2 face="sans-serif">        GPRINT:p@RRDIDX@:LAST:
\: %5.1lf (cur)</font>
<br><font size=2 face="sans-serif">        GPRINT:p@RRDIDX@:MAX:
\: %5.1lf (max)</font>
<br><font size=2 face="sans-serif">        GPRINT:p@RRDIDX@:MIN:
\: %5.1lf (min)</font>
<br><font size=2 face="sans-serif">        GPRINT:p@RRDIDX@:AVERAGE:
\: %5.1lf (avg)\n</font>
<br>
<br><font size=2 face="sans-serif">But somehow the graph won't draw anything
at all now.</font>
<br>
<br>
<br><font size=2 face="sans-serif">rrdtool dump:</font>
<br><font size=2 face="sans-serif"><!-- Round Robin Database Dump --></font>
<br><font size=2 face="sans-serif"><rrd></font>
<br><font size=2 face="sans-serif">        <version>
0001 </version></font>
<br><font size=2 face="sans-serif">        <step>
300 </step> <!-- Seconds --></font>
<br><font size=2 face="sans-serif">        <lastupdate>
1132571497 </lastupdate> <!-- 2005-11-21 12:11:37 CET --></font>
<br>
<br><font size=2 face="sans-serif">        <ds></font>
<br><font size=2 face="sans-serif">           
    <name> percdbs </name></font>
<br><font size=2 face="sans-serif">           
    <type> GAUGE </type></font>
<br><font size=2 face="sans-serif">           
    <minimal_heartbeat> 600 </minimal_heartbeat></font>
<br><font size=2 face="sans-serif">           
    <min> 0.0000000000e+00 </min></font>
<br><font size=2 face="sans-serif">           
    <max> NaN </max></font>
<br>
<br><font size=2 face="sans-serif">           
    <!-- PDP Status --></font>
<br><font size=2 face="sans-serif">           
    <last_ds> UNKN </last_ds></font>
<br><font size=2 face="sans-serif">           
    <value> 6.6000000000e+02 </value></font>
<br><font size=2 face="sans-serif">           
    <unknown_sec> 87 </unknown_sec></font>
<br><font size=2 face="sans-serif">        </ds></font>
<br><font size=2 face="sans-serif"><!-- Round Robin Archives --></font>
<br><font size=2 face="sans-serif">        <rra></font>
<br><font size=2 face="sans-serif">           
    <cf> AVERAGE </cf></font>
<br><font size=2 face="sans-serif">           
    <pdp_per_row> 1 </pdp_per_row> <!-- 300 seconds
--></font>
<br><font size=2 face="sans-serif">           
    <xff> 5.0000000000e-01 </xff></font>
<br>
<br><font size=2 face="sans-serif">           
    <cdp_prep></font>
<br><font size=2 face="sans-serif">           
            <ds><value> NaN </value>
 <unknown_datapoints> 0 </unknown_datapoints></ds></font>
<br><font size=2 face="sans-serif">           
    </cdp_prep></font>
<br><font size=2 face="sans-serif">           
    <database></font>
<br><font size=2 face="sans-serif">           
            <!-- 2005-11-19 12:15:00 CET
/ 1132398900 --> <row><v> NaN </v></row></font>
<br><font size=2 face="sans-serif">...</font>
<br>
<br>
<br>
<br>
<br>
<table width=100%>
<tr valign=top>
<td width=40%><font size=1 face="sans-serif"><b>Asif Iqbal <iqbala-hobbit@qwestip.net></b>
</font>
<p><font size=1 face="sans-serif">20/11/2005 11:01</font>
<table border>
<tr valign=top>
<td bgcolor=white>
<div align=center><font size=1 face="sans-serif">Antwoord a.u.b. aan<br>
hobbit@hswn.dk</font></div></table>
<br>
<td width=59%>
<table width=100%>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Aan</font></div>
<td><font size=1 face="sans-serif">hobbit@hswn.dk</font>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Cc</font></div>
<td>
<tr valign=top>
<td>
<div align=right><font size=1 face="sans-serif">Onderwerp</font></div>
<td><font size=1 face="sans-serif">Re: [hobbit] graph remains at zero rrd
problem</font></table>
<br>
<table>
<tr valign=top>
<td>
<td></table>
<br></table>
<br>
<br>
<br><font size=2><tt>Check this awesome 'howtograph' that Henrik just posted
on his website<br>
<br>
http://www.hswn.dk/~henrik/howtograph.txt<br>
<br>
That might explain lot of your rrd issues.<br>
<br>
On Fri, Nov 18, 2005 at 03:30:57PM, Tijl.VanDenBroeck@vlafo.be wrote:<br>
> Hello,<br>
> <br>
> I've been adjusting the BB informix script to send informix info to
<br>
> hobbit, that works flawlessly. Next part is creating a graph with
the <br>
> usage of the DB Spaces to monitor evolution. In a first instance I
want to <br>
> avoid having trouble with a dynamic number of DB Spaces and I tried
to <br>
> create a graph that's pretty static and limited to two DB Spaces.
Creating <br>
> the RRD and so all seems to go fine but when I look at the graph,
in the <br>
> legend it stays constantly at zero, it simply does not display the
DBS <br>
> usage number and it draws a line on the bottom of the X-axis.<br>
> <br>
> version:<br>
> hobbit-4.0.2 (yes I know, I still need to upgrade, maybe this is the
issue <br>
> itself?)<br>
> <br>
> informix.sh creates the following output:<br>
> DS:dbsusage1:DERIVE:600:0:100<br>
> DS:dbsusage2:DERIVE:600:0:100<br>
> informix.rrd<br>
> 44:66<br>
> <br>
> rrdtool info informix.rrd:<br>
> filename = "informix.rrd"<br>
> rrd_version = "0001"<br>
> step = 300<br>
> last_update = 1132323804<br>
> ds[dbsusage1].type = "DERIVE"<br>
> ds[dbsusage1].minimal_heartbeat = 600<br>
> ds[dbsusage1].min = 0.0000000000e+00<br>
> ds[dbsusage1].max = 1.0000000000e+02<br>
> ds[dbsusage1].last_ds = "44"<br>
> ds[dbsusage1].value = 0.0000000000e+00<br>
> ds[dbsusage1].unknown_sec = 0<br>
> ds[dbsusage2].type = "DERIVE"<br>
> ds[dbsusage2].minimal_heartbeat = 600<br>
> ds[dbsusage2].min = 0.0000000000e+00<br>
> ds[dbsusage2].max = 1.0000000000e+02<br>
> ds[dbsusage2].last_ds = "66"<br>
> ds[dbsusage2].value = 0.0000000000e+00<br>
> ds[dbsusage2].unknown_sec = 0<br>
> rra[0].cf = "AVERAGE"<br>
> rra[0].rows = 576<br>
> rra[0].pdp_per_row = 1<br>
> rra[0].xff = 5.0000000000e-01<br>
> rra[0].cdp_prep[0].value = NaN<br>
> rra[0].cdp_prep[0].unknown_datapoints = 0<br>
> rra[0].cdp_prep[1].value = NaN<br>
> rra[0].cdp_prep[1].unknown_datapoints = 0<br>
> rra[1].cf = "AVERAGE"<br>
> rra[1].rows = 576<br>
> rra[1].pdp_per_row = 6<br>
> rra[1].xff = 5.0000000000e-01<br>
> rra[1].cdp_prep[0].value = 0.0000000000e+00<br>
> rra[1].cdp_prep[0].unknown_datapoints = 0<br>
> rra[1].cdp_prep[1].value = 0.0000000000e+00<br>
> rra[1].cdp_prep[1].unknown_datapoints = 0<br>
> rra[2].cf = "AVERAGE"<br>
> rra[2].rows = 576<br>
> rra[2].pdp_per_row = 24<br>
> rra[2].xff = 5.0000000000e-01<br>
> rra[2].cdp_prep[0].value = 0.0000000000e+00<br>
> rra[2].cdp_prep[0].unknown_datapoints = 0<br>
> rra[2].cdp_prep[1].value = 0.0000000000e+00<br>
> rra[2].cdp_prep[1].unknown_datapoints = 0<br>
> rra[3].cf = "AVERAGE"<br>
> rra[3].rows = 576<br>
> rra[3].pdp_per_row = 288<br>
> rra[3].xff = 5.0000000000e-01<br>
> rra[3].cdp_prep[0].value = 0.0000000000e+00<br>
> rra[3].cdp_prep[0].unknown_datapoints = 168<br>
> rra[3].cdp_prep[1].value = 0.0000000000e+00<br>
> rra[3].cdp_prep[1].unknown_datapoints = 168<br>
> <br>
> hobbitgraph.cfg:<br>
> [informix]<br>
>         TITLE Informix<br>
>         YAXIS Percentage in use<br>
>         DEF:dbspace1=informix.rrd:dbsusage1:AVERAGE<br>
>         DEF:dbspace2=informix.rrd:dbsusage2:AVERAGE<br>
>         LINE2:dbspace1#A0CC00:dbsusage1<br>
>         LINE2:dbspace2#000CCC:dbsusage2<br>
>         GPRINT:dbspace1:LAST: \: %5.1lf (cur)<br>
>         GPRINT:dbspace1:MAX: \: %5.1lf (max)<br>
>         GPRINT:dbspace1:MIN: \: %5.1lf (min)<br>
>         GPRINT:dbspace1:AVERAGE: \: %5.1lf (avg)\n<br>
>         GPRINT:dbspace2:LAST: \: %5.1lf (cur)<br>
>         GPRINT:dbspace2:MAX: \: %5.1lf (max)<br>
>         GPRINT:dbspace2:MIN: \: %5.1lf (min)<br>
>         GPRINT:dbspace2:AVERAGE: \: %5.1lf (avg)\n<br>
> <br>
> <br>
> I don't really see any error in the RRD file, nor in the output of
my <br>
> script or hobbitgraph.cfg. Ofcourse informix is added to hobbitlaunch.cfg
<br>
> in the extra tests and extra script parameters. Logs don't display
<br>
> anything weird neither.<br>
> <br>
> Perhaps someone can help me with finding my error. Thanks in advance.<br>
> <br>
> Tijl<br>
> <br>
<br>
-- <br>
Asif Iqbal<br>
PGP Key: 0xE62693C5 KeyServer: pgp.mit.edu<br>
"..there are two kinds of people: those who work and those who take
the credit...try<br>
 to be in the first group;...less competition there."  - Indira
Gandhi<br>
<br>
To unsubscribe from the hobbit list, send an e-mail to<br>
hobbit-unsubscribe@hswn.dk<br>
<br>
<br>
</tt></font>
<br>