0.8.7d - RRDs aren't created for new traffic graphs

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
Jesper
Posts: 45
Joined: Mon Mar 11, 2002 7:00 pm

0.8.7d - RRDs aren't created for new traffic graphs

Post by Jesper »

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
Jesper
Posts: 45
Joined: Mon Mar 11, 2002 7:00 pm

Re: 0.8.7d - RRDs aren't created for new traffic graphs

Post by Jesper »

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
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
M@tth3w
Posts: 13
Joined: Tue Feb 10, 2009 4:22 am

Post by M@tth3w »

I seem to have the same problem, I thought the upgrade had failed so did a clean install (deleteing old graphs also), everything works apart from network traffic on my two Windows boxes, they were working before.
Jesper
Posts: 45
Joined: Mon Mar 11, 2002 7:00 pm

Re: 0.8.7d - RRDs aren't created for new traffic graphs

Post by Jesper »

Jesper 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
New issue raised in bugs.cacti.net for this: http://bugs.cacti.net/view.php?id=1405

I don't know how to fix this issue.

/Jesper
M@tth3w
Posts: 13
Joined: Tue Feb 10, 2009 4:22 am

Post by M@tth3w »

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.

8)

EDIT: Yep that fixed the other non-working graph also.
Jesper
Posts: 45
Joined: Mon Mar 11, 2002 7:00 pm

Post by Jesper »

Matthew,
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.

8)

EDIT: Yep that fixed the other non-working graph also.
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.

/Jesper
Bigman397
Posts: 8
Joined: Mon Mar 24, 2008 1:11 pm

Post by Bigman397 »

Confirmed, had this happen on my upgrade as well...

Was pulling my hair out over this.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Bigman397 wrote:Confirmed, had this happen on my upgrade as well...

Was pulling my hair out over this.
The fix is documented in the bug.
tianys
Posts: 6
Joined: Fri Mar 27, 2009 12:05 am

Post by tianys »

Bigman397 wrote:Confirmed, had this happen on my upgrade as well...

Was pulling my hair out over this.
It's the bug! You can apply the patch to resolve the problem.
vashx
Posts: 1
Joined: Tue Apr 07, 2009 7:28 pm

Does this fix only work for new devices?

Post by vashx »

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?
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

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.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest