No New Graphs

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

Moderators: Developers, Moderators

Post Reply
cactiman123
Posts: 7
Joined: Wed Apr 29, 2009 8:09 am

No New Graphs

Post by cactiman123 »

Hi,

I've been using Cacti for a number of months now and have setup a number of devices and graphs and it's been working perfectly. I'm runniing v0.8.7d on a Windows Server 2003 OS and IIS 6, PHP 5.2.6 and MySQL 5.0.

I went to create a new graph for an existing device today, however, I don't get any data for this graph and I just get the error below.

The Scheduled task for the poller is running under the administrator account as is the website itself (as a test). So, in theory there shouldn't be a permissions issue. I have also enabled auditing on the Cacti and PHP directories, to see if there are any failure audits, but nothing.

I've attached a debug log file.

I would greatly appreciate any assistance with this. Please let me know if you require any additional information.

Thanks



RRDTool Command:

c:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title="Netgear Core Switch - Traffic - 1/0/2" \
--rigid \
--base=1000 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/Cacti/rra/netgear_core_switch_traffic_in_122.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/Cacti/rra/netgear_core_switch_traffic_in_122.rrd":traffic_out:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdefe=b,8,* \
AREA:cdefa#00CF00FF:"Inbound" \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s" \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s\n" \
LINE1:cdefe#002A97FF:"Outbound" \
GPRINT:cdefe:LAST:"Current\:%8.2lf %s" \
GPRINT:cdefe:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:cdefe:MAX:"Maximum\:%8.2lf %s"
RRDTool Says:

ERROR: opening 'C:/Inetpub/wwwroot/Cacti/rra/netgear_core_switch_traffic_in_122.rrd': No such file or directory
Attachments
Tech Support.htm.txt
(62.59 KiB) Downloaded 168 times
debug cacti.txt
(155.83 KiB) Downloaded 156 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

If you looked through your cacti.log for when cacti tried to create/update netgear_core_switch_traffic_in_122.rrd, you would notice its trying to create the file every polling cycle. This is a problem. Further inspection shows there are spaces between the DS fields in the create command.

These issues have been fixed with the latest cacti 0.8.7d patches, which you need to apply. Once done, delete the data source which contains netgear_core_switch_traffic_in_122.rrd and have cacti create it again.
cactiman123
Posts: 7
Joined: Wed Apr 29, 2009 8:09 am

Post by cactiman123 »

Hi,

Thanks for the reply. I have applied the 4 patch files from here:

http://www.cacti.net/downloads/patches/ ... e-patched/

and rebooted the machine. I've deleted and re-created the graph entry, however, i get the same behaviour. I have attached the debug file.

Any further assistance would be greatly appreciated.

Thanks
Attachments
log.txt
(238.83 KiB) Downloaded 68 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Did you delete the data source? The log entry still shows the space in the fields for the command, which will fail

04/29/2009 09:14:12 PM - POLLER: Poller[0] CACTI2RRD: c:/rrdtool/rrdtool.exe create C:/Inetpub/wwwroot/Cacti/rra/netgear_core_switch_traffic_in_127.rrd --step 60 DS:traffic_in:COUNTER:600:0: 100000000 DS:traffic_out:COUNTER:600:0: 100000000 RRA:AVERAGE:0.5:1:500 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:MAX:0.5:1:500 RRA:MAX:0.5:1:600 RRA:MAX:0.5:6:700 RRA:MAX:0.5:24:775 RRA:MAX:0.5:288:797

Clear the poller cache while you're at it too.
cactiman123
Posts: 7
Joined: Wed Apr 29, 2009 8:09 am

Post by cactiman123 »

Hi,

Yes I definitely deleted the data source. I tried this again and cleared the polloer cache this time, however, I get the same result.

Thanks
Attachments
Cacti_tech_support.txt
(20.4 KiB) Downloaded 101 times
log.txt
(178.55 KiB) Downloaded 96 times
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

Not sure what else to tell ya, since there was a patch released to fix it. Other users no longer have this problem after the patch is applied... for now, you can manually edit the data source and remote the offending spaces.
cactiman123
Posts: 7
Joined: Wed Apr 29, 2009 8:09 am

Post by cactiman123 »

BSOD2600 wrote:Not sure what else to tell ya, since there was a patch released to fix it. Other users no longer have this problem after the patch is applied... for now, you can manually edit the data source and remote the offending spaces.
I'd be happy to do this. Please could you explain what the command would look like and how I would run it?

Thanks
cactiman123
Posts: 7
Joined: Wed Apr 29, 2009 8:09 am

Post by cactiman123 »

I've created the graph by running the command manually. Thanks for your help with this.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

cactiman123 wrote:I'd be happy to do this. Please could you explain what the command would look like and how I would run it?
Go to the Data Sources section in cacti, find the newly created ones, remove the spaces from the fields, save.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests