all ok....but no graph.....
i'm using cacti 0.8.7g with PA2.9
I saw the graph id & data source id is different.
Could you export the template for cacti 0.8.7g?
Thank you
Router#cbindex xxxx
GigabitEthernet0/1 (in): testing-inbound (32)
class-default 32.14640113
testing 32.15963441
+ Running data query [20].
+ Found type = '3' [snmp query].
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/myQOS.xml'
+ XML file parsed ok.
+ Executing SNMP walk for list of indexes @ '.1.3.6.1.4.1.9.9.166.1.15.1.1.11'
+ Index found at OID: '.1.3.6.1.4.1.9.9.166.1.15.1.1.11.32.14640113' value: '0'
+ Index found at OID: '.1.3.6.1.4.1.9.9.166.1.15.1.1.11.32.15963441' value: '145000'
+ index_parse at OID: '.1.3.6.1.4.1.9.9.166.1.15.1.1.11.32.14640113' results: '32.14640113'
+ index_parse at OID: '.1.3.6.1.4.1.9.9.166.1.15.1.1.11.32.15963441' results: '32.15963441'
+ Inserting index data for field 'Index' [value='32.14640113']
+ Inserting index data for field 'Index' [value='32.15963441']
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/myQOS.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/myQOS.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/myQOS.xml'
+ Found data query XML file at '/var/www/html/cacti/resource/snmp_queries/myQOS.xml'
Data Source Debug
/usr/bin/rrdtool create \
/var/www/html/cacti/rra/10_1_15_38_qosbitrate_2979.rrd \
--step 60 \
DS:qosDroprate:GAUGE:120:0:U \
DS:qosPreBitrate:GAUGE:120:0:U \
DS:qosBitrate:GAUGE:120:0:U \
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 \
RRDTool Command:
/usr/bin/rrdtool graph - \
--imgformat=PNG \
--start=-86400 \
--end=-60 \
--title='testing' \
--base=1000 \
--height=120 \
--width=600 \
--alt-autoscale-max \
--lower-limit=0 \
--vertical-label='bits per second' \
--slope-mode \
--font TITLE:8: \
--font AXIS:8: \
--font LEGEND:10: \
--font UNIT:8: \
DEF:a="/var/www/html/cacti/rra/10_1_15_38_qosbitrate_2979.rrd":qosBitrate:AVERAGE \
DEF:b="/var/www/html/cacti/rra/10_1_15_38_qosbitrate_2979.rrd":qosPreBitrate:AVERAGE \
DEF:c="/var/www/html/cacti/rra/10_1_15_38_qosbitrate_2979.rrd":qosDroprate:AVERAGE \
AREA:a#74C366FF:"Post class-map" \
GPRINT
LAST:"Current\:%8.3lf %s" \
GPRINT
AVERAGE:"Average\:%8.3lf %s" \
GPRINT
MAX:"Maximum\:%8.3lf %s\n" \
LINE1:b#311F4EFF:"Pre class-map" \
GPRINT
LAST:" Current\:%8.3lf %s" \
GPRINT
AVERAGE:"Average\:%8.3lf %s" \
GPRINT
MAX:"Maximum\:%8.3lf %s\n" \
AREA:c#FF0000FF:"Drop bitrate" \
GPRINT:c:LAST:" Current\:%8.3lf %s" \
GPRINT:c:AVERAGE:"Average\:%8.3lf %s" \
GPRINT:c:MAX:"Maximum\:%8.3lf %s\n"
RRDTool Says:
ERROR: opening '/var/www/html/cacti/rra/10_1_15_38_qosbitrate_2979.rrd': No such file or directory
proohu01 wrote:Did you execute "cbindex communityname" on your QoS router? Do you get a good output?
There isn't anything I had to change in the default graph and data template settings to get this to work. It just did. Just give the numbers you get back from the command above a nice name when creating the graphs (such as Gold of Silver)