Thresholding / Alerting Plugin - Official Q/A Thread
Moderators: Developers, Moderators
Re: Thresholding / Alerting Plugin - Official Q/A Thread
Hi. Help me anyone!
I try to use baseline threshold and THOLD plugin move only to warning state, not alert.
In my test the threshold in permanent warning state. What i must do? Thanks.
I try to use baseline threshold and THOLD plugin move only to warning state, not alert.
In my test the threshold in permanent warning state. What i must do? Thanks.
Re: Thresholding / Alerting Plugin - Official Q/A Thread
noname wrote:As a workaround, try to modify 'plugins/thold/thold_functions.php'.Skyla wrote:In investigating, it is pulling the thresholdname from the data_template_data table and using the cache name which is the data source name and not pulling the threshold name from the thold_data. This makes it hard to identify which threshold is sending the notification without looking at the threshold list to see which one has been triggered.
I have found that if I go to the data source option and add the extra information into that name it reports as I expect but it would be more convenient if the thresholdname parameter actually used the name from the threshold setup page.
(I'm using thold-0.4.4-41, but not fully tested)
At line 527:At line 561, 592, 631, 649, 694, 622:$thold_alert_text = str_replace('<THRESHOLDNAME>', $desc, $thold_alert_text);
to
$thold_alert_text = str_replace('<THRESHOLDNAME>', $item['name'], $thold_alert_text);* If you want to know particular datasource name which was triggered, leave "($thold_show_datasource ...)".$subject = $desc . ($thold_show_datasource ? " [$name]" : '') . ...
to
$subject = $item['name'] . ...
Thanks worked out great
Re: Thresholding / Alerting Plugin - Official Q/A Thread
It seems that baseline monitoring doesn't change to Alarm state.akaevgen wrote: I try to use baseline threshold and THOLD plugin move only to warning state, not alert.
In my test the threshold in permanent warning state. What i must do? Thanks.
Probably it shows one of them:
- Warning = Breached and Triggered
- Notice = Breached, but not yet reached "Trigger Count"
- Ok = Normal
- and Disabled
Re: Thresholding / Alerting Plugin - Official Q/A Thread
Hi
im new in Cacti. i have a simple question
if i create 1 threshold template can i use to many devices / group of devices ?
let say i want to create Bandwith utilization of 90 % . can i apply the template to 10 or more interface / link ?
Thx u
im new in Cacti. i have a simple question
if i create 1 threshold template can i use to many devices / group of devices ?
let say i want to create Bandwith utilization of 90 % . can i apply the template to 10 or more interface / link ?
Thx u
- TheWitness
- Developer
- Posts: 17007
- Joined: Tue May 14, 2002 5:08 pm
- Location: MI, USA
- Contact:
Re: Thresholding / Alerting Plugin - Official Q/A Thread
'Warning' is actually 'Baseline Alarm'. I've corrected in SVN. We will be releasing 0.4.4 officially shortly.noname wrote:It seems that baseline monitoring doesn't change to Alarm state.akaevgen wrote: I try to use baseline threshold and THOLD plugin move only to warning state, not alert.
In my test the threshold in permanent warning state. What i must do? Thanks.
Probably it shows one of them:
- Warning = Breached and Triggered
- Notice = Breached, but not yet reached "Trigger Count"
- Ok = Normal
- and Disabled
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?
Re: Thresholding / Alerting Plugin - Official Q/A Thread
Hi (sorry for my bad english ),
I've just installing Thold plugin for cacti and I was having a problem:
When the thold plugin is installed : settings.php show me "Fatal error: Call to undefined function define_syslog_variables() in [...]/cacti/plugins/thold/includes/settings.php on line 132"
the function "define_syslog_variables" seems to be obsolete (and deleted in php 5.4) see: http://www.php.net/manual/en/function.d ... iables.php
I don't know if you can update the plugin in order to fix the problem? (I've just comment the line and it seems to work perfectly)
I've just installing Thold plugin for cacti and I was having a problem:
When the thold plugin is installed : settings.php show me "Fatal error: Call to undefined function define_syslog_variables() in [...]/cacti/plugins/thold/includes/settings.php on line 132"
the function "define_syslog_variables" seems to be obsolete (and deleted in php 5.4) see: http://www.php.net/manual/en/function.d ... iables.php
I don't know if you can update the plugin in order to fix the problem? (I've just comment the line and it seems to work perfectly)
Re: Thresholding / Alerting Plugin - Official Q/A Thread
Hi together,
first - great plugin.
For me nearly everything works fine. I have done many tests. Finally I found one problem but I do not see a solution.
I have created different "Threshold Templates", e.g.
+ Cisco Router - 5 Minute CPU [5min_cpu]
+ Cisco Router - SAA [lossSD]
The problem is that when I try to "Apply Thresholds" under the "devices" section, it works with "Cisco Router - 5 Minute CPU [5min_cpu]", but it does not work with "Cisco Router - SAA [lossSD]". I do not get an error message nor do I see an indicatioin why it does not work.
Strange is that it is possible to create the "Cisco Router - SAA [lossSD] threshold" manually using "Threshold => Add". It is also listed afterwards when I go to the Threshold "Top Tab". Strange is that the newly created threshold shows a 0 ID when checking the graph icon: "https://x.x.x.x/CACTI/graph.php?local_graph_id=0&rra_id=all".
This only happens with the SAA:
http://forums.cacti.net/viewtopic.php?f=12&t=4136
Would be great if somebody has got an idea.
BR
Benjamin
first - great plugin.
For me nearly everything works fine. I have done many tests. Finally I found one problem but I do not see a solution.
I have created different "Threshold Templates", e.g.
+ Cisco Router - 5 Minute CPU [5min_cpu]
+ Cisco Router - SAA [lossSD]
The problem is that when I try to "Apply Thresholds" under the "devices" section, it works with "Cisco Router - 5 Minute CPU [5min_cpu]", but it does not work with "Cisco Router - SAA [lossSD]". I do not get an error message nor do I see an indicatioin why it does not work.
Strange is that it is possible to create the "Cisco Router - SAA [lossSD] threshold" manually using "Threshold => Add". It is also listed afterwards when I go to the Threshold "Top Tab". Strange is that the newly created threshold shows a 0 ID when checking the graph icon: "https://x.x.x.x/CACTI/graph.php?local_graph_id=0&rra_id=all".
This only happens with the SAA:
http://forums.cacti.net/viewtopic.php?f=12&t=4136
Would be great if somebody has got an idea.
BR
Benjamin
Re:
================dennis00 wrote:Installed... yet... a question... it says: "Data Source Item [traffic_in] - Current value: [38128.5867]".
What does this actually mean? I want to get a mail when my switch (port 24) is doing 30mbit+ for more than 2 hours...
Yet I have no idea how to set up the treshhold and what "38128.5867" means.
Hi!
I had the same problem and asked myself what number is used. But after checking the XML i remembered that traffic is gathered in Bytes and not Bits.
This means:
The interface statistics are done in Bytes. This means that you have to translate into Bits.
30 Mbps = 30.000.000 Bps
30.000.000 / 8 = 3750000
So 3750000 is the value you have to enter into the tool as high threshold.
Hope, this helped.
BR
Benjamin
Thold how to avoid trigger on wrong numbers?
Hi together,
I have the following problem.
For some reason Cisco ASAs report the wrong CPU value sometimes.
Example:
DEVICENAME DEVICENAME - 5 Minute CPU [asa5min_cpu] 2013-03-17 05:17:03 80 4294925 Alarm High/Low ALERT: DEVICENAME - 5 Minute CPU [asa5min_cpu] [asa5min_cpu] went above threshold of 80 with 4294925
When taking a look at the cacti graphs aftwarwards a gap is shown because cacti only graphs values up to "100".
I assume that "Threshold" gets the data before it goes to the graphs.
Do you have an idea how this problem could be solved?
Maybe it is possible to ignore values above 100 somehow?
BR
Benjamin
I have the following problem.
For some reason Cisco ASAs report the wrong CPU value sometimes.
Example:
DEVICENAME DEVICENAME - 5 Minute CPU [asa5min_cpu] 2013-03-17 05:17:03 80 4294925 Alarm High/Low ALERT: DEVICENAME - 5 Minute CPU [asa5min_cpu] [asa5min_cpu] went above threshold of 80 with 4294925
When taking a look at the cacti graphs aftwarwards a gap is shown because cacti only graphs values up to "100".
I assume that "Threshold" gets the data before it goes to the graphs.
Do you have an idea how this problem could be solved?
Maybe it is possible to ignore values above 100 somehow?
BR
Benjamin
Re: Thresholding / Alerting Plugin - Official Q/A Thread
Hi, did you ever figure this out? I am having the same exact situation here.blugger wrote:Hi together,
first - great plugin.
For me nearly everything works fine. I have done many tests. Finally I found one problem but I do not see a solution.
I have created different "Threshold Templates", e.g.
+ Cisco Router - 5 Minute CPU [5min_cpu]
+ Cisco Router - SAA [lossSD]
The problem is that when I try to "Apply Thresholds" under the "devices" section, it works with "Cisco Router - 5 Minute CPU [5min_cpu]", but it does not work with "Cisco Router - SAA [lossSD]". I do not get an error message nor do I see an indicatioin why it does not work.
Strange is that it is possible to create the "Cisco Router - SAA [lossSD] threshold" manually using "Threshold => Add". It is also listed afterwards when I go to the Threshold "Top Tab". Strange is that the newly created threshold shows a 0 ID when checking the graph icon: "https://x.x.x.x/CACTI/graph.php?local_graph_id=0&rra_id=all".
This only happens with the SAA:
http://forums.cacti.net/viewtopic.php?f=12&t=4136
Would be great if somebody has got an idea.
BR
Benjamin
/Ole
Re: Thresholding / Alerting Plugin - Official Q/A Thread
New Cacti user here, trying to install this Thold plugin, but finding all of the cactiusers.org links redirecting to blog.cactiusers.org, which doesn't seem to have any of the info I need...
I just need the instructions for installing the Plugin Architecture, the Settings Plugin, and the Thold plugin, but all of this data was apparently only stored in the Cactiusers Wiki, which apparently no longer exists! Help!
EDIT: Okay, I was able to get my hands on the documentation through the Wayback Machine, but I've hit a brick wall on the plugin architecture installation. I am going to try to update to a backport of 0.8.8a (I'm running Ubuntu Precise 12.04) and I'll post to the Plugin Architecture forum if I need further help. Sorry if this was the wrong place for this-- you can return to your regularly scheduled program now. Thanks!
Regards,
Jon Heese
I just need the instructions for installing the Plugin Architecture, the Settings Plugin, and the Thold plugin, but all of this data was apparently only stored in the Cactiusers Wiki, which apparently no longer exists! Help!
EDIT: Okay, I was able to get my hands on the documentation through the Wayback Machine, but I've hit a brick wall on the plugin architecture installation. I am going to try to update to a backport of 0.8.8a (I'm running Ubuntu Precise 12.04) and I'll post to the Plugin Architecture forum if I need further help. Sorry if this was the wrong place for this-- you can return to your regularly scheduled program now. Thanks!
Regards,
Jon Heese
Re: Thresholding / Alerting Plugin - Official Q/A Thread
im trying to download the plugin but the link is broken is there any other way to get these files?
Re: Thresholding / Alerting Plugin - Official Q/A Thread
What link? The official page seems to work just fine.cesarje wrote:im trying to download the plugin but the link is broken is there any other way to get these files?
http://docs.cacti.net/plugin:thold
Re: Thresholding / Alerting Plugin - Official Q/A Thread
this one: http://download.cactiusers.org/downloads/thold.tar.gz,cigamit wrote:What link? The official page seems to work just fine.cesarje wrote:im trying to download the plugin but the link is broken is there any other way to get these files?
http://docs.cacti.net/plugin:thold
but anyway, already got this thold working , now im stucked with my syslogs, im new in this world of linux so im learning, but thanks for your response
Re: Thresholding / Alerting Plugin - Official Q/A Thread
Does this not work with Cacti 0.8.7e?
Thats what I have, plus Settings 0.71 and thold 0.5.
I want to create a thold for some ports for our isp's if they go maxed out to detect ddos attempts.
However when I fill out the information and click save, it says record updated and then all the values disappear. Then if I click threshholds on the left side, it shows No rows found / No Thresholds. So its not taking.
Thats what I have, plus Settings 0.71 and thold 0.5.
I want to create a thold for some ports for our isp's if they go maxed out to detect ddos attempts.
However when I fill out the information and click save, it says record updated and then all the values disappear. Then if I click threshholds on the left side, it shows No rows found / No Thresholds. So its not taking.
Who is online
Users browsing this forum: No registered users and 0 guests