Modified Thold plugin

Addons for Cacti and discussion about those addons

Moderators: Developers, Moderators

Post Reply
Masa
Posts: 5
Joined: Thu Apr 03, 2008 4:47 am

Modified Thold plugin

Post by Masa »

First thanks to all the developers and community of Cacti and the different plugins. Great job!

The information that we're graphing and having Thold alarms can often and repeatably go over treshold but you'd have to watch the Thold tab to catch which ones are doing it repeatedly (instead of just occasionally) to find out problem areas. Also because of the repeated nature of treshold breaches, emails etc. is not a solution. So here'a a modified version of Thold plugin that displays how many times a treshold has been breached and when the counter was last cleared. The counter can be cleared via console tab. I also added a search filter to both console and Thold tab views. Specially the search is done in a very crude way so anybody better with php feel free to improve the code. If you think these additions are of value, please comment and maybe Jimmy can include this functionality to the actual Thold package?

BR, Matti

Versions used, Cacti 0.8.7b, Thold 0.3.8.

Screenshot included.
Attachments
thold-modified.tar.gz
Tar.gz of the modified package.
(75.11 KiB) Downloaded 686 times
Screenshot
Screenshot
Thold-modified-capture.png (261.62 KiB) Viewed 10031 times
User avatar
twelzy
Cacti User
Posts: 83
Joined: Wed Mar 30, 2005 6:48 pm
Location: BRAZIL/Brasilia

Post by twelzy »

Masa,

Did you made a modified version for thold v0.3.9...?


Thanks in advance!
(And sorry for my poor English...)
Thanks in advance!
(And sorry for my poor English...)
_______________________________________
twelzy (Enio Sanches)
crazy72
Posts: 17
Joined: Mon Sep 29, 2008 8:09 am

Thold 0.39

Post by crazy72 »

Hi Masa

Did you ask to the author to include your modifications in the new version.

I think yours are a great improvement.


Thanks
Crazy
cigamit
Developer
Posts: 3369
Joined: Thu Apr 07, 2005 3:29 pm
Location: B/CS Texas
Contact:

Post by cigamit »

Next version of thold has several things which make this obsolete. First we now log all breaches into a table, and eventually there would be a viewer for it. So anytime it breaches the threshold (whether its time for an alert or not) it will be logged.

Secondly, you can now alert using Time Based. Before you had to say "Alert if we have broken the threshold 5 times in a row". Now you can also do "Alert if we have broken the threshold 5 times in the last hour (day, week, etc...)" This means that you can catch those thresholds that its OK if it goes over now and again, but you want to know if its repeatedly going over and then back under in a specified time span.
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests