I'm using cacti to graph information related to Cisco CBQOS, for this I have 2 data sources inside one RRD:
qos_bytes and qos_drops (both in bytes per second)
Although in the graph everything is as expected, in thold I get this behaviour:
- if I set the data type to exact, I get a negative value apparently with no connection to the ammount of traffic (tried passing to bps, etc)
- when it didn't work, I changed to an RPN Expression (|ds:qos_drops|:LAST) instead of getting the drop rate, it's returning the qos_bytes value....
In attach follows a screenshot.
Also another output (please let me know if there is any other that would help):
Code: Select all
Data Source Debug
/usr/bin/rrdtool create \
/usr/share/cacti/rra/XXXXX_qos_bytes_81.rrd \
--step 300 \
DS:qos_bytes:COUNTER:600:0:U \
DS:qos_drops:COUNTER:600: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:AVERAGE:0.5:1152:800 \
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:MIN:0.5:1152:800 \
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:MAX:0.5:1152:800 \
RRA:LAST:0.5:1:600 \
RRA:LAST:0.5:6:700 \
RRA:LAST:0.5:24:775 \
RRA:LAST:0.5:288:797 \
RRA:LAST:0.5:1152:800 \
Can someone help with figuring out what is wrong?
Thanks in advance.