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    


Modified Thold plugin

 
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti
Author Message
Masa



Joined: 03 Apr 2008
Posts: 5

PostPosted: Thu Apr 03, 2008 5:36 am    Post subject: Modified Thold plugin Reply with quote

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.



Thold-modified-capture.png
 Description:
Screenshot
 Filesize:  261.62 KB
 Viewed:  4026 Time(s)

Thold-modified-capture.png



thold-modified.tar.gz
 Description:
Tar.gz of the modified package.

Download
 Filename:  thold-modified.tar.gz
 Filesize:  75.11 KB
 Downloaded:  289 Time(s)

Back to top
twelzy
Cacti User


Joined: 30 Mar 2005
Posts: 74
Location: BRAZIL/Brasilia

PostPosted: Fri Jul 18, 2008 8:24 am    Post subject: Reply with quote

Masa,

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


Thanks in advance!
(And sorry for my poor English...)
Back to top
crazy72



Joined: 29 Sep 2008
Posts: 17

PostPosted: Tue Nov 25, 2008 3:22 am    Post subject: Thold 0.39 Reply with quote

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
Back to top
cigamit
Developer


Joined: 07 Apr 2005
Posts: 978
Location: B/CS Texas

PostPosted: Fri Dec 05, 2008 4:40 pm    Post subject: Reply with quote

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.
Back to top
Display posts from previous:   
Post new topic   Reply to topic    Cacti Forum Index -> Addons for Cacti All times are GMT - 5 Hours
Page 1 of 1

 



Powered by phpBB © 2001, 2005 phpBB Group