0.8.7d - RRDs aren't created for new traffic graphs
Moderators: Developers, Moderators
0.8.7d - RRDs aren't created for new traffic graphs
All,
I could create new Traffic graphs with 0.8.7c, but cannot do this after upgrade to 0.8.7d. The RRD file is never created. Have tested with and without Structured Paths enabled.
I'm running on Windows and it looks like rrdtool.exe is called with forward slash in path to .rrd file instead of backslash when .rdd file needs to be created:
02/15/2009 12:20:13 PM - POLLER: Poller[0] CACTI2RRD: D:/Programs/RRDtool/rrdtool.exe create E:/WebSite/cacti/rra/xahr01_wan_200m_traffic_in_14310.rrd --step 300 DS:traffic_in:COUNTER:600:0: 1000000000 DS:traffic_out:COUNTER:600:0: 1000000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MIN:0.5:1:600 RRA:MIN:0.5:6:700 RRA:MIN:0.5:24:775 RRA:MIN:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797 RRA:LAST:0.5:1:600 RRA:LAST:0.5:6:700 RRA:LAST:0.5:24:775 RRA:LAST:0.5:288:797
The following update looks OK:
02/15/2009 12:20:13 PM - POLLER: Poller[0] CACTI2RRD: D:/Programs/RRDtool/rrdtool.exe update E:\WebSite\cacti\rra\xahr01_wan_200m_traffic_in_14310.rrd --template traffic_out:traffic_in N:1358991651:1796567119
How can I fix this problem quickly?
Thank you,
/Jesper
I could create new Traffic graphs with 0.8.7c, but cannot do this after upgrade to 0.8.7d. The RRD file is never created. Have tested with and without Structured Paths enabled.
I'm running on Windows and it looks like rrdtool.exe is called with forward slash in path to .rrd file instead of backslash when .rdd file needs to be created:
02/15/2009 12:20:13 PM - POLLER: Poller[0] CACTI2RRD: D:/Programs/RRDtool/rrdtool.exe create E:/WebSite/cacti/rra/xahr01_wan_200m_traffic_in_14310.rrd --step 300 DS:traffic_in:COUNTER:600:0: 1000000000 DS:traffic_out:COUNTER:600:0: 1000000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MIN:0.5:1:600 RRA:MIN:0.5:6:700 RRA:MIN:0.5:24:775 RRA:MIN:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797 RRA:LAST:0.5:1:600 RRA:LAST:0.5:6:700 RRA:LAST:0.5:24:775 RRA:LAST:0.5:288:797
The following update looks OK:
02/15/2009 12:20:13 PM - POLLER: Poller[0] CACTI2RRD: D:/Programs/RRDtool/rrdtool.exe update E:\WebSite\cacti\rra\xahr01_wan_200m_traffic_in_14310.rrd --template traffic_out:traffic_in N:1358991651:1796567119
How can I fix this problem quickly?
Thank you,
/Jesper
Re: 0.8.7d - RRDs aren't created for new traffic graphs
I think my initial slash/backslash guess is wrong. I think it is spaces in the DS'es:Jesper wrote: 02/15/2009 12:20:13 PM - POLLER: Poller[0] CACTI2RRD: D:/Programs/RRDtool/rrdtool.exe create E:/WebSite/cacti/rra/xahr01_wan_200m_traffic_in_14310.rrd --step 300 DS:traffic_in:COUNTER:600:0: 1000000000 DS:traffic_out:COUNTER:600:0: 1000000000 RRA:AVERAGE:0.5:1:600 RRA:AVERAGE:0.5:6:700 RRA:AVERAGE:0.5:24:775 RRA:AVERAGE:0.5:288:797 RRA:MIN:0.5:1:600 RRA:MIN:0.5:6:700 RRA:MIN:0.5:24:775 RRA:MIN:0.5:288:797 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797 RRA:LAST:0.5:1:600 RRA:LAST:0.5:6:700 RRA:LAST:0.5:24:775 RRA:LAST:0.5:288:797
DS:traffic_in:COUNTER:600:0:<space??>1000000000 SD:traffic_out:COUNTER:600:0:<space??>1000000000
/Jesper
Re: 0.8.7d - RRDs aren't created for new traffic graphs
New issue raised in bugs.cacti.net for this: http://bugs.cacti.net/view.php?id=1405Jesper wrote:I think my initial slash/backslash guess is wrong. I think it is spaces in the DS'es:
DS:traffic_in:COUNTER:600:0:<space??>1000000000 SD:traffic_out:COUNTER:600:0:<space??>1000000000
/Jesper
I don't know how to fix this issue.
/Jesper
Ok, I think I've found the issue. Open the device, then the data source that isn't working, look under
Data Source Item Fields [traffic_in]
Maximum Value
The maximum value of data that is allowed to be collected.
Data Source Item Fields [traffic_out]
Maximum Value
The maximum value of data that is allowed to be collected.
The maximum values both have a space infront of them e.g. " 1000000000" Removing this space on both fixed one of my devices, I'm now changing the other to confirm this.
EDIT: Yep that fixed the other non-working graph also.
Data Source Item Fields [traffic_in]
Maximum Value
The maximum value of data that is allowed to be collected.
Data Source Item Fields [traffic_out]
Maximum Value
The maximum value of data that is allowed to be collected.
The maximum values both have a space infront of them e.g. " 1000000000" Removing this space on both fixed one of my devices, I'm now changing the other to confirm this.
EDIT: Yep that fixed the other non-working graph also.
Matthew,
/Jesper
OK, so the bug is that a space is inserted in the auto-generated datasource since 0.8.7d. Will update the bug I submitted.M@tth3w wrote:The maximum values both have a space infront of them e.g. " 1000000000" Removing this space on both fixed one of my devices, I'm now changing the other to confirm this.
EDIT: Yep that fixed the other non-working graph also.
/Jesper
The fix is documented in the bug.Bigman397 wrote:Confirmed, had this happen on my upgrade as well...
Was pulling my hair out over this.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Does this fix only work for new devices?
I downloaded the patches from here: http://www.cacti.net/downloads/patches/ ... tched/lib/ and dropped them into my lib directory, making sure permissions were correct. However, my traffic graphs still aren't being created. And, I can still see the space in front of the 100000000 in the data source. My cpu graph is being created properly. Is there anything else I need to do to get it working?
Delete the affected data sources and recreate them (or delete the spaces).
With the link to that bug, verify the patched files you're installing are correct.
With the link to that bug, verify the patched files you're installing are correct.
| Scripts: Monitor processes | RFC1213 MIB | DOCSIS Stats | Dell PowerEdge | Speedfan | APC UPS | DOCSIS CMTS | 3ware | Motorola Canopy |
| Guides: Windows Install | [HOWTO] Debug Windows NTFS permission problems |
| Tools: Windows All-in-one Installer |
Who is online
Users browsing this forum: No registered users and 0 guests