thold installation problem

Support questions about the Threshold plugin

Moderators: Developers, Moderators

Post Reply
marcofera
Posts: 4
Joined: Wed Nov 02, 2011 10:12 am

thold installation problem

Post by marcofera »

Hi all, I've got a problem with thold.
I use red hat 5.6, cacti 0.8.7h, PA 3.0, settings 0.711 and thold 0.4.8
The installation runs fine, but when I activate the plugin and go to the thold tab it becomes "text only" see attachments.
Do you have any suggesion?
The first error is related to the thold tab, the second one is related to the "threshold" element in the left menu.

thold error.png
thold error.png (34.93 KiB) Viewed 1715 times
thold error 2.png
thold error 2.png (51.83 KiB) Viewed 1715 times
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: thold installation problem

Post by TheWitness »

config.php includes a variable '$url_path'. It's generally set to '/cacti/'.

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?
marcofera
Posts: 4
Joined: Wed Nov 02, 2011 10:12 am

Re: thold installation problem

Post by marcofera »

I added it, restarted httpd, but nothing has changed.
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: thold installation problem

Post by TheWitness »

You have an installation problem. You need to find the root of the problem. When you do the problem will resolve itself.
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?
marcofera
Posts: 4
Joined: Wed Nov 02, 2011 10:12 am

Re: thold installation problem

Post by marcofera »

Can you suggest a combination of releases of cacti, PA and thold (I can't change distro) that are proven to be free of such bugs? since the problem is only with thold what do you suggest to concentrate on in order to find the problem?
User avatar
TheWitness
Developer
Posts: 17047
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: thold installation problem

Post by TheWitness »

You need to be running 0.8.7g and PIA2.9 to have the best experience.
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?
carock
Posts: 5
Joined: Wed Jan 14, 2004 11:47 am
Location: St. Charles, MO
Contact:

Re: thold installation problem

Post by carock »

I had the same problem, so I started going through all the pre-patched files and ran a diff command to the one's I am running.

I only found a few differences, nothing that fixed it until I did the diff on the public_html/include/config.php

The plugin-architecture version 3.0 I also installed with the thold upgrade has a file called config.php.dist

So if you just copy the pre-patched files, you don't actually overwrite your running config.php with the change.

The diff command showed the $url_path was not in the running config file.

I copied the lines from the plug-in architecture cacti-plugin-arch/files/include/config.php.dist with that into my existing public_html/include/config.php

That fixed the display path problems within the thold plugin.

The lines added are...

/*
Edit this to point to the default URL of your Cacti install
ex: if your cacti install as at http://serverip/cacti/ this
would be set to /cacti/
*/
$url_path = "/";
marcofera
Posts: 4
Joined: Wed Nov 02, 2011 10:12 am

Re: thold installation problem

Post by marcofera »

Ok thanks yesterday I fixed the problem by applying all the patches prior to the PA installation.
Post Reply

Who is online

Users browsing this forum: No registered users and 2 guests