Thold value problem

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
kelbyc
Cacti User
Posts: 52
Joined: Mon Nov 28, 2005 8:50 am

Thold value problem

Post by kelbyc »

After updating past version 0.3.0 of Thold it started displaying incorrect numbers between the Threshold Management interface and each individual threshold. I have attached two pictures to better show what I'm describing.
For example on the Thold Mangement page where all thresholds are shown I have a data source with the value of 21.749. If I click on that threshold to look at its details it then shows that the value is 23.6425 which is the correct value that matches the graph for that data source. Unfortunately the value from the main page that shows all thresholds is the one that is used to send e-mail alerts if a threshold is breached. What makes this unfortunate is that value does not match my graph values and it is incorrect. I have a 10Mb link that the management page reported as being at 11.2Mb at one point last week. The value on the details page for the threshold is the one that matches the Cacti graph and is correct. I tried a fresh install of Thold but didn't help. I rolled back to 0.3.0 Thold and all is working correctly.

OS: Windows XP
Cacti: 0.8.7
Plugin Arch: 1.3
RRD: 1.2.15
PHP: 5.0.5
MySQL: 4.1.15
Global Plugin Settings (settings - v0.3)
Thresholds (thold - v0.3.8 )
Device Monitoring (monitor - v0.8.1)
Host Info (hostinfo - v0.2)
Update Checker (update - v0.4)
Attachments
Thold Management Page
Thold Management Page
thold.jpg (9.83 KiB) Viewed 8994 times
Thold individual detail page
Thold individual detail page
thold1.jpg (14.7 KiB) Viewed 8994 times
Last edited by kelbyc on Mon Nov 05, 2007 3:50 pm, edited 3 times in total.
kelbyc
Cacti User
Posts: 52
Joined: Mon Nov 28, 2005 8:50 am

removed

Post by kelbyc »

outdated post
Last edited by kelbyc on Mon Nov 05, 2007 3:51 pm, edited 1 time in total.
kelbyc
Cacti User
Posts: 52
Joined: Mon Nov 28, 2005 8:50 am

Please Help

Post by kelbyc »

With the new release of Cacti I thought I would give the newer version of Thold and try. I'm still having this problem. The Threshold detail page has the correct values that match the values shown on my graphs. However, for some reason Thold is writing the wrong value to SQL. I'm using MySQL 4.1.15. The values in the thold_data table are the values I'm seeing on the listthold.php page but those are the wrong values and they do not match the graph or Thold detail page values. I have even compared the actual values written to the RRDs and they match my detail page and my graphs but not the values Thold is using. Any idea what could be causing this?
rujipars
Posts: 39
Joined: Fri Nov 02, 2007 11:25 am

Post by rujipars »

I think I may encounter the same problem.
I'm starting with THold 0.3.8 on Cacti 0.8.7. Please see the attached image. The reported value is less than a half of the actual value, the graph value is correct. I've modify the number's print format but I confirm that the number before and after formatting are the same.

I guess, THold processes the history baseline value and the current value the same way, the alert behavior is quite accurate but only the printed value is wrong. I enabled baselining, setting the baseline deviation for up/down to 15/20.
Attachments
TholdProblem.jpg
TholdProblem.jpg (251.66 KiB) Viewed 8325 times
kelbyc
Cacti User
Posts: 52
Joined: Mon Nov 28, 2005 8:50 am

Re: Thold Value Problem

Post by kelbyc »

I'm glad to see others having the same problem I've been reporting for months. However, I believe that your assumption of the alerts working properly is incorrect. According to my installation I am getting alerts based on the valules reported on the Thold Tab. I get the same values in my alert emails, but those values do not match my graphs. I know the values on the graphs are correct but the thold values are not. I installed the latest Cacti and Thold today on a fresh machine and I still see this problem. I have attached an example of an alert email from my newest installation and it shows that the value causing the alert to be sent does not match what is on the graph in the email.
Attachments
thold1.jpg
thold1.jpg (70.89 KiB) Viewed 8122 times
ariemer
Posts: 3
Joined: Tue Feb 19, 2008 12:56 am

Post by ariemer »

How on earth do you get the Thold to show you the current traffic in MB or GB??? I get some huge random number.

Cheers!
kyosanim
Posts: 37
Joined: Thu Apr 05, 2007 5:33 am

Post by kyosanim »

you have just to add an CDEF-function to your threshold.
http://docs.cacti.net/node/528

Create a Console->Graph Management->CDEF->add

"Byte to Mbits"

Item Item Value
Item #1 Special Data Source: CURRENT_DATA_SOURCE
Item #2 Custom String: 8
Item #3 Operator: *
Item #4 Custom String: 1024
Item #5 Operator: /
Item #6 Custom String: 1024
Item #7 Operator: /
Crevlon
Posts: 4
Joined: Thu Mar 13, 2008 7:59 am

Traffic in M

Post by Crevlon »

Hi kyosanim,

and how do you get Thold to show you the word "M"?
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests