Cactiusers.org


It is currently Thu Sep 02, 2010 10:45 pm




Post new topic Reply to topic  [ 8 posts ] 
 Thold Current Values Don't Match 
Author Message
New User

Joined: Thu Dec 22, 2005 11:08 am
Posts: 12
Post Thold Current Values Don't Match
Can anyone answer why the current values for my thresholds on the Threshold management page do not match the actual current value that I get when I click on an individual threshold to look at its details? The numbers are similar but they should be the same because the value on the detail page for the individual threshold is the value that Cacti is showing on my graphs. One of my data sources on the Thold Managment screen showed a 10Mb link at 11.2Mb which is impossible so for some reason those values are incorrect. I didn't have this issue until I upgraded to THOLD 0.3.2 Any ideas?

OS: Windows XP
Cacti: 0.8.6j
Plugin Arch: 1.1
Thold: 0.3.2
RRD: 1.2.15
PHP: 5.0.5


Thu Apr 26, 2007 2:48 pm
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
Are you applying a CDEF to the value?

The value on the management page is what is DIRECTLY returned by the script or snmp query. The individual thold page still shows the value derived from the RRD file (which sometimes is buggy).


Tue May 01, 2007 11:02 pm
New User

Joined: Thu Dec 22, 2005 11:08 am
Posts: 12
Post still a problem
I just tried upgrading to 3.5 and I still have this problem. Thold 3.0 works great and all values match. By this I mean, my current reading on my graphs match the current reading on the main Threshold page as well as the reading listed for the current value from within a specific datasource. When I install any Thold version above 3.0 the value shown on teh main Threshold page (where all the datasources are listed) no longer matches the current reading for my graphs nor the listing within a specific datasource. I believe this value is the one being used to determine if a threshold is tripped. Any idea why this happens after upgrading past version 3.0?


Thu Aug 23, 2007 9:27 am
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post Re: still a problem
chopkc wrote:
I just tried upgrading to 3.5 and I still have this problem. Thold 3.0 works great and all values match. By this I mean, my current reading on my graphs match the current reading on the main Threshold page as well as the reading listed for the current value from within a specific datasource. When I install any Thold version above 3.0 the value shown on teh main Threshold page (where all the datasources are listed) no longer matches the current reading for my graphs nor the listing within a specific datasource. I believe this value is the one being used to determine if a threshold is tripped. Any idea why this happens after upgrading past version 3.0?



Reason? Its simple really, the old version pulls the data from the RRD. The new version gets the exact data as its polled, so there is no way the current value can be incorrect (not counting CDEFs, as those are just for display really). The issue is probably that your RRD only has the AVERAGE and MAX values saved in it, not the LAST. This means that all data is averaged before saving and thus the value on the graph is really an average.

Or so I believe, I am not the expert on these things, but it is what I have found in my testing.


Tue Aug 28, 2007 12:02 am
New User

Joined: Thu Dec 22, 2005 11:08 am
Posts: 12
Post Re
Jimmy, thanks for the reply. You are absolutely right, I checked my rrds and I only have Max and Average. Do you know of a way to add Last to an RRD? I have RRDEditor and I can do them 1 by 1 individually but that's going to take awhile.


Tue Sep 04, 2007 2:51 pm
Site Admin

Joined: Thu Nov 11, 2004 11:12 am
Posts: 2007
Post 
Not off hand, it would be nice to have an RRD editor and bulk RRD editor built into Cacti itself!


Wed Sep 05, 2007 12:04 am
New User

Joined: Thu Dec 22, 2005 11:08 am
Posts: 12
Post I tried
I added Last to several of my RRDs and after a few polls the numbers still don't match. So I don't think that's the issue but I may be doing something wrong. I actually had a few RRDs that already had LAST in them and they were wrong as well. Within the actual RRD itself the last value for MAX, AVERAGE and LAST were all the same. Should that be the case?

KC


Wed Sep 05, 2007 7:14 am
User

Joined: Wed Jun 11, 2008 1:29 pm
Posts: 29
Post Same Issue Here - Current Value Mismatch
I am having the same problem. Cacti version 0.8.7b and Thold version 0.3.9.

Current values don't match Current RRD value. They are off by a lot. Current RRD value is 1.51 MB, current Thold value is like 0.9512339833 MB. Why is that??


Wed Jun 11, 2008 1:33 pm
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 


Who is online

Users browsing this forum: No registered users and 0 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for: