NO Data in all Graphs with the same template

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

Moderators: Developers, Moderators

Post Reply
dertoaster
Posts: 6
Joined: Wed Nov 11, 2009 12:13 pm
Location: Germany

NO Data in all Graphs with the same template

Post by dertoaster »

Hello,

i have a strange problem with cacti. All me devices (cisco router, Switches) that are using the Graph Template Interface - Traffic (standard cacti template) with the Data Querie SNMP - Interface Statistics doesen't display data anymore on the graph.

How can i fix this issue? When i create the same host with a different name an use the same querie and template the data will be displayed correct in the graphs.

Many greetings
dertoaster
Attachments
cisco_router_graph.jpg
cisco_router_graph.jpg (173.25 KiB) Viewed 1408 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

Please verify from "System Utilities -> Show Poller Cache" that there are still entries for those hosts/templates. If not, please "rebuild_poller_cache.php" in cli directory
R.
dertoaster
Posts: 6
Joined: Wed Nov 11, 2009 12:13 pm
Location: Germany

Post by dertoaster »

Hello,

there are no Poller Cache Items for the graphs of the, which are not working.

I have "rebuild_poller_cache.php" in cli directory, but nothing changes.

It is possible that i have made a mistake by import templates. I have imported the template "cacti_graph_template_interface_-_errorsdiscards.xml" from http://forums.cacti.net/download.php?id=16187.

After that i have also imported the original Cisco Router Template from http://docs.cacti.net/template:host:router:cisco.

If i take a look in one of the data source of one device i see the following in the section "Custom Data"

Output Type ID: Data query data sources must be created through New Graphs.
Index Value: Vlan888
Index Type: Data query data sources must be created through New Graphs.

If i look in the fields of the data source of a new created device, the section "Custom Data" Output type ID and Index type are filled.

I think, there is my problem. It is possible to fix this issue, so i can use the created graphs again.

Data Source debug from a device which is not working
Data Source Debug

/usr/bin/rrdtool create \
/srv/www/htdocs/cacti/rra/cisco-at31_traffic_in_2132.rrd \
--step 300 \
DS:traffic_out:COUNTER:600:0:100000000 \
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: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: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 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
Data Source debug of a working Device:
Data Source Debug

/usr/bin/rrdtool create \
/srv/www/htdocs/cacti/rra/cisco-fr01-dmvpn01-new_traffic_in_5862.rrd \
--step 300 \
DS:traffic_out:COUNTER:600:0:100000000 \
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: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: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 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
Attachments
no working device.jpg
no working device.jpg (106.53 KiB) Viewed 1392 times
working device.jpg
working device.jpg (78.1 KiB) Viewed 1392 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Post by gandalf »

The screenshot shows a result of the failure.
A bad template may cause this.
You may want to install a second cacti to export graph templates from there and re-import it into your running system
R.
Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests