Thold can't display current value and fail to triger alert message

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
AndyHHLin
Posts: 1
Joined: Sun Jul 18, 2021 8:41 pm

Thold can't display current value and fail to triger alert message

Post by AndyHHLin »

Hi,on My Ubuntu 22.04 , Cacti 1.2.22 , PHP 7.4 , mariadb 10.6.7, Thold 1.5.2 . The current vaule did'nt displayed as attach screenshots.
The log message as below:
2022-08-29 11:00:22 - CMDPHP SQL Backtrace: (/poller.php[698]:process_poller_output(), /lib/poller.php[589]:api_plugin_hook_function(), /lib/plugins.php[149]:api_plugin_run_plugin_hook_function(), /lib/plugins.php[266]:thold_poller_output(), /plugins/thold/includes/polling.php[319]:db_fetch_assoc(), /lib/database.php[593]:db_fetch_assoc_prepared(), /lib/database.php[613]:db_execute_prepared())
2022-08-29 11:00:22 - CMDPHP ERROR: A DB Row Failed!, Error: Unknown column 'thold_daemon_pid' in 'where clause'
2022-08-29 11:00:22 - CMDPHP SQL Backtrace: (/poller.php[698]:process_poller_output(), /lib/poller.php[589]:api_plugin_hook_function(), /lib/plugins.php[149]:api_plugin_run_plugin_hook_function(), /lib/plugins.php[266]:thold_poller_output(), /plugins/thold/includes/polling.php[319]:db_fetch_assoc(), /lib/database.php[593]:db_fetch_assoc_prepared(), /lib/database.php[613]:db_execute_prepared())
2022-08-29 11:00:22 - CMDPHP ERROR: A DB Row Failed!, Error: Unknown column 'thold_daemon_pid' in 'where clause'

Have any suggestion ? Thanks a lot !!
Attachments
thold-2.png
thold-2.png (144.75 KiB) Viewed 3820 times
thold-1.png
thold-1.png (175.87 KiB) Viewed 3820 times
mrossTTX
Cacti User
Posts: 114
Joined: Wed Dec 07, 2022 12:49 pm

Re: Thold can't display current value and fail to triger alert message

Post by mrossTTX »

im having this same issue on my recent version .. driving me nuts
mrossTTX
Cacti User
Posts: 114
Joined: Wed Dec 07, 2022 12:49 pm

Re: Thold can't display current value and fail to triger alert message

Post by mrossTTX »

i no sooner post my reply to you and my threshold suddenly sees the current value.. however, no email gets sent.. still thinks its triggered when its a normal value
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Thold can't display current value and fail to triger alert message

Post by TheWitness »

Restart your thold daemon ASAP. There was a change made with 1.6 to stop using that column and drop it's usage, but if you don't restart the thold daemon, you will get this error.
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?
Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests