Current: Nan problems

Post support questions that directly relate to Linux/Unix operating systems.

Moderators: Developers, Moderators

Post Reply
plikadida
Posts: 5
Joined: Thu Nov 13, 2008 3:40 am

Current: Nan problems

Post by plikadida »

Hi. Got cacti working from an old version with upgrade.
Using the latest cacti version, rrdtool 1.2.12 and SUSE SLES 10 SP2. All graphs do generate ok, the only problem is that I keep getting

Current: nan

in all graphs.... very strange because it correctly shows Average and Maximum values in the same graphs.

File permissions are OK, snmpwalk also OK.... Any ideas where is the problem? I found one thread were one guy had similar problem on Debian Etch and he performed upgrade and it was fixed.
plikadida
Posts: 5
Joined: Thu Nov 13, 2008 3:40 am

Post by plikadida »

It looks like the last value is always recorded: 'nan', even when the device fully functioning. Is this some kind of a bug for 1.2.12?

1226585160: 1.3288888889e+00
1226585220: 1.4583333333e+00
1226585280: 1.6403295669e+00
1226585340: 1.5449800871e+00
1226585400: 1.6169125683e+00
1226585460: 1.9694444444e+00
1226585520: 1.6961111111e+00
1226585580: 1.2255555556e+00
1226585640: 1.3083333333e+00
1226585700: 1.4050000000e+00
1226585760: 1.3144444444e+00
1226585820: 1.0277777778e+00
1226585880: 1.0394444444e+00
1226585940: 1.1688888889e+00
1226586000: 1.2000000000e+00
1226586060: 1.0338888889e+00
1226586120: 1.1111111111e+00
1226586180: 1.0094444444e+00
1226586240: nan
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This is perfectly possible. 1.2.12 is quite old. Please try 1.2.27. 1.2.28 has a bug concerning font handling.
Reinhard
plikadida
Posts: 5
Joined: Thu Nov 13, 2008 3:40 am

Post by plikadida »

Thanks for your response. However, installed 1.2.27 and the same problem persists :(

After running polling with spine, last value gets nan however in next run the last value gets numbers (value) (see for example 1227081360 where in first example below it shows "nan", but after next polling interval it fills 1227081360 with "2.9444444444e-01")...

1227080880: 2.3888888889e-01
1227080940: 3.4791666667e-01
1227081000: 3.4791666667e-01
1227081060: 3.3062617702e-01
1227081120: 2.5477910531e-01
1227081180: 3.1876138434e-01
1227081240: 3.4722222222e-01
1227081300: 2.8055555556e-01
1227081360: nan
1227081420: nan

(after next run)


1227080880: 2.3888888889e-01
1227080940: 3.4791666667e-01
1227081000: 3.4791666667e-01
1227081060: 3.3062617702e-01
1227081120: 2.5477910531e-01
1227081180: 3.1876138434e-01
1227081240: 3.4722222222e-01
1227081300: 2.8055555556e-01
1227081360: 2.9444444444e-01
1227081420: nan
plikadida
Posts: 5
Joined: Thu Nov 13, 2008 3:40 am

Post by plikadida »

So when graphs are viewed from Cacti, the Average (last) value is displayed NaN in graphs :( All other data is correctly displayed.
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

This is a known "drawback" of rrdtool. Please complain at rrdtool-users mailing list :cry:
Reinhard
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests