Added threshold but no enabled threshold in thold

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
adjuan
Posts: 1
Joined: Wed Jan 27, 2010 9:20 pm

Added threshold but no enabled threshold in thold

Post by adjuan »

i have this problem when i want to add a new threshold, when i click Save. It appears Record updated, but it seems like not in the threshold database because when i check threshold, the threshold i just added is not there.

checked cacti log, found this error

CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'1364', SQL:"INSERT INTO plugin_db_changes (plugin, `table`, method) VALUES ('thold', 'plugin_thold_log', 'create')'

anyone can help??
cosmin
Posts: 22
Joined: Mon Mar 16, 2009 7:13 am

Post by cosmin »

I'm getting something like that also,

02/02/2010 09:36:28 AM - CMDPHP: Poller[0] ERROR: A DB Exec Failed!, Error:'145', SQL:"UPDATE thold_data SET tcheck = 0'

And after i add a thresholt to a graph, it does not apear in the Threshold TAB.
gdieudonne
Posts: 6
Joined: Mon Apr 12, 2010 7:50 am

Same here

Post by gdieudonne »

Any help would be much appreciated.
zeki
Cacti User
Posts: 92
Joined: Fri Feb 09, 2007 10:55 pm
Location: So. Cal
Contact:

Post by zeki »

make sure you have settings plugin installed and added in includes/global.php
also go to admin user and enable plugin management
go to plugin management and install then enable thold plugin
http://www.krypt.com/
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

MySQL error code 145 = Table was marked as crashed and should be repaired
You should run the repair_database.php script in the cli directory.

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?
gdieudonne
Posts: 6
Joined: Mon Apr 12, 2010 7:50 am

Post by gdieudonne »

I have only one 'error' left.
When I try to add a threshold, it says 'record updated' but still no threshold is created (the thold_data database is not filled in).

Again, I don't know how to debug it.
Could anyone help me with this?
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Post by TheWitness »

Cacti log?

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?
gdieudonne
Posts: 6
Joined: Mon Apr 12, 2010 7:50 am

Post by gdieudonne »

gdieudonne wrote:I have only one 'error' left.
When I try to add a threshold, it says 'record updated' but still no threshold is created (the thold_data database is not filled in).

Again, I don't know how to debug it.
Could anyone help me with this?
OK,

I finally got it working.
I changed the MySQL Mode to MYSQL40.
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest