Cacti 0.8.7g General Plugins problem With PA 2.8

General discussion about Plugins for Cacti

Moderators: Developers, Moderators

Post Reply
Djiguidjik
Posts: 35
Joined: Tue Sep 29, 2009 4:36 am

Cacti 0.8.7g General Plugins problem With PA 2.8

Post by Djiguidjik »

Hi!

I've Ubuntu (9.04 and 11.04) with Cacti 0.8.7g installed (on both) and I've a question about the plugins...I've installed PA version 2.8 without any problems but everytime I want to install a plugin I can't install the latest version... For example the monitor plugin works only in version 0.8.2 and not in the last one or even the one before that...Same for the discovery plugin. If i install the latest version (1.1) it doesn't work but with version 0.8.5 i have the discovery tab.... It's wierd...Is there anything more to do with the plugins with PA2.8 ??? I've enclosed a screenshot of my cacti so you can see the version.

And what i mean by "it doesn't work" is that I don't have the discovery or monitor tab and in the "plugin management" the plugins aren't listed when i put them in the last version....

Thanks for any help!
Attachments
Screen.png
Screen.png (77.05 KiB) Viewed 3254 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cacti 0.8.7g General Plugins problem With PA 2.8

Post by gandalf »

Did you set the url_path in include/config.php?
R.
Djiguidjik
Posts: 35
Joined: Tue Sep 29, 2009 4:36 am

Re: Cacti 0.8.7g General Plugins problem With PA 2.8

Post by Djiguidjik »

As you can see in the Screenshot I've configured the path in the include/config.php...

For example if I replace the "monitor" directory with the new version (keep the same path but just put the newest version in the plugins directory) than it's like the plugin isn't installed, I can't see it in the settings and only if i put the previous version it's working....
Attachments
config.php.jpg
config.php.jpg (70.44 KiB) Viewed 3233 times
User avatar
gandalf
Developer
Posts: 22383
Joined: Thu Dec 02, 2004 2:46 am
Location: Muenster, Germany
Contact:

Re: Cacti 0.8.7g General Plugins problem With PA 2.8

Post by gandalf »

Please comment the "$plugin" statements for all plugins using the "new PIA" interface.
R.
Djiguidjik
Posts: 35
Joined: Tue Sep 29, 2009 4:36 am

Re: Cacti 0.8.7g General Plugins problem With PA 2.8

Post by Djiguidjik »

Thanks Gandalf !

Yep, I've deleted the "$plugin" in the config.php and installed them directly from the Web Interface in the "plugin management" tab (See the Screenshot).

Thanks :)!
Attachments
New PA.png
New PA.png (42.41 KiB) Viewed 3222 times
unk
Posts: 6
Joined: Tue Jun 07, 2011 7:22 am

Re: Cacti 0.8.7g General Plugins problem With PA 2.8

Post by unk »

Hi!

I have problem with Monitor V.1.2 with Plugin Architecture Version: 2.8.
The monitor plugin screen is white when i have installed and activated the plugin in the PA.

The thing that i believe is a problem is the router config plugin that has ('taken') a row in the 'host' table.
I get this error when trying to import monitor.sql: "#1060 - Duplicate column name 'monitor'"
stefanb89
Cacti User
Posts: 84
Joined: Thu Feb 03, 2011 5:41 am
Location: Germany

Re: Cacti 0.8.7g General Plugins problem With PA 2.8

Post by stefanb89 »

did u enabled monitor and so on in the usersettings and normla settings? might be the problem.
Cacti: 0.8.7g
PIA: 2.8
rrdtool: 1.2.x
Plugins: Realtime, RRDcleaner
unk
Posts: 6
Joined: Tue Jun 07, 2011 7:22 am

Re: Cacti 0.8.7g General Plugins problem With PA 2.8

Post by unk »

stefanb89 wrote:did u enabled monitor and so on in the usersettings and normla settings? might be the problem.
Yes. The plugin is enabled @ the PA also in Configurations -> Misc -> It is alive there with default settings. White page.
The thing is the .sql includation, not sure how to go further. Could i just delete the entry in the MYSQLdb?
stefanb89
Cacti User
Posts: 84
Joined: Thu Feb 03, 2011 5:41 am
Location: Germany

Re: Cacti 0.8.7g General Plugins problem With PA 2.8

Post by stefanb89 »

can u make a screen and mb what is in the httpd/logs/error.logs ?

or didn't u only clicked the Monitor Host button under the devices?

do not understand what problem u have with the sql ? u did not needed to include any sql for this plugin in my memorie , just for the pia 2.8 installation.
Cacti: 0.8.7g
PIA: 2.8
rrdtool: 1.2.x
Plugins: Realtime, RRDcleaner
unk
Posts: 6
Joined: Tue Jun 07, 2011 7:22 am

Re: Cacti 0.8.7g General Plugins problem With PA 2.8

Post by unk »

Image

When i click on the tab, i get white screen.
Im not sure exactely what logs i should watch. I cannot see anything wrong with cacti log.
But i recieve this error when do:

"root@cacti:/var/www/cacti/plugins/monitor# php monitor.php
PHP Fatal error: Cannot redeclare tree_tier() (previously declared in /var/www/cacti/plugins/monitor/monitor.php:1006) in /var/www/cacti/lib/tree.php on line 66
"
User avatar
TheWitness
Developer
Posts: 17007
Joined: Tue May 14, 2002 5:08 pm
Location: MI, USA
Contact:

Re: Cacti 0.8.7g General Plugins problem With PA 2.8

Post by 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?
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest