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    


map update problem (version 0.92)

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map)
Author Message
Livio Zanol



Joined: 23 Feb 2006
Posts: 30

PostPosted: Fri Oct 19, 2007 6:25 am    Post subject: map update problem (version 0.92) Reply with quote

Hello,

I've tried to update my map but a strange error has ocurred...

When I've executed the php script, Weathermap returned the following "warning":
Code:

ReadData: LINK LK_DETRAN_BOM_JESUS_DO_NORTE, target: /var/rrdtool/lk_detran_bom_jesus_do_norte.rrd:ds0:ds1 on config line 119 had no valid data, according to WeatherMapDataSource_rrd


If I fetch the rrd file, I see the following:
Code:

1192790100: 7.1560943625e+02 2.5947840532e+03
1192790400: 9.1499416667e+02 nan
1192790700: 3.0645745556e+02 nan
1192791000: 2.5718806667e+02 nan
1192791300: 2.4542333333e+02 nan
1192791600: 2.4090365449e+02 nan
1192791900: 2.6652431218e+02 nan
1192792200: 2.2639117778e+02 nan
1192792500: 2.3173085556e+02 nan
1192792800: nan nan



And if I fetch another rrdfile that has been updated sucessfully it returns this:
Code:
 
1192790100: 4.2482231525e+01 6.7497635216e+01
1192790400: 1.6671122222e+02 2.1666661778e+03
1192790700: 2.4499623333e+02 2.9751628111e+03
1192791000: 2.9054188889e+01 3.4326144444e+01
1192791300: 3.0253333333e+01 2.4560000000e+01
1192791600: 4.8700996678e+02 3.6431661130e+03
1192791900: 3.7217738878e+02 2.9669848093e+03
1192792200: 4.4837387778e+02 9.7390492222e+02
1192792500: 6.6786344444e+02 3.3785919667e+03
1192792800: nan nan



What's wrong? Why weathermap can't update this LINK ? It was updating correctly before, and the config file wasn't modified...

Can someone help me?

thanks,
LĂ­vio Zanol Puppim
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2135
Location: United Kingdom

PostPosted: Fri Oct 19, 2007 7:58 am    Post subject: Reply with quote

Your rrd file is not being updated correctly. That's not Weathermap's job - it looks like it's an MRTG or Cricket rrd file?

If you get NaNs from the rrd, Weathermap considers the line to not be 'valid', so it will keep going backwards to find a good line. It only goes back about 20 minutes though.
Back to top
Livio Zanol



Joined: 23 Feb 2006
Posts: 30

PostPosted: Fri Oct 19, 2007 8:10 am    Post subject: Reply with quote

Hummm... Now I see... But, shouldn't Weahtermap update the 'ds0' value? It is not NaN...

Thank you
Back to top
Howie
Cacti Guru User


Joined: 16 Sep 2004
Posts: 2135
Location: United Kingdom

PostPosted: Fri Oct 19, 2007 8:20 am    Post subject: Reply with quote

Livio Zanol wrote:
Hummm... Now I see... But, shouldn't Weahtermap update the 'ds0' value? It is not NaN...

Thank you


I suppose it should really. Only all NaNs is an error, I guess. This has changed a bit in 0.93, but it would still cause your problem (in 0.92 and before, a NaN in a rrd line would cause trouble even if you didn't want that DS).

I'll add this to the buglist for 0.94.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Network Weather Map) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group