solved - thold has negative value on interface

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
zakki
Posts: 10
Joined: Tue Oct 25, 2011 2:09 am

solved - thold has negative value on interface

Post by zakki »

Hi,

I am using told 0.4.7 on cacti 0.8.7h. I created threshold base on High/Low values for an interface. I learned that the value of interface throughput is in Bps. I set it up and then i saw the threshold is breached even though I believe it shouldn't be.
After checking out i found out thold has negative value for the interface throughput. For example if the actual throughput is 320,201 Bps, tholds sees it as -320,201 Bps.

Screenshot attached.

How to fix this?

SOLVED.

The solution is in the same page :oops:. In the Data Manipulation -> Data Type I use RPN Expression with the following value:

ABS(|ds:traffic_in|)

edited from:
-1*|ds:traffic_in|
Attachments
thold with negative interface throughput
thold with negative interface throughput
Screen Shot 2011-10-25 at 4.47.26 PM.png (22.74 KiB) Viewed 1231 times
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: solved - thold has negative value on interface

Post by TheWitness »

Did this happen after an interface reset? Please advise. I'm wondering if the Spike detection logic incorporated in the latest thold has a defect.
True understanding begins only when we realize how little we truly understand...

Life is an adventure, let yours begin with Cacti!

Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages


For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
zakki
Posts: 10
Joined: Tue Oct 25, 2011 2:09 am

Re: solved - thold has negative value on interface

Post by zakki »

Hi TheWitness,

sorry for long reply. As far as i remember I never reset my interface. Also the counter was not reset.
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests