Xymon Mailing List Archive search

rrd- data can't be created

6 messages in this thread

list Steffen Pelzetter · Tue, 8 Aug 2006 12:46:01 +0200 ·
Hello,

I've installed hobbit 4.1.2 on debian alpha port.

I could compile the sources without any problem.
I also can see the current states of my computers,
but the diagramms are not working.

Therefore if had a look into the rrd- logs and
foun an error message.

2006-08-08 10:47:41 RRD error creating 
/usr/local/hobbit/data/rrd/wva-svalpha2/netstat.rrd: min must be less than 
max in DS definition

The error is dislayed for every DS configured on the server.

Any suggestion?
list Henrik Størner · Tue, 8 Aug 2006 13:26:00 +0200 ·
On Tue, Aug 08, 2006 at 12:46:01PM +0200, user-1d95a08573e7@xymon.invalid wrote:
Hello,

I've installed hobbit 4.1.2 on debian alpha port.
4.1.2 is a bit old; you should at least upgrade to 4.1.2p2 since there
are a couple of security related bugs in the original 4.1.2.

It doesn't affect the problem you have, though. Is this Debian 3.1
(Sarge) ?
quoted from Steffen Pelzetter
2006-08-08 10:47:41 RRD error creating 
/usr/local/hobbit/data/rrd/wva-svalpha2/netstat.rrd: min must be less than 
max in DS definition
That's a new one. What rrdtool version do you have ? "rrdtool --version"

Could you try adding the "--debug" option to the hobbitd_rrd commandline
in the ~hobbit/server/etc/hobbitserver.cfg ? It will then print out the
exact parameters it uses for creating the RRD files, like this:

2006-08-08 13:21:02 Creating rrd /var/lib/hobbit/rrd/client1.hswn.dk/netstat.rrd
2006-08-08 13:21:02 RRD create param 00: 'rrdcreate'
2006-08-08 13:21:02 RRD create param 01: '/var/lib/hobbit/rrd/client1.hswn.dk/netstat.rrd'
2006-08-08 13:21:02 RRD create param 02: 'DS:udpInDatagrams:DERIVE:600:0:U'
2006-08-08 13:21:02 RRD create param 03: 'DS:udpOutDatagrams:DERIVE:600:0:U'
2006-08-08 13:21:02 RRD create param 04: 'DS:udpInErrors:DERIVE:600:0:U'
2006-08-08 13:21:02 RRD create param 05: 'DS:tcpActiveOpens:DERIVE:600:0:U'
2006-08-08 13:21:02 RRD create param 06: 'DS:tcpPassiveOpens:DERIVE:600:0:U'
2006-08-08 13:21:02 RRD create param 07: 'DS:tcpAttemptFails:DERIVE:600:0:U'
2006-08-08 13:21:02 RRD create param 08: 'DS:tcpEstabResets:DERIVE:600:0:U'
2006-08-08 13:21:02 RRD create param 09: 'DS:tcpCurrEstab:GAUGE:600:0:U'
2006-08-08 13:21:02 RRD create param 10: 'DS:tcpOutDataBytes:DERIVE:600:0:U'
2006-08-08 13:21:02 RRD create param 11: 'DS:tcpInInorderBytes:DERIVE:600:0:U'
2006-08-08 13:21:02 RRD create param 12: 'DS:tcpInUnorderBytes:DERIVE:600:0:U'
2006-08-08 13:21:02 RRD create param 13: 'DS:tcpRetransBytes:DERIVE:600:0:U'
2006-08-08 13:21:02 RRD create param 14: 'DS:tcpOutDataPackets:DERIVE:600:0:U'
2006-08-08 13:21:02 RRD create param 15: 'DS:tcpInInorderPackets:DERIVE:600:0:U'
2006-08-08 13:21:02 RRD create param 16: 'DS:tcpInUnorderPackets:DERIVE:600:0:U'
2006-08-08 13:21:02 RRD create param 17: 'DS:tcpRetransPackets:DERIVE:600:0:U'
2006-08-08 13:21:02 RRD create param 18: 'RRA:AVERAGE:0.5:1:576'
2006-08-08 13:21:02 RRD create param 19: 'RRA:AVERAGE:0.5:6:576'
2006-08-08 13:21:02 RRD create param 20: 'RRA:AVERAGE:0.5:24:576'
2006-08-08 13:21:02 RRD create param 21: 'RRA:AVERAGE:0.5:288:576'

You could then try running the command by hand (just a few of the DS
lines are needed). E.g.

rrdtool create testfile.rrd \
   'DS:udpInDatagrams:DERIVE:600:0:U' \
   'RRA:AVERAGE:0.5:1:576'

and see if it gives the same error.


Regards,
Henrik
list Steffen Pelzetter · Tue, 8 Aug 2006 13:53:52 +0200 ·
quoted from Henrik Størner
4.1.2 is a bit old; you should at least upgrade to 4.1.2p2 since there
are a couple of security related bugs in the original 4.1.2.
Ok I can try.
quoted from Henrik Størner
It doesn't affect the problem you have, though. Is this Debian 3.1
(Sarge) ?
Yes exact. My machine is alphaserver 4100 (rawhide).
quoted from Henrik Størner
2006-08-08 10:47:41 RRD error creating 
/usr/local/hobbit/data/rrd/wva-svalpha2/netstat.rrd: min must be less 
than 
max in DS definition
That's a new one. What rrdtool version do you have ? "rrdtool --version"
I have version rrdtool-1.2.10.
I wanted to upgrade to version rrdtool-1.2.15, but there is another 
problem
compiling it.

...

checking if IEEE math works out of the box... not isnan(NaN) ... no
checking if IEEE math works with the -ieee switch... no
checking if IEEE math works with the -qfloat=nofold switch... not 
isnan(NaN) ... no
checking if IEEE math works with the -w -qflttrap=enable:zerodivide... not 
isnan(NaN) ...
no
checking if IEEE math works with the -mieee switch... not isnan(NaN) ... 
no
checking if IEEE math works with the -q float=rndsngl switch... no
checking if IEEE math works with the -OPT:IEEE_NaN_inf=ON switch... no
checking if IEEE math works with the -OPT:IEEE_comparisons=ON switch... no
checking if IEEE math works with fpsetmask(0)... no
checking if IEEE math works with signal(SIGFPE,SIG_IGN)... not isnan(NaN) 
... no
configure: error:
Your Compiler does not do propper IEEE math ... Please find out how to
make IEEE math work with your compiler and let me know (user-645e379b3ab6@xymon.invalid).
Check config.log to see what went wrong ...
...

I still work on that.
quoted from Henrik Størner
Could you try adding the "--debug" option to the hobbitd_rrd commandline
in the ~hobbit/server/etc/hobbitserver.cfg ? It will then print out the
exact parameters it uses for creating the RRD files, like this:
Yes I did. And I run that command:

./rrdtool create /tmp/tcp.orarns.tcp 'DS:sec:GAUGE:600:0:U' 
'RRA:AVERAGE:0.5:1:576'
ERROR: min must be less than max in DS definition

having the same problem.

Hobbit and rrd were runnung month's before without any problem.

I changed the kernel from 2.4.X to 2.6.8 and installed some
security patches.
I don't know exactly when, but somewhere after rdd stopped running.
list Henrik Størner · Tue, 8 Aug 2006 14:09:07 +0200 ·
quoted from Steffen Pelzetter
On Tue, Aug 08, 2006 at 01:53:52PM +0200, user-1d95a08573e7@xymon.invalid wrote:
I have version rrdtool-1.2.10.
I wanted to upgrade to version rrdtool-1.2.15, but there is another 
problem compiling it.
Could you try adding the "--debug" option to the hobbitd_rrd commandline
in the ~hobbit/server/etc/hobbitserver.cfg ? It will then print out the
exact parameters it uses for creating the RRD files, like this:
Yes I did. And I run that command:

./rrdtool create /tmp/tcp.orarns.tcp 'DS:sec:GAUGE:600:0:U' 'RRA:AVERAGE:0.5:1:576'
ERROR: min must be less than max in DS definition
I'd say it is an RRDtool problem.

henrik at osiris:~$ rrdtool --version
RRDtool 1.2.12  Copyright 1997-2005 by Tobias Oetiker <user-645e379b3ab6@xymon.invalid>
               Compiled Jul 10 2006 14:18:01
[snip]
henrik at osiris:~$ rrdtool create /tmp/tcp.orarns.tcp 'DS:sec:GAUGE:600:0:U' 'RRA:AVERAGE:0.5:1:576'
henrik at osiris:~$ ls -l /tmp/tcp.orarns.tcp
-rw-r--r-- 1 henrik henrik 5152 Aug  8 14:02 /tmp/tcp.orarns.tcp


Debian Sarge ships with RRDtool 1.0.49. Have you tried using that
version instead ?


Regards,
Henrik
list Steffen Pelzetter · Tue, 8 Aug 2006 14:22:50 +0200 ·
./rrdtool create /tmp/tcp.orarns.tcp 'DS:sec:GAUGE:600:0:U' 'RRA:
AVERAGE:0.5:1:576'
quoted from Henrik Størner
ERROR: min must be less than max in DS definition
I'd say it is an RRDtool problem.

henrik at osiris:~$ rrdtool --version
RRDtool 1.2.12  Copyright 1997-2005 by Tobias Oetiker <user-645e379b3ab6@xymon.invalid>
               Compiled Jul 10 2006 14:18:01
[snip]

henrik at osiris:~$ rrdtool create /tmp/tcp.orarns.tcp 'DS:sec:GAUGE:
600:0:U' 'RRA:AVERAGE:0.5:1:576'
quoted from Henrik Størner
henrik at osiris:~$ ls -l /tmp/tcp.orarns.tcp
-rw-r--r-- 1 henrik henrik 5152 Aug  8 14:02 /tmp/tcp.orarns.tcp


Debian Sarge ships with RRDtool 1.0.49. Have you tried using that
version instead ?
No. 

wva-svalpha2:/usr/src# find / -name rrdtool
/usr/src/rrdtool-1.2.10/src/.libs/rrdtool
/usr/src/rrdtool-1.2.10/src/rrdtool
/usr/local/rrdtool-1.2.10/bin/rrdtool
/usr/local/rrdtool-1.2.10/share/rrdtool

But may be my libpng is upgraded.
I startet using hobbit, rrd with libpng-1.2.8.

Now 

wva-svalpha2:/usr/local/lib/pkgconfig# /usr/bin/pkg-config
Must specify package names on the command line
wva-svalpha2:/usr/local/lib/pkgconfig# /usr/bin/pkg-config --list-all
libpcre               libpcre - PCRE - Perl compatible regular expressions 
C library
lcms                  lcms - LCMS Color Management Library
qt-mt                 Qt - Libqt-mt.so.3.3.4 Library
gnome-mime-data-2.0   gnome-mime-data - Base set of file types and 
applications for GNOME
rhythmbox             Rhythmbox - Rhythmbox
freetype2             FreeType 2 - A free, high-quality, and portable font 
engine.
fontconfig            Fontconfig - Font configuration and customization 
library
libart-2.0            libart - LGPL version of the libart library
libgcj                libgcj - libgcj
--> libpng                libpng12 - Loads and saves PNG files
xcursor               Xcursor - X Cursor Library
--> libpng12              libpng12 - Loads and saves PNG files
gnome-system-tools    gst - Gnome System Tools
shared-mime-info      shared-mime-info - Freedesktop common MIME database
system-tools-backends gst-backends - GNOME System Tools backends
render                Render - Render extension headers
xft                   Xft - X FreeType library
gnome-icon-theme      gnome-icon-theme - A collection of icons used as the 
basis for GNOME
 themes
xrender               Xrender - X Render Library
gnome-media-profiles  GNOME Media Profiles - Media Profiles describing 
audio codec setting
s for output
iso-codes             iso-codes - ISO country, language and currency codes 
and translation
s

Is it possible that this is causing the error?
What version of libpng you are using?
list Henrik Størner · Tue, 8 Aug 2006 14:29:46 +0200 ·
quoted from Steffen Pelzetter
On Tue, Aug 08, 2006 at 02:22:50PM +0200, user-1d95a08573e7@xymon.invalid wrote:
I'd say it is an RRDtool problem.
Debian Sarge ships with RRDtool 1.0.49. Have you tried using that
version instead ?
No. 
wva-svalpha2:/usr/src# find / -name rrdtool
/usr/src/rrdtool-1.2.10/src/.libs/rrdtool
/usr/src/rrdtool-1.2.10/src/rrdtool
/usr/local/rrdtool-1.2.10/bin/rrdtool
/usr/local/rrdtool-1.2.10/share/rrdtool

But may be my libpng is upgraded.
I startet using hobbit, rrd with libpng-1.2.8.

Is it possible that this is causing the error?
I doubt it. But this really isn't a Hobbit issue, so I think you should raise it with the rrdtool folks. 
What version of libpng you are using?
1.2.8.


Henrik