RRDTool Error

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

Moderators: Developers, Moderators

Post Reply
trebor11584
Posts: 10
Joined: Tue Mar 16, 2010 6:59 pm

RRDTool Error

Post by trebor11584 »

Hi,

I would like to know what does this error means?
C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Silverlake on i520 - Used Space - RAM" \
--rigid \
--base=1024 \
--height=120 \
--width=500 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bytes" \
--slope-mode \
--font TITLE:12: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="C\:/Inetpub/wwwroot/cacti/rra/9/47.rrd":hdd_total:AVERAGE \
DEF:b="C\:/Inetpub/wwwroot/cacti/rra/9/47.rrd":hdd_used:AVERAGE \
AREA:a#002A97FF:"Total" \
GPRINT:a:LAST:"Current\:%8.2lf %s" \
GPRINT:a:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:a:MAX:"Maximum\:%8.2lf %s\n" \
AREA:b#F51D30FF:"Used" \
GPRINT:b:LAST:" Current\:%8.2lf %s" \
GPRINT:b:AVERAGE:"Average\:%8.2lf %s" \
GPRINT:b:MAX:"Maximum\:%8.2lf %s\n"

RRDTool Says:

ERROR: opening 'C:/Inetpub/wwwroot/cacti/rra/9/47.rrd': No such file or directory
There are no graphs showing when I try to assign graphs on my devices and when I turned on the debug mode that's what I've got. Please help.

TIA.
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

It means that the graph you are looking for doesn't exist. Either, it hasn't been created yet, or something is stopping it from being created. Normal causes for this issue are

1. Incorrect permissions set on RRA directory
2. Poller has not yet passed on this host
3. Uptime detection for the host is not at least SNMP

Hope this helps ?
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
trebor11584
Posts: 10
Joined: Tue Mar 16, 2010 6:59 pm

Post by trebor11584 »

mcutting wrote:It means that the graph you are looking for doesn't exist. Either, it hasn't been created yet, or something is stopping it from being created. Normal causes for this issue are

1. Incorrect permissions set on RRA directory
2. Poller has not yet passed on this host
3. Uptime detection for the host is not at least SNMP

Hope this helps ?
Hi mcutting,

thanks for the reply. About your post.

1. I already checked the permissions and set it properly so I think this one is not causing the problem.

2. About the poller, well, I've been monitoring this one for 2 days now and up until today no graph is still showing yet.

3. For the updtime detection, when I added the device. I chose SNMP v1 and the device responded to it. So, I don't know if this is an SNMP issue.

And to add to my previous post, Cacti was installed on a VM machine so I don't know if it has something to do with the problem.
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

If Cacti is installed on a VM, check for time drift (correct time)
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
trebor11584
Posts: 10
Joined: Tue Mar 16, 2010 6:59 pm

Post by trebor11584 »

mcutting wrote:If Cacti is installed on a VM, check for time drift (correct time)
Hi mcutting,

The time is in sync with the time on the physical machine. What does the time has to do with the error?
mcutting
Cacti Guru User
Posts: 1884
Joined: Mon Oct 16, 2006 5:57 am
Location: United Kingdom
Contact:

Post by mcutting »

Quite a bit actually - if the time is not correct, the RRD file won't get updated. This is also a common issue - have a look in the forums.

Now - back to the problem - what happens if you select SNMPv2 for the device in question ?

Also, have you tried to clear the poller cache ?

Thanks
Cacti Version 0.8.8b
Cacti OS Ubuntu LTS
RRDTool Version RRDTool 1.4.7
Poller Information
Type SPINE 0.8.8b
trebor11584
Posts: 10
Joined: Tue Mar 16, 2010 6:59 pm

Post by trebor11584 »

mcutting wrote:Quite a bit actually - if the time is not correct, the RRD file won't get updated. This is also a common issue - have a look in the forums.

Now - back to the problem - what happens if you select SNMPv2 for the device in question ?

Also, have you tried to clear the poller cache ?

Thanks
It doesn't work when I tried to select SNMP v2, I mean the device doesn't get added, I guess the SNMP version is for v1 only since it's only responding to it.

Yes, I did that already (clear poller cache) and rebuild it but then, same result.
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

1) http://forums.cacti.net/viewtopic.php?t=11747
2) are any graphs working? if not, then sounds like a configuration issue.
chimera
Posts: 1
Joined: Tue Jul 20, 2010 2:33 am

Post by chimera »

I have the same problem!

C:/rrdtool/rrdtool.exe graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="Core - Traffic - Vl10" \
--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\:/Apache2/htdocs/cacti/rra/3/8.rrd":traffic_in:AVERAGE \
DEF:b="C\:/Apache2/htdocs/cacti/rra/3/8.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\n"
RRDTool Says:

ERROR: opening 'C:/Apache2/htdocs/cacti/rra/3/8.rrd': No such file or directory
I hope you have a solution for this :D[/quote]
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Post by BSOD2600 »

chimera wrote:I have the same problem!

I hope you have a solution for this :D
Since you decided to hijack this thread, all the existing questions apply to you too. Please answer accordingly.
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests