Cacti (home)ForumsRepositoryDocumentation
Cacti: offical forums and support  

 FAQFAQ   SearchSearch   MemberlistMemberlist    RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in    


THold reporting wrong alerts in multi-DS Data

 
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Threshold)
Author Message
tgk



Joined: 11 Mar 2006
Posts: 28

PostPosted: Sat Mar 11, 2006 11:05 pm    Post subject: THold reporting wrong alerts in multi-DS Data Reply with quote

I've been using cacti and THold for just a few weeks. I just noticed that some of my Thresholds were being incorrectly reported as crossed.
It seems it only fails with Data templates with multiple Data Sources.

For example, I have a data template for Logical Drive Status, pulling 3 different DS (populated from a Data Query - Get SNMP Data). The current value of one of the DS is 2, which means ok, so I created a High Threshold of 2 and a Low Threshold of 1.1. The value right now is 2. However, THold is reporting:
Logical Drive - /dev/cciss/c0d0 went below threshold of 1.1 with

... it doesn't show the offending value (nor is displayed in the thresholds page. just a red empty cell under "current").

I get the same result when running it from the command line with:
php plugins/thold/check-thold.php /show /debug
.... but I noticed the the log/thold.log file doesn't show an entry for the threshold mentioned above...

Does anybody know if there's a bug, and how to fix it? Any workaround?

My configuration:
Centos Linux 4.2
cacti-0.8.6h
cactid-0.8.6g
cacti plugin architecture
thold plugin 0.2.7

Thanks!
Back to top
tgk



Joined: 11 Mar 2006
Posts: 28

PostPosted: Sun Mar 12, 2006 4:01 pm    Post subject: Reply with quote

mmm... I think this may be related to what cigamit posted on Jan 13:

Quote:
This is a bug that I haven't quite figured out why it happening, but I traced it done to the RRDs always returning a NAN value for 1 of the datasources, but not the others, so Cacti's rrd_execute function returns the whole thing as NAN, which Threshold treats as 0.


Does anybody know a fix for this?
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Plugin: (Threshold) All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group