No rrd files created
Moderators: Developers, Moderators
No rrd files created
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
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
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Please refer to my "NaN Debugging HowTo", see http://docs.cacti.net/node/283
Reinhard
Reinhard
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.
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.
- Attachments
-
- cacti.JPG (61.14 KiB) Viewed 4838 times
-
- cacti2.JPG (69.38 KiB) Viewed 4838 times
/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 \
/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 \
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
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
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?
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?
Oh no..its happen to me too. My script has a correct output
turn poller logging level to DEBUG and did not find any error messages. But rrd files still not created.
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
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
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
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
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'
- TheWitness
- Developer
- Posts: 17059
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
In your Cacti Settings, you need also to select the correct version of RRDtool.
TheWitness
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?
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?
-
- Posts: 32
- Joined: Fri Jan 19, 2007 2:11 pm
Who is online
Users browsing this forum: No registered users and 2 guests