Thold 2.x - Thresholding/Alerting module for cacti 8.6
Moderators: Developers, Moderators
OK, I found a workaround for both of my problems. I modified the path pointing to the thold-functions.php in the thold.php and email-test.php to look like this:
("c:/apache2/htdocs/cacti/plugins/thold/thold-functions.php");
rather than:
("plugins/thold/thold-functions.php");
Any ideas why I would have to do this???
("c:/apache2/htdocs/cacti/plugins/thold/thold-functions.php");
rather than:
("plugins/thold/thold-functions.php");
Any ideas why I would have to do this???
The only thing I can think of is that for some reason, its not allowing you to chdir, which the plugin does. I know if safe mode is on, this could possibly cause problems, but everything else seems to work for you but locating thold-functions.php.chewy009 wrote:OK, I found a workaround for both of my problems. I modified the path pointing to the thold-functions.php in the thold.php and email-test.php to look like this:
("c:/apache2/htdocs/cacti/plugins/thold/thold-functions.php");
rather than:
("plugins/thold/thold-functions.php");
Any ideas why I would have to do this???
I will see about putting some safe guards in to work around anyone having this issue.
hello
who knows how i can execute the autocreation action from command line ?
i mean for http://localhost/plugins/thold/thold.ph ... autocreate[/b]&hostid=64
cause if i trying to do that with WGET - i recieve that i not authorised
tnks
who knows how i can execute the autocreation action from command line ?
i mean for http://localhost/plugins/thold/thold.ph ... autocreate[/b]&hostid=64
cause if i trying to do that with WGET - i recieve that i not authorised
tnks
I CANT GET ANY ALARM
Hi
I install plug-in arch. and thold 2.6
As you see in graph, I set treshold values, Altough traffic util. exceeds the trshold values I dont see any alarm.
I try to set high thold value as 5MB and low thold value as 5K
Can anybody help me?
Hi
I install plug-in arch. and thold 2.6
As you see in graph, I set treshold values, Altough traffic util. exceeds the trshold values I dont see any alarm.
I try to set high thold value as 5MB and low thold value as 5K
Can anybody help me?
Last edited by TFC on Thu Dec 29, 2005 4:47 am, edited 1 time in total.
Actually, this is quite easy, you are inputting the data in wrong. There is a CDEF applying to the data before it is outputted to the graph. Look where it says current value on that page, it says 929422. You should divide your 5000000 by 8 and get 625000, that is what you should put in the high threshold.TFC wrote:I CANT GET ANY ALARM
Hi
I install plug-in arch. and thold 2.6
As you see in graph, I set treshold values, Altough traffic util. exceeds the trshold values I dont see any alarm.
I try to set high thold value as 5MB and low thold value as 5K
Can anybody help me?
This is not a threshold issue, its exactly what the script is returning, the graph changes the data to be more readable. Later, thresholds will have the ability to apply CDEFs to the numbers before reporting, but its not the highest thing on my list.
I've thought I fixed the error
Notice: Undefined offset: 0 in .../www/.../cacti/plugins/thold/thold.php on line 72
but I guess its rearing its ugly head again, I'll take another look at it.
Threshold Email Problem
I have the latest version of thold running on cacti 0.8.6g on a Windows XP machine. Everything is working great except the notifications. It seems that I only get notifications when I have baseline monitoring enabled and baseline notifications enabled. Is it true that baseline must be enabled for high and low threshold triggers to work? My problem is with high and low thresholds. If I set a high threshold and my traffic is high enough to trigger it, it is listed as triggered on the thresholds page but I'm not getting an e-mail notification everytime. I have the trigger set at 1. Does this mean anytime the threshold is broken I will receive a notice or does it have to be above the threshold two times in a row for me to get it? What is strange is that about 25% of the time I get a notification like I should but the rest of the time the high or low threshold is triggered but no e-mail is sent. However, with baseline monitoring anytime they are triggered high or low then I get an e-mail like I should. Any ideas??
One last question, what are the suggested settings for Baseline Reference, Baseline time range and Basline Deviation when monitoring bandwidth use? I'm currently using 86400, 10800 and 25%.
One last question, what are the suggested settings for Baseline Reference, Baseline time range and Basline Deviation when monitoring bandwidth use? I'm currently using 86400, 10800 and 25%.
Can you check and make sure that your have the table called "tholdset" imported, as the error in question is because either the table is not there, or its empty. The only way it could be empty is if the thold checking has never ran.Burnout wrote:Besides that I get this message when I update and save a treshold:
Notice: Undefined offset: 0 in .../www/.../cacti/plugins/thold/thold.php on line 72
If its empty, try running this MySQL query to import a line.
Code: Select all
INSERT INTO tholdset VALUES (1, '2005-02-17 02:20:03');
After this line add, I get mailscigamit wrote:Can you check and make sure that your have the table called "tholdset" imported, as the error in question is because either the table is not there, or its empty. The only way it could be empty is if the thold checking has never ran.Burnout wrote:Besides that I get this message when I update and save a treshold:
Notice: Undefined offset: 0 in .../www/.../cacti/plugins/thold/thold.php on line 72
If its empty, try running this MySQL query to import a line.and see if alerting starts working for you. I will put in some "safety" checks to ensure that this doesn't cause problems in the future.Code: Select all
INSERT INTO tholdset VALUES (1, '2005-02-17 02:20:03');
Thold works now properly.
Now, as a one of the Thold users, I have to say something in the name of others, WE NEED A DOCUMENTATION
I have to clarify in my mind:
1. We have to set thold values as Byte? (I mean I have to divide by 8 my values.)
2. Graphs in the mails and thold management page getting blocky sometimes. Why? (u can see graph below)
My RRD files goes back 2 months for 5 min average. I mean, 5 min average rows 17280 and Timespan 86400. Is this caused the blocy graph? How can we fix?
1. We have to set thold values as Byte? (I mean I have to divide by 8 my values.)
2. Graphs in the mails and thold management page getting blocky sometimes. Why? (u can see graph below)
My RRD files goes back 2 months for 5 min average. I mean, 5 min average rows 17280 and Timespan 86400. Is this caused the blocy graph? How can we fix?
- Attachments
-
- blocky.JPG (51.87 KiB) Viewed 6476 times
I install thold ver. thold2.1a_cacti-0.8.6g and thold2.1-cacti-0.8.6f.. but still have that same problem... when i click to Data Sources -> Template Name / Click for THold on some Source, system show me a error: Fatal error: Cannot redeclare rrd_last() in /var/www/html/cacti/lib/thold-functions.php on line 19
I use cacti0.8.6.g.. test first with thold0.8.6.g, next clean installation with thold0.8.6.f..
Mdk 10.2
php4.8.3
RRDtool 1.0.49
Somebody can help me?
Thanks..
Kanada
I use cacti0.8.6.g.. test first with thold0.8.6.g, next clean installation with thold0.8.6.f..
Mdk 10.2
php4.8.3
RRDtool 1.0.49
Somebody can help me?
Thanks..
Kanada
I have now released v0.2.7 of the Thold Plugin. Here is the changelog.
- * Fixes for "are you sure you meant month 899" errors
* Fixes for table tholdset being empty causes poller to not function
* Resolved issue with Base URL auto generation pointing to the plugin directory
* Code Cleanup of Threshold Management Page
* "Instructions" rewording on Threshold Management Page
* Can now select multiple Thresholds to delete
* Orphan thresholds are now cleaned up automatically
* Fixed Guest account access to View Thresholds
Who is online
Users browsing this forum: No registered users and 1 guest