New graph for device not creating RDD file

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

Moderators: Developers, Moderators

Post Reply
chrise@secom.net
Posts: 2
Joined: Wed Sep 20, 2006 10:02 am

New graph for device not creating RDD file

Post by chrise@secom.net »

We have had cacti up now for over a year and so far so good. Recently though when I would create a new device, then use the create graphs for this device "wizard" it will not create the .rdd file that it states is creating. When I goto the graph debugger it says...
RRDTool Says:

ERROR: opening '/var/www/cacti/rra/gramaicme2400a_traffic_in_1191.rrd': No such file or directory
And in the Data Source log it appears like it wants to create the file
Data Source Debug

/usr/local/rrdtool/bin/rrdtool create \
/var/www/cacti/rra/gramaicme2400a_traffic_in_1191.rrd \
--step 300 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_in:COUNTER:600:0:100000000 \
DS:traffic_out:COUNTER:600:0:100000000 \
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 \
chrise@secom.net
Posts: 2
Joined: Wed Sep 20, 2006 10:02 am

Post by chrise@secom.net »

This is basically just an interface graph for 100 Mb interfaces, and its the one that is not creating the .RDD file. But, if I create a data source CPU utilization of that same device, it creates the graph and data source just fine.
airwalk
Cacti User
Posts: 103
Joined: Fri Aug 18, 2006 11:22 am
Location: MSK, RU

Post by airwalk »

I've got exactly the same issue for one of my devices. It's a usual cisco router. If go to "device management", choose my cisco and click on "create graphs for this host" I see that data query (SNMP - Interface Statistics) was OK and populated all the interfaces. I choose the interface and click on "create". But when I goto "data sources" i see that graph variables are not being recognised. instead of the names I see "|host_description| - Traffic - |query_ifName|". Data source debug is exactly like in previous post. And rrds are not being created.

These threads are also refer to the same issue:
http://forums.cacti.net/viewtopic.php?t=10772
http://forums.cacti.net/viewtopic.php?p=48796
Last edited by airwalk on Fri Sep 22, 2006 10:11 am, edited 2 times in total.
airwalk
Cacti User
Posts: 103
Joined: Fri Aug 18, 2006 11:22 am
Location: MSK, RU

Post by airwalk »

Follow-up.
The thing is that when I create a graph for a certain "ifDescr" it doesn't transfer it to data source. As on the screenshot. Is there any way to manually fill in "Index Type"?
Attachments
data.source.PNG
data.source.PNG (19.54 KiB) Viewed 977 times
airwalk
Cacti User
Posts: 103
Joined: Fri Aug 18, 2006 11:22 am
Location: MSK, RU

Post by airwalk »

Well, I've found the workaround by myself.

The problem is virtually stems from the fact that cacti somehow doesn't want to parse ifDescr from Data Query data source. To prove this you need to populate the table "host_snmp_query" in mysql. For the reference look at the screenshot below. In my example this is the device with id=16. All you need to work around this is to fill it in manually similar to the other strings. In my example I've used phpMyAdmin. Then recreate the graphs (including data sources) and, voila, everything is OK.

PS. To learn the device_id you could point the mouse to the desired device (in "Management"->"Devices") and it will show up in the yellow "baloon" (i dunno how to name it=)
Attachments
host_snmp_query.PNG
host_snmp_query.PNG (32.98 KiB) Viewed 968 times
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests