thold plugin 0.4.6 screenshots

Support questions about the Threshold plugin

Moderators: Developers, Moderators

User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: thold plugin 0.4.6 screenshots

Post by TheWitness »

uhtred wrote:log i.e.:
11/02/2011 03:13:18 PM - THOLD: Threshold Breached ID: 379 DataTemplate: Interface - Status DataSource: intf_1min_status Type: Time Based Enabled: on Current: 2 High: 1.9 Low: Trigger: 1 Time: 10 Minutes Warning High: 1.9 Warning Low: Warning Trigger: 1 Warning Time: 10 Minutes SentTo: me@you.com

11/02/2011 03:24:07 PM - THOLD: Threshold Breached ID: 379 DataTemplate: Interface - Status DataSource: intf_1min_status Type: Time Based Enabled: on Current: 1 High: 1.9 Low: Trigger: 1 Time: 10 Minutes Warning High: 1.9 Warning Low: Warning Trigger: 1 Warning Time: 10 Minutes SentTo:
From this, it appears that the resotral e-mail address was blank. Let me check that.
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?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: thold plugin 0.4.6 screenshots

Post by TheWitness »

Fixed in SVN 1955
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?
skatter
Cacti User
Posts: 153
Joined: Fri Oct 22, 2004 2:55 am
Contact:

Re: thold plugin 0.4.6 screenshots

Post by skatter »

pmacct wrote:
TheWitness wrote:There is something definitely wrong with your install then. I can't help you I guess.
The issue was caused because the use of TYPE = MyISAM is deprecated and obsolete in mysql 5.5.15. Instead the ENGINE keyword should be used. Thold was using the api_plugin_db_table_create function, which is declared in lib/plugins.php. I had to replace line 181 from lib/plugins.php :

$sql .= ') TYPE = ' . $data['type'];

with

$sql .= ') ENGINE = ' . $data['type'];


It seems to work fine now. Thanks for this wonderfull plugin.

This issue is affecting all the plugins that use the api_plugin_db_table_create function, maybe there should be a patch applied for this. I'm using version 0.8.7g with all official patches, I don't know if this was changed in the latest 0.8.7h.
Thank you for your help, this fixed my problem.
skatter
colthe
Posts: 27
Joined: Mon Feb 18, 2008 6:24 am

Re: thold plugin 0.4.6 screenshots

Post by colthe »

|query_ifSpeed| query the connection speed but not interface speed, example your port is 1G but up for 100M connection, so the query ifSpeed equal 100M, another thing, if you use the cisco IOS command "bandwidth" to specify rate and the interface is virtual port you will get the specify rate.
Post Reply

Who is online

Users browsing this forum: No registered users and 6 guests