Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


Current: Nan problems

 
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific
Author Message
plikadida



Joined: 13 Nov 2008
Posts: 5

PostPosted: Thu Nov 13, 2008 3:43 am    Post subject: Current: Nan problems Reply with quote

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.
Back to top
plikadida



Joined: 13 Nov 2008
Posts: 5

PostPosted: Thu Nov 13, 2008 9:27 am    Post subject: Reply with quote

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
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12642
Location: Muenster, Germany

PostPosted: Thu Nov 13, 2008 4:09 pm    Post subject: Reply with quote

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
Back to top
plikadida



Joined: 13 Nov 2008
Posts: 5

PostPosted: Wed Nov 19, 2008 2:52 am    Post subject: Reply with quote

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
Back to top
plikadida



Joined: 13 Nov 2008
Posts: 5

PostPosted: Wed Nov 19, 2008 5:01 am    Post subject: Reply with quote

So when graphs are viewed from Cacti, the Average (last) value is displayed NaN in graphs All other data is correctly displayed.
Back to top
gandalf
Developer


Joined: 02 Dec 2004
Posts: 12642
Location: Muenster, Germany

PostPosted: Thu Nov 20, 2008 11:15 am    Post subject: Reply with quote

This is a known "drawback" of rrdtool. Please complain at rrdtool-users mailing list
Reinhard
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Help: Linux/Unix Specific All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group