Thold 2.x - Thresholding/Alerting module for cacti 8.6
Moderators: Developers, Moderators
Re: too high values for traffic graph
can somebody help me? http://forums.cacti.net/viewtopic.php?p ... hold#35696ChupaMe wrote:i have a strange problem with thold. it shows me too high values for traffic graphs. all other things are working(cpu, hdd used etc.)
See the attached screenshot. I think the Current value should be something like 1800000
What can i do?
cacti0.8.6c
-
- Posts: 49
- Joined: Fri Mar 18, 2005 7:33 am
- Location: France
changing email program
Hi all, i want to change the php mail that use cacti with a program that run more 'perfectly' under windows : BLAT.
Have one of you using this kind of software because, i try to change the settings in php.ini but fails.
Helps will be great.
thanks
Version used :
Apache 2.053 - Mysql 4.1.10a - rdtool 1.0.49 - Cacti 0.8.6.c - PHP 5.03 - netsnmp 5.2.1.1 - windows 2000-sp4.
Have one of you using this kind of software because, i try to change the settings in php.ini but fails.
Helps will be great.
thanks
Version used :
Apache 2.053 - Mysql 4.1.10a - rdtool 1.0.49 - Cacti 0.8.6.c - PHP 5.03 - netsnmp 5.2.1.1 - windows 2000-sp4.
SuSe and thold
hello all,
I'm trying to install a fresh instalation of cacti 0.8.6e on a new Suse server.
Every time i try to install thold it's ocour that this app is asking for mysql
headers. I've installed a previous version of cacti on another machine also Suse without any problems.
Can someone explain me how to get this working ?
I'm trying to install a fresh instalation of cacti 0.8.6e on a new Suse server.
Every time i try to install thold it's ocour that this app is asking for mysql
headers. I've installed a previous version of cacti on another machine also Suse without any problems.
Can someone explain me how to get this working ?
Help me please
Hi,
I am getting this error after installation
Notice: Undefined offset: 0 in /opt/apache/2.0.50/cacti/lib/thold-functions.php on line 36
I am getting this error after installation
Notice: Undefined offset: 0 in /opt/apache/2.0.50/cacti/lib/thold-functions.php on line 36
Re: Help me please
i'm getting this error too, using cacti 0.8.6f.somulss wrote:Hi,
I am getting this error after installation
Notice: Undefined offset: 0 in /opt/apache/2.0.50/cacti/lib/thold-functions.php on line 36
Anyone got a solution for this problem?
I have too this problem
but for me the problem is not appear after the installation but later.
i have this message :
"Notice: Undefined offset: 0 in c:\inetpub\wwwroot\cacti\graph_thold.php on line 122"
this line appears each time i have a device in threshold. So if i have 10 devices in threshold, i have this line 10 times.
thanks a lot for your help
but for me the problem is not appear after the installation but later.
i have this message :
"Notice: Undefined offset: 0 in c:\inetpub\wwwroot\cacti\graph_thold.php on line 122"
this line appears each time i have a device in threshold. So if i have 10 devices in threshold, i have this line 10 times.
thanks a lot for your help
I have made a repackage which fixes some common bugs of Thold 2.1a including :
- max integer was 2147483647 (thold_lo, thold_hi and lastread were int instead of varchar(100))
- template import was broken for Cacti 0.8.6d
- misbehaviour of weekend exemption (worked sunday but not saturday)
- not alerting when polling was above threshold.
It is a "Thold 2.1b" of some sort, compiled from various comments found in this thread.
As I am not a maintainer of Thold, I'm not sure if I can post it. I use in on Debian Sarge with Cacti 0.8.6c (should work on 0.8.6d too).
- max integer was 2147483647 (thold_lo, thold_hi and lastread were int instead of varchar(100))
- template import was broken for Cacti 0.8.6d
- misbehaviour of weekend exemption (worked sunday but not saturday)
- not alerting when polling was above threshold.
It is a "Thold 2.1b" of some sort, compiled from various comments found in this thread.
As I am not a maintainer of Thold, I'm not sure if I can post it. I use in on Debian Sarge with Cacti 0.8.6c (should work on 0.8.6d too).
I monitor HTTP response times with Cacti. The numbers returned are quite small decimals and zero if the service times out. The service response times should be between 0 and 1, so the fact the threshold rounds numbers and doesn't store decimals means it won't work.
I could multiply the response times by 100, but I think that it would be good if threshold could handle decimals. With the varchar changes mentioned in the last post it just requires some changes to the round functions in thold-functions.php. I've replaced round($x) with round($x, 2) and it seems to be working.
I could multiply the response times by 100, but I think that it would be good if threshold could handle decimals. With the varchar changes mentioned in the last post it just requires some changes to the round functions in thold-functions.php. I've replaced round($x) with round($x, 2) and it seems to be working.
Errors with cacti 0.8.6f and thold2.1a
I am getting this error message when trying to go to the next page of 'devices':
Fatal error: Call to undefined function: sanitize_search_string() in /usr/local/share/cacti/host.php on line 665
It is complaining about this piece of code:
/* clean up search string */
if (isset($_REQUEST["filter"])) {
$_REQUEST["filter"] = sanitize_search_string(get_request_var("fi
lter"));
}
Which, it's right, there is no function called 'sanitize_search_string'.. I know this was not happening before I installed thold, so I am confused..
Can anyone help? Thanks.
Fatal error: Call to undefined function: sanitize_search_string() in /usr/local/share/cacti/host.php on line 665
It is complaining about this piece of code:
/* clean up search string */
if (isset($_REQUEST["filter"])) {
$_REQUEST["filter"] = sanitize_search_string(get_request_var("fi
lter"));
}
Which, it's right, there is no function called 'sanitize_search_string'.. I know this was not happening before I installed thold, so I am confused..
Can anyone help? Thanks.
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Replace your config.php with config.php.dist. Dont forget to make database changes.
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
-
- Posts: 49
- Joined: Fri Mar 18, 2005 7:33 am
- Location: France
same problem
The witness, i got the same problem"Fatal error: Call to undefined function: sanitize_search_string() in /usr/local/share/cacti/host.php on line 665
"
you speak about replaing the config.php from tha original cacti distrib, but the problem still.
any idea ?
what you mean about database change ?
"
you speak about replaing the config.php from tha original cacti distrib, but the problem still.
any idea ?
what you mean about database change ?
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Please note "sanitize_search_string" can be found in lib/functions.php on line 1643. Have you made any modifications to functions.php? Does you apache log have any other errors? Does functions.php compile successfully "php -l <cacti>/lib/functons.php"
TheWitness
TheWitness
True understanding begins only when we realize how little we truly understand...
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Life is an adventure, let yours begin with Cacti!
Author of dozens of Cacti plugins and customization's. Advocate of LAMP, MariaDB, IBM Spectrum LSF and the world of batch. Creator of IBM Spectrum RTM, author of quite a bit of unpublished work and most of Cacti's bugs.
_________________
Official Cacti Documentation
GitHub Repository with Supported Plugins
Percona Device Packages (no support)
Interesting Device Packages
For those wondering, I'm still here, but lost in the shadows. Yearning for less bugs. Who want's a Cacti 1.3/2.0? Streams anyone?
Who is online
Users browsing this forum: No registered users and 1 guest