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!
THold reporting wrong alerts in multi-DS Data
Moderators: Developers, Moderators
mmm... I think this may be related to what cigamit posted on Jan 13:
Does anybody know a fix for this?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.
Who is online
Users browsing this forum: No registered users and 0 guests