can't associate thold with specific data source

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
noproblem
Posts: 3
Joined: Thu Feb 02, 2012 4:10 am

can't associate thold with specific data source

Post by noproblem »

Good morning,

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.
Attachments
cacti issue.jpg
cacti issue.jpg (334.6 KiB) Viewed 1246 times
noproblem
Posts: 3
Joined: Thu Feb 02, 2012 4:10 am

Re: can't associate thold with specific data source

Post by noproblem »

Just to add some more information:

Code: Select all

[XXX@localhost scripts]# rrdtool fetch /usr/share/cacti/rra/XXXXXX_qos_bytes_81.rrd LAST -r 300 -s -10m
                      qos_bytes           qos_drops

1328192400: 4.5066719511e+04 9.9232801335e+03
1328192700: 4.4925396526e+04 9.9559184933e+03
whatever I do, I keep getting the first value and cannot collect the second. Perhaps with a better understanding of RPN Expressions can help out.

Thanks again for any help.
Cheers
noproblem
Posts: 3
Joined: Thu Feb 02, 2012 4:10 am

Re: can't associate thold with specific data source

Post by noproblem »

[bump]

nobody can help? Tried changing thold versions and still getting unexpected behaviour

Any suggestions?

Thanks
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests