Discussion:
[Monitorix-general] ERROR: while updating /var/lib/monitorix/system.rrd .... Function update_pdp_prep, case DST_GAUGE - Cannot convert '' to float
Andrei-Marius Radu
2015-03-21 15:22:21 UTC
Permalink
Hello Monitorix, Hello Jordi,

I have a new monitorix install (3.7.0) and all the graphs are working
except for the system ones. I've been looking at this already for
quite some time and I can't figure it out:

The first update after starting monitorix looks like this:

< .............. >
Sat Mar 21 16:09:00 2015 - Calling system_update()
Sat Mar 21 16:09:00 2015 - system::system_update:
N:0.07:0.04:0.05:197:195:2:0:0:0:0:16108820:4008:991388:14904756:::0:0:0:0:0
Sat Mar 21 16:09:00 2015 - Calling kern_update()
Sat Mar 21 16:09:00 2015 - kern::kern_update:
N:2.40762432940713:0:0.8086535383248:96.6932716124906:0.0218380067693576:0:0.0686125130080984:0:0:U:53.7242658278363:0.0338986219337793:99.2795976620905:U:0:0:0:0
< .............. >

But subsequent updates all look like this:

< .............. >
Sat Mar 21 16:10:00 2015 - Calling system_update()
Sat Mar 21 16:10:00 2015 - system::system_update:
N:0.02:0.03:0.05:197:195:2:0:0:0:0:16108820:4008:991904:14903632:::0:0:0:0:0
Sat Mar 21 16:10:00 2015 - ERROR: while updating
/var/lib/monitorix/system.rrd: /var/lib/monitorix/system.rrd: Function
update_pdp_prep, case DST_GAUGE - Cannot convert '' to float
Sat Mar 21 16:10:00 2015 - Calling kern_update()
Sat Mar 21 16:10:00 2015 - kern::kern_update:
N:0.0665917509468515:0:0.0416198443417822:99.7502809339493:0.0332958754734257:0:0.108211595288634:0:0:8179537:53.7245696400626:0.0338986219337793:99.2796256383371:296265:0:0:0:0
< .............. >

I would appreciate any pointers related to this error.

Best regards,
Andrei.
Jordi Sanfeliu
2015-03-21 18:05:34 UTC
Permalink
Hello Andrei,

Did you upgrade to 3.7.0 from an older branch (2.x) or from a different
architecture (32bit to 64bit or viceversa)?. Basically what I want to
know is if this is a fresh Monitorix installation.

Also, what RRDtool version have you there?
Thanks.


A 21-03-2015 16:22, Andrei-Marius Radu escrigué:
[...]
Post by Andrei-Marius Radu
< .............. >
Sat Mar 21 16:10:00 2015 - Calling system_update()
N:0.02:0.03:0.05:197:195:2:0:0:0:0:16108820:4008:991904:14903632:::0:0:0:0:0
Sat Mar 21 16:10:00 2015 - ERROR: while updating
/var/lib/monitorix/system.rrd: /var/lib/monitorix/system.rrd: Function
update_pdp_prep, case DST_GAUGE - Cannot convert '' to float
Sat Mar 21 16:10:00 2015 - Calling kern_update()
N:0.0665917509468515:0:0.0416198443417822:99.7502809339493:0.0332958754734257:0:0.108211595288634:0:0:8179537:53.7245696400626:0.0338986219337793:99.2796256383371:296265:0:0:0:0
< .............. >
I would appreciate any pointers related to this error.
Best regards,
Andrei.
---
Jordi Sanfeliu
FIBRANET Network Services Provider
http://www.fibranet.cat
Andrei-Marius Radu
2015-03-21 18:24:13 UTC
Permalink
Hello Jordi,

This a fresh install on a new 64bit linux host (Gentoo). RRDtool is
version 1.5.0-rc2. Let me know if there is any other debugging I can
get.

Thank you,
Andrei.
Post by Jordi Sanfeliu
Hello Andrei,
Did you upgrade to 3.7.0 from an older branch (2.x) or from a different
architecture (32bit to 64bit or viceversa)?. Basically what I want to
know is if this is a fresh Monitorix installation.
Also, what RRDtool version have you there?
Thanks.
[...]
Post by Andrei-Marius Radu
< .............. >
Sat Mar 21 16:10:00 2015 - Calling system_update()
N:0.02:0.03:0.05:197:195:2:0:0:0:0:16108820:4008:991904:14903632:::0:0:0:0:0
Sat Mar 21 16:10:00 2015 - ERROR: while updating
/var/lib/monitorix/system.rrd: /var/lib/monitorix/system.rrd: Function
update_pdp_prep, case DST_GAUGE - Cannot convert '' to float
Sat Mar 21 16:10:00 2015 - Calling kern_update()
N:0.0665917509468515:0:0.0416198443417822:99.7502809339493:0.0332958754734257:0:0.108211595288634:0:0:8179537:53.7245696400626:0.0338986219337793:99.2796256383371:296265:0:0:0:0
< .............. >
I would appreciate any pointers related to this error.
Best regards,
Andrei.
---
Jordi Sanfeliu
FIBRANET Network Services Provider
http://www.fibranet.cat
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Monitorix-general mailing list
https://lists.sourceforge.net/lists/listinfo/monitorix-general
Jordi Sanfeliu
2015-03-21 18:48:30 UTC
Permalink
Hello Andrei,

RRDtool 1.5.0-rc2? mmh ... I've not tested such version.
Can you please, downgrade to the previous stable branch 1.4.x and see if
the problem persists?

Thanks.
Post by Andrei-Marius Radu
Hello Jordi,
This a fresh install on a new 64bit linux host (Gentoo). RRDtool is
version 1.5.0-rc2. Let me know if there is any other debugging I can
get.
Thank you,
Andrei.
---
Jordi Sanfeliu
FIBRANET Network Services Provider
http://www.fibranet.cat
Andrei-Marius Radu
2015-03-21 19:06:17 UTC
Permalink
Hi Jordi,

Thank you for your help with this. I've tried the manual rrdupdate
command (with the values from the monitorix log) and that works fine,
so maybe it's something related to the RRDs module. I'll test with
1.4.9 and let you know.

Regards,
Andrei.
Post by Jordi Sanfeliu
Hello Andrei,
RRDtool 1.5.0-rc2? mmh ... I've not tested such version.
Can you please, downgrade to the previous stable branch 1.4.x and see if
the problem persists?
Thanks.
Post by Andrei-Marius Radu
Hello Jordi,
This a fresh install on a new 64bit linux host (Gentoo). RRDtool is
version 1.5.0-rc2. Let me know if there is any other debugging I can
get.
Thank you,
Andrei.
---
Jordi Sanfeliu
FIBRANET Network Services Provider
http://www.fibranet.cat
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Monitorix-general mailing list
https://lists.sourceforge.net/lists/listinfo/monitorix-general
Andrei-Marius Radu
2015-03-22 09:45:15 UTC
Permalink
Hello Jordi,

I've downgraded RRDtool to 1.4.9 and the system graphs are working
fine since then (all the other graphs where already working).

Thanks again for Monitorix and all your time answering questions on this list.

Cheers,
Andrei.
Post by Andrei-Marius Radu
Hi Jordi,
Thank you for your help with this. I've tried the manual rrdupdate
command (with the values from the monitorix log) and that works fine,
so maybe it's something related to the RRDs module. I'll test with
1.4.9 and let you know.
Regards,
Andrei.
Post by Jordi Sanfeliu
Hello Andrei,
RRDtool 1.5.0-rc2? mmh ... I've not tested such version.
Can you please, downgrade to the previous stable branch 1.4.x and see if
the problem persists?
Thanks.
Post by Andrei-Marius Radu
Hello Jordi,
This a fresh install on a new 64bit linux host (Gentoo). RRDtool is
version 1.5.0-rc2. Let me know if there is any other debugging I can
get.
Thank you,
Andrei.
---
Jordi Sanfeliu
FIBRANET Network Services Provider
http://www.fibranet.cat
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Monitorix-general mailing list
https://lists.sourceforge.net/lists/listinfo/monitorix-general
Jordi Sanfeliu
2015-03-22 14:16:34 UTC
Permalink
Hello Andrei,

This is good news!, I'm glad to know that it's finally working.

I'll try to fix, as soon as possible, all those incompatibilities with
that new RRDtool 1.5.x branch.

Thank you very much for your feedback.
Best regards.
Post by Andrei-Marius Radu
Hello Jordi,
I've downgraded RRDtool to 1.4.9 and the system graphs are working
fine since then (all the other graphs where already working).
Thanks again for Monitorix and all your time answering questions on this list.
Cheers,
Andrei.
---
Jordi Sanfeliu
FIBRANET Network Services Provider
http://www.fibranet.cat

Loading...