does thold work in 8.8a?

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
vmos
Posts: 1
Joined: Wed Oct 10, 2012 3:45 am

does thold work in 8.8a?

Post by vmos »

Good morning, I've got cacti 8.8a (upgraded from .8.7i) on ubuntu 12.04 and I'm getting a whole bunch of errors when I try thold


[Wed Oct 10 10:01:29 2012] [error] [client #####] PHP Warning: include_once(./include/auth.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins/thold/thold_graph.php on line 29
[Wed Oct 10 10:01:29 2012] [error] [client #####] PHP Warning: include_once(): Failed opening './include/auth.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/thold/thold_graph.php on line 29
[Wed Oct 10 10:01:29 2012] [error] [client #####] PHP Notice: Undefined variable: config in /usr/local/share/cacti/plugins/thold/thold_graph.php on line 31
[Wed Oct 10 10:01:29 2012] [error] [client #####] PHP Fatal error: Call to undefined function read_config_option() in /usr/local/share/cacti/plugins/thold/thold_functions.php on line 149

Is thold incompatible with 8.8 or am I just doing something daft?
User avatar
_raindrop18
Cacti User
Posts: 194
Joined: Thu Jan 29, 2009 5:52 pm
Location: US

Re: does thold work in 8.8a?

Post by _raindrop18 »

yes, it does work except sending email when the threshold breach. that's the only issue I have so far.
KaktusAnv
Posts: 1
Joined: Thu Feb 14, 2013 7:24 am

Re: does thold work in 8.8a?

Post by KaktusAnv »

Hi.

I'm having the same problem so I'm not so sure it works :-/ ???.

Error.log shows:

root@ubuntu:/var/log/apache2# tail error.log
[Thu Feb 14 13:15:23 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: config in /usr/local/share/cacti/plugins/thold/thold_graph.php on line 31, referer: http://localhost/cacti/plugins.php
[Thu Feb 14 13:15:23 2013] [error] [client 127.0.0.1] PHP Warning: include_once(/plugins/thold/thold_functions.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins/thold/thold_graph.php on line 31, referer: http://localhost/cacti/plugins.php
[Thu Feb 14 13:15:23 2013] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening '/plugins/thold/thold_functions.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/thold/thold_graph.php on line 31, referer: http://localhost/cacti/plugins.php
[Thu Feb 14 13:15:23 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: config in /usr/local/share/cacti/plugins/thold/thold_graph.php on line 32, referer: http://localhost/cacti/plugins.php
[Thu Feb 14 13:15:23 2013] [error] [client 127.0.0.1] PHP Warning: include_once(/plugins/thold/setup.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins/thold/thold_graph.php on line 32, referer: http://localhost/cacti/plugins.php
[Thu Feb 14 13:15:23 2013] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening '/plugins/thold/setup.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/thold/thold_graph.php on line 32, referer: http://localhost/cacti/plugins.php
[Thu Feb 14 13:15:23 2013] [error] [client 127.0.0.1] PHP Notice: Undefined variable: config in /usr/local/share/cacti/plugins/thold/thold_graph.php on line 33, referer: http://localhost/cacti/plugins.php
[Thu Feb 14 13:15:23 2013] [error] [client 127.0.0.1] PHP Warning: include_once(/plugins/thold/includes/database.php): failed to open stream: No such file or directory in /usr/local/share/cacti/plugins/thold/thold_graph.php on line 33, referer: http://localhost/cacti/plugins.php
[Thu Feb 14 13:15:23 2013] [error] [client 127.0.0.1] PHP Warning: include_once(): Failed opening '/plugins/thold/includes/database.php' for inclusion (include_path='.') in /usr/local/share/cacti/plugins/thold/thold_graph.php on line 33, referer: http://localhost/cacti/plugins.php
[Thu Feb 14 13:15:23 2013] [error] [client 127.0.0.1] PHP Fatal error: Call to undefined function thold_initialize_rusage() in /usr/local/share/cacti/plugins/thold/thold_graph.php on line 37, referer: http://localhost/cacti/plugins.php

The result is that when clicking on thold tab I get a blank screen.

Any thoughts on why this is ???.

Regards Thomas.
warnox
Posts: 22
Joined: Thu Feb 06, 2014 2:16 pm

Re: does thold work in 8.8a?

Post by warnox »

Yep, this is exactly what I'm getting. Made a new post regarding this before I stumbled upon this.

Anyone found a solution?
warnox
Posts: 22
Joined: Thu Feb 06, 2014 2:16 pm

Re: does thold work in 8.8a?

Post by warnox »

The 'blank page' issue seems to be present with any plugging I install. I've tried the following.

1. Installing 0.8.8a directly (without an upgrade from 0.8.7) - Ubuntu 12.04
2. Installing 0.8.8b directly on Ubuntu 12.04
3. Installing 0.8.8a directly on Ubuntu 12.10
4. Extracting the plugin files to either '/usr/local/share/cacti/plugins/' or '/usr/share/cacti/site/plugins/'

It's as if I'm missing something but not quite sure what. The /var/log/apache2/error.log file always comes up with a PHP Fatal Error, but a different function for each plugin/link.

Code: Select all

PHP Fatal error:  Call to undefined function thold_initialize_rusage() in /usr/local/share/cacti/plugins/thold/thold_graph.php on line 37, referer: http://10.44.10.194/cacti/plugins.php
PHP Fatal error:  Call to undefined function get_graph_tree_array() in /usr/local/share/cacti/plugins/monitor/monitor.php on line 814, referer: http://10.44.10.194/cacti/plugins.php
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests