No rrd files created

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Nabil1706
Posts: 5
Joined: Thu Jan 04, 2007 8:03 am

No rrd files created

Post by Nabil1706 »

Hi

I have create a graph template, a data input method, a data template, and when I create a data source, cati sys me that the data source is created but RRDTool Says:

ERROR: opening '/var/www/html/mrtg/cacti/rra/stats_vms_2304.rrd': No such file or directory

I also run the poller before I have this error

Can you help me please
Thanks
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please refer to my "NaN Debugging HowTo", see http://docs.cacti.net/node/283
Reinhard
Nabil1706
Posts: 5
Joined: Thu Jan 04, 2007 8:03 am

Post by Nabil1706 »

I see your "NaN Debugging HowTo", and nothing in this document help me about rrd files creation.
But i resolve my problem when I add a host in mys datasources

Thanks
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Well, to be honest, the HowTo was not intended to solve exactly your problem. But you find some debugging techniques there.
Reinhard
ronny
Posts: 2
Joined: Tue Jan 16, 2007 11:09 am

Post by ronny »

I have a problem same you, how to resolve this problem.
thank you for suggest.
Nabil1706
Posts: 5
Joined: Thu Jan 04, 2007 8:03 am

Post by Nabil1706 »

Hi
What is exactly your probleme ?
If your problem is the same than me, add a host to your datasources, and see if your rrd files will create
ronny
Posts: 2
Joined: Tue Jan 16, 2007 11:09 am

Post by ronny »

I already add a host to datasources, but rrd file not create. and then created traffic graph it work.

following the picture 1, I create new graph HDD C: and network card, the result follow picture 2

debug message of Graph management

RRDTool Says:

ERROR: opening '/home/httpd/html/cacti-0.8.6g/rra/ahopas02_hdd_total_1431.rrd': No such file or directory

" I find to the folder rra,it not found. "

debug message of Data Source
Data Source Debug

/usr/bin/rrdtool create \
/home/httpd/html/cacti-0.8.6g/rra/ahopas02_hdd_total_1431.rrd \
--step 300 \
DS:hdd_used:GAUGE:600:0:U \
DS:hdd_used:GAUGE:600:0:U \
DS:hdd_total:GAUGE:600:0:U \
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 \

thanks for suggest. :D
Attachments
cacti.JPG
cacti.JPG (61.14 KiB) Viewed 4839 times
cacti2.JPG
cacti2.JPG (69.38 KiB) Viewed 4839 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please switch poller logging level to DEBUG for one run and search cacti.log for an error message belonging to that Host[...]
Reinhard
kentkling
Posts: 1
Joined: Tue Jan 23, 2007 2:36 pm
Location: Reston, VA

Post by kentkling »

/usr/bin/rrdtool create \
/home/httpd/html/cacti-0.8.6g/rra/ahopas02_hdd_total_1431.rrd \
--step 300 \
DS:hdd_used:GAUGE:600:0:U \
DS:hdd_used:GAUGE:600:0:U \
DS:hdd_total:GAUGE:600:0:U \
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 \ <====== extra \

won't the extra \ at the end of the rrdtool create line make the shell look for another line? I am having the same problem and have been adding the rrdtool create command via the shell removing the last \
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

In general No. However, what version of RRDtool are you using? If 1.0.50 or 1.0.49, there may have been issues with those versions as they were not entirely popular. 1.0.48 was likely the best in the 1.0.x branch.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
User avatar
sizulku
Cacti User
Posts: 110
Joined: Mon Nov 04, 2002 9:15 am
Location: ACEH
Contact:

Post by sizulku »

Oh no..its happen to me too. My script has a correct output

Code: Select all

01/31/2007 11:00:03 AM - CACTID: Poller[0] Host[10] DS[80] SCRIPT: php /home/cacti/scripts/acct.php 192.168.1.20, output: 3920112 1869219
turn poller logging level to DEBUG and did not find any error messages. But rrd files still not created.

Code: Select all

RRDTool Command:

/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-300 \
--title="EDC Dolog - Traffic" \
--rigid \
--base=1000 \
--height=120 \
--width=600 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label="bits per second" \
--slope-mode \
DEF:a="/home/cacti/rra/edc_dolog_bwin_80.rrd":bwin:AVERAGE \
DEF:b="/home/cacti/rra/edc_dolog_bwin_80.rrd":bwout:AVERAGE \
CDEF:cdefa=a,8,* \
CDEF:cdeff=b,8,* \
AREA:cdefa#7EE600:"Inbound"  \
GPRINT:cdefa:LAST:" Current\:%8.2lf %s"  \
GPRINT:cdefa:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdefa:MAX:"Maximum\:%8.2lf %s"  \
COMMENT:"Total In\:  0 bytes\n"  \
LINE1:cdeff#2175D9:"Outbound"  \
GPRINT:cdeff:LAST:"Current\:%8.2lf %s"  \
GPRINT:cdeff:AVERAGE:"Average\:%8.2lf %s"  \
GPRINT:cdeff:MAX:"Maximum\:%8.2lf %s"  \
COMMENT:"Total Out\: 0 bytes"  \
COMMENT:"\n"  \
HRULE:0#FF0000:"95th Percentile"  \
COMMENT:"(0 mbit in+out)\n"  \
COMMENT:"\n"  \
COMMENT:" "  \
COMMENT:"Last Updated \: Wed 31 Jan 11\:00\:03 WIT 2007" 

RRDTool Says:

ERROR: opening '/home/cacti/rra/edc_dolog_bwin_80.rrd': No such file or directory
FYI, I'm using
cacti-0.8.6j
cactid-0.8.6i
php-5.1.6
mysql-5.0.22
rrdtool-1.2.15
net-snmp-5.3.1

any help would be great.

rgds,
Zul
User avatar
sizulku
Cacti User
Posts: 110
Joined: Mon Nov 04, 2002 9:15 am
Location: ACEH
Contact:

Post by sizulku »

downgrade rrdtool version to rrdtool-1.0.48 as sugested on this thread and now rrdtool says

Code: Select all

ERROR: unknown option '--slope-mode'
User avatar
TheWitness
Developer
Posts: 17059
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

In your Cacti Settings, you need also to select the correct version of RRDtool.

TheWitness
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
soloslinger
Posts: 32
Joined: Fri Jan 19, 2007 2:11 pm

Post by soloslinger »

I am having this problem as well but only with the traffic in/out bits from the F5 template. I am going to see here if I can create the rrd manually and if that does anything or shatters my cacti install.

cacti 0.8.6.i
cactid 0.8.6.i
rrdtool 1.2.15
mysql 4.1.16
php 5.2.0


soloslinger/brian
soloslinger
Posts: 32
Joined: Fri Jan 19, 2007 2:11 pm

Post by soloslinger »

dupe post... appoligies
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests