Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
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
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.
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.
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"?
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=)