graph remains at zero rrd problem
Tijl.VanDenBroeck at vlafo.be
Tijl.VanDenBroeck at vlafo.be
Fri Nov 18 15:30:57 CET 2005
Hello,
I've been adjusting the BB informix script to send informix info to
hobbit, that works flawlessly. Next part is creating a graph with the
usage of the DB Spaces to monitor evolution. In a first instance I want to
avoid having trouble with a dynamic number of DB Spaces and I tried to
create a graph that's pretty static and limited to two DB Spaces. Creating
the RRD and so all seems to go fine but when I look at the graph, in the
legend it stays constantly at zero, it simply does not display the DBS
usage number and it draws a line on the bottom of the X-axis.
version:
hobbit-4.0.2 (yes I know, I still need to upgrade, maybe this is the issue
itself?)
informix.sh creates the following output:
DS:dbsusage1:DERIVE:600:0:100
DS:dbsusage2:DERIVE:600:0:100
informix.rrd
44:66
rrdtool info informix.rrd:
filename = "informix.rrd"
rrd_version = "0001"
step = 300
last_update = 1132323804
ds[dbsusage1].type = "DERIVE"
ds[dbsusage1].minimal_heartbeat = 600
ds[dbsusage1].min = 0.0000000000e+00
ds[dbsusage1].max = 1.0000000000e+02
ds[dbsusage1].last_ds = "44"
ds[dbsusage1].value = 0.0000000000e+00
ds[dbsusage1].unknown_sec = 0
ds[dbsusage2].type = "DERIVE"
ds[dbsusage2].minimal_heartbeat = 600
ds[dbsusage2].min = 0.0000000000e+00
ds[dbsusage2].max = 1.0000000000e+02
ds[dbsusage2].last_ds = "66"
ds[dbsusage2].value = 0.0000000000e+00
ds[dbsusage2].unknown_sec = 0
rra[0].cf = "AVERAGE"
rra[0].rows = 576
rra[0].pdp_per_row = 1
rra[0].xff = 5.0000000000e-01
rra[0].cdp_prep[0].value = NaN
rra[0].cdp_prep[0].unknown_datapoints = 0
rra[0].cdp_prep[1].value = NaN
rra[0].cdp_prep[1].unknown_datapoints = 0
rra[1].cf = "AVERAGE"
rra[1].rows = 576
rra[1].pdp_per_row = 6
rra[1].xff = 5.0000000000e-01
rra[1].cdp_prep[0].value = 0.0000000000e+00
rra[1].cdp_prep[0].unknown_datapoints = 0
rra[1].cdp_prep[1].value = 0.0000000000e+00
rra[1].cdp_prep[1].unknown_datapoints = 0
rra[2].cf = "AVERAGE"
rra[2].rows = 576
rra[2].pdp_per_row = 24
rra[2].xff = 5.0000000000e-01
rra[2].cdp_prep[0].value = 0.0000000000e+00
rra[2].cdp_prep[0].unknown_datapoints = 0
rra[2].cdp_prep[1].value = 0.0000000000e+00
rra[2].cdp_prep[1].unknown_datapoints = 0
rra[3].cf = "AVERAGE"
rra[3].rows = 576
rra[3].pdp_per_row = 288
rra[3].xff = 5.0000000000e-01
rra[3].cdp_prep[0].value = 0.0000000000e+00
rra[3].cdp_prep[0].unknown_datapoints = 168
rra[3].cdp_prep[1].value = 0.0000000000e+00
rra[3].cdp_prep[1].unknown_datapoints = 168
hobbitgraph.cfg:
[informix]
TITLE Informix
YAXIS Percentage in use
DEF:dbspace1=informix.rrd:dbsusage1:AVERAGE
DEF:dbspace2=informix.rrd:dbsusage2:AVERAGE
LINE2:dbspace1#A0CC00:dbsusage1
LINE2:dbspace2#000CCC:dbsusage2
GPRINT:dbspace1:LAST: \: %5.1lf (cur)
GPRINT:dbspace1:MAX: \: %5.1lf (max)
GPRINT:dbspace1:MIN: \: %5.1lf (min)
GPRINT:dbspace1:AVERAGE: \: %5.1lf (avg)\n
GPRINT:dbspace2:LAST: \: %5.1lf (cur)
GPRINT:dbspace2:MAX: \: %5.1lf (max)
GPRINT:dbspace2:MIN: \: %5.1lf (min)
GPRINT:dbspace2:AVERAGE: \: %5.1lf (avg)\n
I don't really see any error in the RRD file, nor in the output of my
script or hobbitgraph.cfg. Ofcourse informix is added to hobbitlaunch.cfg
in the extra tests and extra script parameters. Logs don't display
anything weird neither.
Perhaps someone can help me with finding my error. Thanks in advance.
Tijl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.xymon.com/pipermail/xymon/attachments/20051118/027dffd9/attachment.html>
More information about the Xymon
mailing list