|
|
| Author |
Message |
Devrdander
Joined: 14 Jun 2006 Posts: 4
|
Posted: Wed Oct 17, 2007 12:29 pm Post subject: Data Source (RRD) Files not created - Advanced Ping |
|
|
I am trying out 0.8.7 and so far so good, but when I import the Advanced ping script and create graphs the RRD file doesnt get created.
The data source debug is incorrect:
| Code: | /usr/bin/rrdtool create \
/var/www/cacti-0.8.7-beta4/rra/bon-sw4-01-core_loss_209.rrd \
--step 300 \
DS:loss:GAUGE:600:0:100 \
DS:avg:GAUGE:600:0:500 \
DS:max:GAUGE:600:0:500 \
DS:dev:GAUGE:600:0:500 \
DS:min:GAUGE:600:0:500 \
RRA::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:600 \
RRA:MAX:0.5:6:700 \
RRA:MAX:0.5:24:775 \
RRA:MAX:0.5:288:797 \
ERROR: Unrecognized consolidation function |
I used the output from my 0.8.6 server and created the RRD manually using this:
| Code: | /usr/bin/rrdtool create \
/var/www/cacti-0.8.7-beta4/rra/bon-sw4-01-core_loss_209.rrd \
--step 300 \
DS:loss:GAUGE:450:0:100 \
DS:avg:GAUGE:450:0:500 \
DS:max:GAUGE:450:0:500 \
DS:dev:GAUGE:450:0:500 \
DS:min:GAUGE:450:0: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: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 \ |
Once the RRD is created everything works fine. Any advice? I usually use advanced ping in the majority of my Host Templates. Not sure where to look to trouble shoot this. |
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5452 Location: Wisconsin, USA
|
Posted: Wed Oct 17, 2007 12:50 pm Post subject: |
|
|
| Check the tech support page, does you rrdtool version show any errors? |
|
| Back to top |
|
 |
Devrdander
Joined: 14 Jun 2006 Posts: 4
|
Posted: Wed Oct 17, 2007 1:06 pm Post subject: |
|
|
No errors, and they are running the same version on the stable and beta servers.
| Code: | RRDtool 1.2.23 Copyright 1997-2007 by Tobias Oetiker <tobi@oetiker.ch>
Compiled Jun 7 2007 00:15:10 |
Seems to me though that Cacti isn't properly generating the create command for the RRD file though and is providing a improper syntax. I dont know enough about cacti under the hood to look much further into it. |
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5452 Location: Wisconsin, USA
|
Posted: Wed Oct 17, 2007 1:18 pm Post subject: |
|
|
| Post the template in question here. |
|
| Back to top |
|
 |
Devrdander
Joined: 14 Jun 2006 Posts: 4
|
|
| Back to top |
|
 |
rony Developer/Forum Admin
Joined: 17 Nov 2003 Posts: 5452 Location: Wisconsin, USA
|
Posted: Wed Oct 17, 2007 1:37 pm Post subject: |
|
|
Oh, wait, then I will make him fix it..  |
|
| Back to top |
|
 |
joyssue
Joined: 27 Feb 2007 Posts: 20
|
Posted: Tue Feb 26, 2008 10:22 pm Post subject: .rrd file not exist |
|
|
a temple is imported and applied to a device,but it isnot graphed.
turn on graph debug mode,the result as follows.
RRDTool Says:
ERROR: opening '/var/www/cacti/rra/c3-55_usxsnr_11.rrd': No such file or directory
check the directory /var/www/cacti/rra/, the related rrd file not exist. |
|
| Back to top |
|
 |
|