|
|
| Author |
Message |
joegz
Joined: 13 Aug 2008 Posts: 3
|
Posted: Wed Aug 13, 2008 7:54 am Post subject: BWLABEL Percent shows as 0 |
|
|
Greetings,
I am still learning Weathermap and Cacti so please bear with my elemetary skills. Hoping that someone can help with my little dilemma. Most of what I have setup in Weathermap and Cacti is working correctly.
My issue started when researching some templates for Procurve switches. I imported someone's template example and without knowing ahead of time it overwrote some of the default templates (lesson learned on that one) which I have tried to correct as best possible. Since then any new LINK I create in Weathermap is showing the BWLABEL percent result as 0.00%. The graph in Cacti however still seems to be working correctly for the data source. Is this something that can be corrected or will I need to somehow import the default templates to get this working again?
Cheers |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2129 Location: United Kingdom
|
Posted: Wed Aug 13, 2008 7:58 am Post subject: |
|
|
| What do the logs say? |
|
| Back to top |
|
 |
joegz
Joined: 13 Aug 2008 Posts: 3
|
Posted: Wed Aug 13, 2008 8:24 am Post subject: |
|
|
D'oh didn't think to look. I found this in the log file (I x'd out the real name of the device):
ReadData: LINK node17-node18, target: C:/inetpub/wwwroot/Cacti/rra/xxxxxx_traffic_in_40.rrd on config line 271 had no valid data, according to WeatherMapDataSource_rrd |
|
| Back to top |
|
 |
Howie Cacti Guru User
Joined: 16 Sep 2004 Posts: 2129 Location: United Kingdom
|
Posted: Wed Aug 13, 2008 8:35 am Post subject: |
|
|
| joegz wrote: | D'oh didn't think to look. I found this in the log file (I x'd out the real name of the device):
ReadData: LINK node17-node18, target: C:/inetpub/wwwroot/Cacti/rra/xxxxxx_traffic_in_40.rrd on config line 271 had no valid data, according to WeatherMapDataSource_rrd |
OK - so that tells you that the TARGET line isn't wrong (the DS names are correct, if any, and the file does exist), but the rrd file hasn't got any recent data in it. It could be a Weathermap bug, but it is more likely to be that Cacti isn't updating this rrd file anymore, for some reason. (the reason I say that is that this is a well-trodden piece of code for most weathermap users - bugs don't hide very long)
Three things to check:
- check that the modified date on the rrd file is actually changing (i.e. that Cacti is updating the rrd file)
- make sure that your graph that is updating is still using the same rrd file that you think it is!
- run a poller cycle with DEBUG logging turned on, and you'll see what data Weathermap is managing to fetch from each link, too (the actual rrdtool output). That might provide some clue if the rrd filename is indeed correct. |
|
| Back to top |
|
 |
joegz
Joined: 13 Aug 2008 Posts: 3
|
Posted: Wed Aug 13, 2008 8:57 am Post subject: |
|
|
I'm such a bloody dummy sometimes.
Yes I was pointing to the wrong .rrd file. I somehow missed updating the .conf file correctly. Thanks Howie. |
|
| Back to top |
|
 |
|