Hello,
I 'm new Cacti user and have already set up some useful graph. I'm expericing some issues to configure new graphs.
This is my config:
Cacti version: 0.8.7.g
OS Ubuntu Server 7.2
RDDTool 1.4
Pooler: cmd.php
When I create a "Data source" with the standart data Template "Interface - Traffic", I see no errors on the Data Source Debug. For some devices, the Rdd is created and for other not. It seems to be an apache or mysql issue...
I've already googled + checked on the Cacti documentation if there is an easy way to fix it. Furthermore, logs (poller, cacti, snmp) didn't reveal me helpful informations.
I will be happy to receive some good suggestions to help me to investigate.
Thank you in advance !
Rdd files are not created by Cacti Web interface
Moderators: Developers, Moderators
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Rdd files are not created by Cacti Web interface
Please see 2nd link of my sig as a first step
R.
R.
Re: Rdd files are not created by Cacti Web interface
Thank you for your reply.
1. Cacti considerer the devices as up and I can retrieve snmp data from my devices with the command snmpget.
2. The cmd.php runs every 5 minutes.
3. The Rdd commands are in the poller cache, I tried to rebuild the poller cache without any success.
4. I have set up the poller log as Developer debug level. When I check the the poller log, I can see for each missing rdd:
- /usr/bin/rrdtool update /var/lib/cacti/rra/*****.rdd
- /usr/bin/rrdtool create /var/lib/cacti/rra/*****.rdd
1. Cacti considerer the devices as up and I can retrieve snmp data from my devices with the command snmpget.
2. The cmd.php runs every 5 minutes.
3. The Rdd commands are in the poller cache, I tried to rebuild the poller cache without any success.
4. I have set up the poller log as Developer debug level. When I check the the poller log, I can see for each missing rdd:
- /usr/bin/rrdtool update /var/lib/cacti/rra/*****.rdd
- /usr/bin/rrdtool create /var/lib/cacti/rra/*****.rdd
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Rdd files are not created by Cacti Web interface
Fine. Then, please run that "create" command from command line to find out, if this is a valid command. In case of failure, please post the whole command (it's a multi-line command)
R.
R.
Re: Rdd files are not created by Cacti Web interface
I have launched the create commande below with the root account:
Below the output:
The directory /var/lib/cacti/rra/ exists !
Code: Select all
/usr/bin/rrdtool create \
/var/lib/cacti/rra/switch_76.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:1000000000 \
DS:traffic_out:COUNTER:600:0:1000000000 \
DS:traffic_in:COUNTER:600:0:1000000000 \
DS:traffic_out:COUNTER:600:0:1000000000 \
DS:traffic_in:COUNTER:600:0:1000000000 \
DS:traffic_out:COUNTER:600:0:1000000000 \
DS:traffic_in:COUNTER:600:0:1000000000 \
DS:traffic_out:COUNTER:600:0:1000000000 \
DS:traffic_out:COUNTER:600:0:1000000000 \
DS:traffic_in:COUNTER:600:0:1000000000 \
DS:traffic_in:COUNTER:600:0:1000000000 \
DS:traffic_out:COUNTER:600:0:1000000000 \
DS:traffic_in:COUNTER:600:0:1000000000 \
DS:traffic_out:COUNTER:600:0:1000000000 \
DS:traffic_in:COUNTER:600:0:1000000000 \
DS:traffic_out:COUNTER:600:0:1000000000 \
DS:traffic_out:COUNTER:600:0:1000000000 \
DS:traffic_in:COUNTER:600:0:1000000000 \
DS:traffic_in:COUNTER:600:0:1000000000 \
DS:traffic_out:COUNTER:600:0:1000000000 \
DS:traffic_in:COUNTER:600:0:1000000000 \
DS:traffic_out:COUNTER:600:0:1000000000 \
DS:traffic_out:COUNTER:600:0:1000000000 \
DS:traffic_in:COUNTER:600:0:1000000000 \
DS:traffic_in:COUNTER:600:0:1000000000 \
DS:traffic_out:COUNTER:600:0:1000000000 \
DS:traffic_in:COUNTER:600:0:1000000000 \
DS:traffic_out:COUNTER:600:0:1000000000 \
DS:traffic_in:COUNTER:600:0:1000000000 \
DS:traffic_out:COUNTER:600:0:1000000000 \
DS:traffic_out:COUNTER:600:0:1000000000 \
DS:traffic_in:COUNTER:600:0:1000000000 \
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 \
Code: Select all
ERROR: you must define at least one Round Robin Archive
- gandalf
- Developer
- Posts: 22383
- Joined: Thu Dec 02, 2004 2:46 am
- Location: Muenster, Germany
- Contact:
Re: Rdd files are not created by Cacti Web interface
That's a very strange create command. In holds the traffic data sources multiple times! Is this what you expected when creating the data template?
R.
R.
Re: Rdd files are not created by Cacti Web interface
I have reinstalled Cacti from scratch on a Debian, but I still have the same issue...
Nevertheless, the graphs were ok for the 10th first devices I have added in Cacti.
This is not an homemade template, I use the data template "Interface Traffic".
I do not understand why the web interface generate wrong Rdd command...
Nevertheless, the graphs were ok for the 10th first devices I have added in Cacti.
This is not an homemade template, I use the data template "Interface Traffic".
I do not understand why the web interface generate wrong Rdd command...
Who is online
Users browsing this forum: No registered users and 2 guests